Commit Graph

550 Commits

Author SHA1 Message Date
FarmRadio Hangar 699bc77faa remove unnecessary friend declarations 2016-05-12 12:53:05 +03:00
FarmRadio Hangar 360b3023ec move SLIDER_MARGIN macro 2016-05-12 12:49:46 +03:00
FarmRadio Hangar af2cb36068 rename trackGeometry and thumbGeometry to *BoundingRect 2016-05-12 12:19:00 +03:00
FarmRadio Hangar 2b99ca9f90 fix weird bug when changing Slider from minValue to maxValue 2016-05-12 12:00:19 +03:00
FarmRadio Hangar 9d9a91cda6 move SliderPrivate::init() code to constructor 2016-05-12 11:53:33 +03:00
FarmRadio Hangar 2d2a4bc31f move Slider state machine to separate class 2016-05-12 11:39:17 +03:00
FarmRadio Hangar 41646d069c get rid of misleading trackColor property 2016-05-12 10:17:45 +03:00
laserpants 5a76f719b9 refactor slider a bit 2016-05-12 09:37:30 +03:00
Heikki Johannes Hildén f83a9608b0 Update README.md 2016-05-12 01:20:01 +03:00
laserpants 8e3d2b2c04 Merge branch 'master' of https://github.com/laserpants/qt-material-widgets 2016-05-12 01:19:11 +03:00
laserpants 7a9acce2d1 add theme class 2016-05-12 01:18:09 +03:00
Heikki Johannes Hildén ed622fc96d Update README.md 2016-05-11 22:11:50 +03:00
Heikki Johannes Hildén 47f77225c4 Update README.md 2016-05-11 21:38:03 +03:00
Heikki Johannes Hildén fa3239dec0 Update README.md 2016-05-11 21:24:03 +03:00
Heikki Johannes Hildén 7cf6e09b79 Update README.md 2016-05-11 21:13:57 +03:00
laserpants e17b6367b1 add property to change track width 2016-05-11 20:26:19 +03:00
laserpants be270caa5a add comment 2016-05-11 18:44:43 +03:00
laserpants 61c2364fbb move initialization code to private class 2016-05-11 18:34:17 +03:00
FarmRadio Hangar 4ef57f8d3a fix slider state machine issue 2016-05-11 17:23:17 +03:00
laserpants c17500ff37 tweak the slider even more 2016-05-11 09:09:19 +03:00
FarmRadio Hangar 0ef2d96318 make pageStepMode default false 2016-05-10 17:29:50 +03:00
FarmRadio Hangar d388183f84 tweak various slider settings 2016-05-10 17:17:51 +03:00
laserpants e19f8b4fa4 snapshot 2016-05-10 09:25:44 +03:00
laserpants d881c4c898 snapshot 2016-05-09 23:32:16 +03:00
laserpants eb7b7dfda1 animate halo 2016-05-05 01:34:16 +03:00
laserpants 24461cddd5 add halo 2016-05-04 23:44:33 +03:00
laserpants 55ee28ff97 implement QAbstractSlider behavior 2016-05-04 22:26:19 +03:00
laserpants 6b354ecd04 implement most of slider functionality 2016-05-04 01:40:34 +03:00
laserpants 0f1ad9ad85 fix tracking behavior 2016-05-03 08:53:21 +03:00
laserpants 6fb7183006 implement drag behavior 2016-05-03 08:48:43 +03:00
laserpants fc253ecd11 implement mouse release handler 2016-05-02 23:57:57 +03:00
laserpants 07720c5f66 set correct slider thumb position from current value 2016-05-02 23:35:04 +03:00
laserpants d68dd2e6cf draw additional debug information 2016-05-02 22:13:45 +03:00
laserpants 227e269820 implement hover event handlers 2016-05-02 02:22:43 +03:00
laserpants 764b1a6a64 draw basic thumb geometry 2016-05-02 00:44:38 +03:00
laserpants 97cd0651d6 draw basic Slider track geometry 2016-05-02 00:10:31 +03:00
laserpants 25b5015e33 change size constraint for example view widget layout 2016-05-01 23:40:18 +03:00
laserpants b533ae5e91 paint Slider debug geometry 2016-05-01 23:21:48 +03:00
laserpants af95350a37 re-implement Slider using Pimpl 2016-05-01 22:56:39 +03:00
laserpants c15b832857 add example where orientation changes dynamically 2016-05-01 20:07:53 +03:00
laserpants 4410730f22 keep working on the Slider 2016-05-01 20:07:21 +03:00
laserpants c9b9061e2a rephrase error message in ripple overlay class 2016-05-01 20:05:48 +03:00
laserpants 1d47c85c49 clean up Toggle implementation 2016-05-01 20:05:12 +03:00
laserpants 5eac1af474 avoid short variable names 2016-05-01 16:34:44 +03:00
laserpants 6f1b058ccd animate slider handle when value goes to minimum 2016-05-01 16:29:33 +03:00
laserpants 9c15f89a17 draw Slider handle as outline when value = minimum 2016-05-01 15:54:37 +03:00
laserpants 72b9ea2495 set minimum slider width in example 2016-05-01 15:25:13 +03:00
laserpants 5ccf1370c7 remove unused member _eventPosition 2016-05-01 15:20:26 +03:00
laserpants f31d8adddc use floating point precision in halo animation 2016-05-01 15:19:28 +03:00
laserpants 48f5055d4e implement Slider halo animation 2016-05-01 15:13:37 +03:00