11 Commits

Author SHA1 Message Date
Nyall Dawson
3a578d6712 Header update 2024-08-13 20:28:55 +10:00
Nyall Dawson
a9d2d43a0e Also rename QgsRangeSlider fixed range size methods 2024-03-18 12:37:42 +10:00
Nyall Dawson
a91f5bf7c2 Add a fixed range width option to QgsRangeSlider
Allows forcing the widget to have a specific fixed range width,
so that interactions with the lower or upper slider automatically
force the other slider to move to keep a constant width
2024-03-18 12:37:42 +10:00
Denis Rouzaud
ba8a445850 run sipify 2021-03-22 21:13:52 +01:00
Nyall Dawson
62f751e103 Working key interaction
In horizontal mode left/right,pageup/pagedown changes active slider position
while up/down flips between selecting the upper, lower or range control

In vertical mode up/down/pageup/pagedown changes the active slider position
while left/right flips between the subcontrols
2020-11-26 13:11:00 +10:00
Nyall Dawson
b41a9a8441 Add step properties to widget 2020-11-26 13:11:00 +10:00
Nyall Dawson
20b0491c0f Rename inverted appearance methods to flippedDirection in order to
clarify that they aren't quite the same as their QSlider counterparts.
2020-11-26 13:11:00 +10:00
Nyall Dawson
c5e0513ba7 Fix size hints (sync with QSlider) 2020-11-26 13:11:00 +10:00
Nyall Dawson
2683a57142 Add alternative constructor 2020-11-26 13:11:00 +10:00
Nyall Dawson
f0cbbae2ae Port hover/pressed state handling from QSlider 2020-11-26 13:11:00 +10:00
Nyall Dawson
580ab84bf8 Add a dual handle range slider widget
This widget implements a slider which allows users to set a value
range, with a lower and upper value.
2020-11-26 13:11:00 +10:00