zhaladshar / AssetLedger

0 stars 0 forks source link

Refactor: Combine widget tree properties into one subclass #5

Open zhaladshar opened 8 years ago

zhaladshar commented 8 years ago

On widgets like the ProposalWidget and the APWidget, a number of QWidgetTrees are used that all have the same properties (same dimensions, headers hidden, no indentation). Can this be combined into a subclass with these as the defaults so that some of the redundancy can be reduced?

zhaladshar commented 8 years ago

Refactored the QTreeWidgets to use a subclass. Could probably do further work on it. But need to make sure it won't kill readability of code.