28 Commits (086634ae7b38154f7360bb864d30a4b93ebb46e0)

Author SHA1 Message Date
Teo Mrnjavac 086634ae7b Nested partitions mode support in PartitionBarsView. 9 years ago
Teo Mrnjavac 051282d9bf Do the same in PartitionBarsView. 9 years ago
Teo Mrnjavac ddf4878ec7 Apply SelectionFilter in Partition{Labels,Bars}View. 9 years ago
Teo Mrnjavac 10c51528a9 Repaint viewport on selection change. 9 years ago
Teo Mrnjavac 1a48524a9a Repaint viewport on selection changed.
This issue wasn't noticeable earlier because every selection change
implied additional operations (in Replace) which used to trigger a
repaint at the right time for free. With this we make sure we get a
repaint.
9 years ago
Teo Mrnjavac 80d908e75b Document properly. 9 years ago
Teo Mrnjavac 08f9753aa2 Experimental: try to enforce a minimum partition size.
This breaks any hope of inline-resizing small partitions.
9 years ago
Teo Mrnjavac 7b66514bf5 Clean up debug spam. 9 years ago
Teo Mrnjavac 333214f7ca Finally fix selection. 9 years ago
Teo Mrnjavac f154a135d8 Test out awful hack to try to make selection work properly. 9 years ago
Teo Mrnjavac 3fc354284a Improve debug output. 9 years ago
Teo Mrnjavac 8acb70de5c Use currentIndex instead of selection. 9 years ago
Teo Mrnjavac 99a5ac8e4d Debug output. 9 years ago
Teo Mrnjavac fecb50779a Only paint selection and hover if selectionMode is not NoSelection. 9 years ago
Teo Mrnjavac 2f35aa1258 And selectionModel() better exist... 9 years ago
Teo Mrnjavac 584ca6da18 Rely on selectionModel() instead of currentIndex(). 9 years ago
Teo Mrnjavac 517f958616 Magic numbers for view height. 9 years ago
Teo Mrnjavac df9cec14f7 More arbitrary magic to try to fix all the pixels properly. 9 years ago
Teo Mrnjavac 9b60040bab Magic numbers. 9 years ago
Teo Mrnjavac a27a5496b7 Try a statically calculated selection margin. 9 years ago
Teo Mrnjavac 798a491296 Adjust padding. 9 years ago
Teo Mrnjavac 5aa8cd4a9b Use semitransparent overlay rounded rect for PBV selection. 9 years ago
Teo Mrnjavac 7c80f846f1 Add debug output. 9 years ago
Teo Mrnjavac c2cb367753 Remember QPersistentModelIndex rather than row for hover effect. 9 years ago
Teo Mrnjavac 36f30b1ede Support selection and better hover. 9 years ago
Teo Mrnjavac cc5520edda Add hover and click support to PartitionBarsView. 9 years ago
Teo Mrnjavac eed8d3b83b Split out Labels view from Bars view.
Both are QAbstractItemViews and can be used on top of a PartitionModel,
together or separately.
9 years ago
Teo Mrnjavac b65fe87503 PartitionPreview is now PartitionBarsView. 9 years ago