Commit Graph

359 Commits

Author SHA1 Message Date
laserpants 82e87eb9ef adjust Toggle ripple opacity 2016-06-19 15:51:00 +03:00
laserpants c47e969300 implement ScrollBar 2016-06-19 15:49:42 +03:00
laserpants 70a1f106cb implement determinate progress mode 2016-06-19 13:34:10 +03:00
laserpants 37d58b4a75 use property animation instead of timer event for circular progress rotation 2016-06-19 13:03:23 +03:00
laserpants fff7078542 implement basic indeterminate progress animations 2016-06-19 12:49:55 +03:00
laserpants e756328547 implement linear progress 2016-06-19 12:18:05 +03:00
laserpants 1e908ada5c implement CircularProgress 2016-06-19 12:17:47 +03:00
laserpants b9cec12097 adjust Text Field label kerning 2016-06-19 12:16:44 +03:00
laserpants 237da453be adjust Text Field label font size 2016-06-19 12:16:04 +03:00
laserpants 8aef67d661 implement paint event handler 2016-06-18 12:36:40 +03:00
laserpants 05ccb702e6 add boilerplate code to Circular Progress 2016-06-18 12:15:39 +03:00
laserpants 3cd3953629 add boilerplate code to Progress 2016-06-18 12:12:20 +03:00
laserpants 75af97d4d3 create separate class for Circular Progress 2016-06-18 12:11:42 +03:00
laserpants b913f86afc add TODO note for Snackbar 2016-06-18 12:04:09 +03:00
laserpants de281b9922 remove unused Q_D macros 2016-06-18 11:56:45 +03:00
laserpants 8d25f4036a implement Snackbar 2016-06-18 11:50:33 +03:00
laserpants 5d0f4fd535 make Badge geometry follow parent widget's geometry 2016-06-18 00:35:13 +03:00
laserpants 5bb106c643 implement Avatar 2016-06-17 17:27:20 +03:00
laserpants d42fa35c42 implement basic Avatar 2016-06-17 16:09:19 +03:00
laserpants 0581bb0313 add Drawer boilerplate 2016-06-17 14:45:27 +03:00
laserpants 654e771563 add Dialog boilerplate 2016-06-17 14:43:04 +03:00
laserpants 6fc401ee0a remove unnecessary Q_D macro 2016-06-17 14:31:13 +03:00
laserpants 58a4ef9fd4 implement Badge 2016-06-17 14:25:06 +03:00
laserpants b0d844e5ff implement text field 2016-06-16 19:08:54 +03:00
laserpants 9a544efa2c add Text Field properties 2016-06-14 20:29:20 +03:00
laserpants 8581180fbc add basic state machine boilerplate 2016-06-14 18:37:41 +03:00
laserpants 07f4478d3f create separate class for Text Field state machine 2016-06-14 18:33:49 +03:00
laserpants 84c3ce96b4 make Text Field pimpl class 2016-06-14 18:30:46 +03:00
laserpants c9908a41c4 more boilerplate 2016-06-14 10:50:52 +03:00
laserpants 3f73d9140b remove old files 2016-06-14 02:29:05 +03:00
laserpants fcde226168 refactor checkbox and radiobutton code 2016-06-14 02:27:37 +03:00
laserpants 54028ac4d5 implement checkbox 2016-06-13 14:49:43 +03:00
laserpants ed66ccc0f0 make Radio Button inherit from QAbstractButton instead of QRadioButton 2016-06-13 11:32:27 +03:00
laserpants 26ca77281c fix disabled checked appearance 2016-06-13 09:09:14 +03:00
laserpants 3493507c12 implement Radio Button 2016-06-13 02:19:14 +03:00
laserpants 309e9eb5a8 make state machine member pointer type 2016-06-13 00:17:46 +03:00
laserpants 57e77ecc04 use switch in event handlers instead of if-then-else clause 2016-06-12 22:57:31 +03:00
laserpants a7a4ad9e81 implement basic Radio Button functionality 2016-06-12 22:36:51 +03:00
laserpants fbcc7b2bf7 create separate class for radiobutton icon 2016-06-12 22:36:12 +03:00
laserpants 07ce6b642f make Radio Button pimpl class 2016-06-12 19:02:45 +03:00
laserpants 798aeea5f7 remove unnecessary include 2016-06-12 18:53:04 +03:00
laserpants 09405ad0be add clipping to FAB ripple 2016-06-12 18:17:27 +03:00
laserpants 065a2c6304 style FAB and Raised Button for disabled mode 2016-06-12 17:40:56 +03:00
laserpants 49f9937545 implement basic FAB style and functionality 2016-06-12 16:37:46 +03:00
laserpants 7f8c9312d9 add basic FAB painting 2016-06-12 14:05:31 +03:00
laserpants 1ed5df9999 remove unnecessary Q_D macro 2016-06-12 14:05:17 +03:00
laserpants 0934f7bb01 add reminder that checkable behavior is not implemented 2016-06-12 14:03:59 +03:00
laserpants 04d861e8ff make tabs ripple centered 2016-06-12 13:53:41 +03:00
laserpants e5a4da2d16 add more FAB boilerplate 2016-06-12 13:26:38 +03:00
laserpants 144479cf7b remove constructor default argument in implementation 2016-06-12 12:03:29 +03:00
laserpants 82e8023637 boilerplate for new components 2016-06-12 11:21:58 +03:00
laserpants 7e6fae019e adjust hover bg opacity 2016-06-12 04:01:32 +03:00
laserpants e8d4374bd3 tweak ripple animation parameters 2016-06-12 03:56:37 +03:00
laserpants b450e57b3b add showHalo property to Flat Button 2016-06-11 19:44:16 +03:00
laserpants 9ddb4d6fb0 shade inactive tabs 2016-06-11 18:43:33 +03:00
laserpants 2a7f9cdd56 paint tab icon 2016-06-11 15:10:59 +03:00
laserpants 4cfd16485c refactor tabs to support centered icons 2016-06-11 15:01:48 +03:00
laserpants 0229ce9891 avoid code duplication 2016-06-11 15:01:32 +03:00
laserpants 46105dceae add appearance properties to Slider 2016-06-10 19:12:10 +03:00
laserpants 2394ed0be8 adjust ripple animation duration 2016-06-10 14:33:44 +03:00
laserpants 0fc3fe683e draw slider thumb as outline when disabled and value is min. 2016-06-10 14:33:17 +03:00
laserpants a54da52665 fix Flat Button focus animation 2016-06-09 11:02:57 +03:00
laserpants 0d270024b8 add toggle color properties 2016-06-05 22:23:16 +03:00
laserpants 6bfbc342b0 fix weird toggle behavior 2016-06-05 16:28:01 +03:00
laserpants ead266b05a refactor component color properties 2016-06-05 15:07:56 +03:00
laserpants c500b3c218 tweak flat button animations 2016-06-01 09:12:25 +03:00
laserpants 364873565c set opaque mode for tabs 2016-05-31 10:08:10 +03:00
laserpants adfcfdc398 refactor theming code 2016-05-31 02:08:52 +03:00
laserpants e3517e11d1 refactor theme hooks 2016-05-30 19:03:41 +03:00
laserpants 0a79208ab4 add various Qt properties to Flat Button 2016-05-30 16:10:15 +03:00
laserpants da41a3d2d4 remove extra blank line 2016-05-30 15:04:52 +03:00
laserpants b86555ff0c remove old tab sources 2016-05-30 11:36:32 +03:00
laserpants 3aad4ce323 remove old commented out code 2016-05-30 11:26:12 +03:00
laserpants f422cd2106 pimplify Tabs component 2016-05-30 11:25:02 +03:00
laserpants 83ff691c6a reimplement Tabs component as pimpl class 2016-05-30 09:51:46 +03:00
laserpants d2002ad5e5 introduce corner radius property for flat button 2016-05-30 01:25:17 +03:00
laserpants 0ec35cbd70 re-implement icon button as pimpl class 2016-05-30 00:26:42 +03:00
laserpants 76817345c1 adjust opacity on disabled toggle background 2016-05-29 22:25:43 +03:00
laserpants a6bef3d327 implement toggle animations 2016-05-29 22:12:02 +03:00
laserpants e51251408b remove old commented code 2016-05-29 16:59:44 +03:00
laserpants 00662865f5 add toggle animations 2016-05-29 16:42:13 +03:00
laserpants e97d88b5a9 implement toggle state machine 2016-05-29 14:58:20 +03:00
laserpants 1e77ac42a2 reimplement Toggle using pimpl idiom 2016-05-29 13:25:14 +03:00
laserpants 26072c8373 make toggle pimpl class 2016-05-29 13:08:55 +03:00
laserpants 72162066b4 Merge branch 'master' into toggle 2016-05-29 12:34:26 +03:00
laserpants c527c1796d fix incorret slider include 2016-05-29 12:17:06 +03:00
laserpants 608c7defa5 implement Toggle class from scratch 2016-05-29 11:05:08 +03:00
laserpants 0b393ced08 add private Toggle class 2016-05-29 10:58:27 +03:00
laserpants 023f28610f pimplify toggle class 2016-05-29 00:01:24 +03:00
laserpants 20db7569f3 implement raised button disabled look 2016-05-28 17:08:05 +03:00
laserpants f541a86301 make halo animation use float precision 2016-05-28 16:58:29 +03:00
laserpants 7a70648dda fix raised button focus halo animation 2016-05-28 15:59:44 +03:00
laserpants 921bc2aff4 make it possible to center ripple in flat button 2016-05-28 11:22:43 +03:00
laserpants 078c3699cc add focus halo animation to buttons 2016-05-28 10:52:03 +03:00
laserpants a9d0d1cc1e experiment with focus animation 2016-05-27 17:12:16 +03:00
laserpants 37b4c3c531 adjust RaisedButton colors 2016-05-25 00:13:01 +03:00
FarmRadio Hangar 18fdf9c03c animate Raised Button 2016-05-18 15:08:11 +03:00
FarmRadio Hangar 6a27b85924 re-implement Raised Button animations as state machine 2016-05-17 16:58:46 +03:00
FarmRadio Hangar c2cc1af580 re-implement Raised Button as pimpl class 2016-05-17 16:43:46 +03:00
FarmRadio Hangar 7c39d083bb clean up pimpl code 2016-05-17 15:39:20 +03:00
FarmRadio Hangar 0f4020d193 fix pimpl inheritance for Raised Button class 2016-05-17 15:26:50 +03:00
laserpants eea9f4a90d remove unused textColor accessor in FlatButtonPrivate 2016-05-15 23:04:21 +03:00
laserpants d4ed0ea51a align flat button background colors with button role 2016-05-15 22:51:01 +03:00
laserpants 2870ca75a3 add rounded corners to flat button background 2016-05-15 21:41:19 +03:00
laserpants 32272b05eb minor adjustments on Slider animation params 2016-05-15 21:35:50 +03:00
laserpants 1974fef9e8 remove unused track width property 2016-05-15 12:28:34 +03:00
laserpants 6dfd0ab83d tweak flat button animation parameters 2016-05-15 12:17:07 +03:00
laserpants e646cc0332 add flat button internal class 2016-05-15 10:08:23 +03:00
laserpants 80d5e0acb6 adjust flat button colors according to button role 2016-05-15 09:19:45 +03:00
laserpants 3d2084d99e simplify setRole method 2016-05-14 20:13:32 +03:00
laserpants c86dee02f3 set palette for flat button 2016-05-14 20:00:31 +03:00
laserpants a7da6ce162 implement flat button color roles 2016-05-14 15:18:57 +03:00
laserpants 4bc4d6aa92 make FlatButton pimpl 2016-05-14 14:06:20 +03:00
laserpants c4a17f9dfa refactor flat button 2016-05-14 13:41:40 +03:00
laserpants 51cf801c88 handle overlay geometry 2016-05-14 12:42:15 +03:00
laserpants cdd16e1230 rename valueChanged signal to changed 2016-05-14 12:10:30 +03:00
laserpants e0dd848eb6 refactor flat button code 2016-05-14 11:59:08 +03:00
laserpants d39db592a8 refactor flat button code 2016-05-14 11:52:28 +03:00
laserpants b0d2a56905 simplify slider state machine code 2016-05-14 11:31:54 +03:00
laserpants 0c7920188b move internal slider classes to new file 2016-05-13 22:35:51 +03:00
FarmRadio Hangar 62dc4ada9f move #endif directive again 2016-05-13 17:35:04 +03:00
FarmRadio Hangar 1b79a94f26 tweak slider animations 2016-05-13 09:44:40 +03:00
laserpants d0959864e7 move #endif directive in private header files 2016-05-12 23:55:19 +03:00
laserpants 58f157db4b make slider behave nicely 2016-05-12 23:13:45 +03:00
laserpants 66084f8e4a clean up slider track painter code 2016-05-12 19:59:18 +03:00
FarmRadio Hangar 2b50f65438 snapshot 2016-05-12 17:34:06 +03:00
FarmRadio Hangar 40f311bdb7 move Slider track to separate class 2016-05-12 14:19:59 +03:00
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
laserpants 7a9acce2d1 add theme class 2016-05-12 01:18:09 +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