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 |
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
|
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
|
4410730f22
|
keep working on the Slider
|
2016-05-01 20:07:21 +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
|
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 |
laserpants
|
9b47d76d02
|
refactor slider code
|
2016-05-01 12:10:24 +03:00 |
laserpants
|
401b394fcd
|
adjust App Bar font size
|
2016-05-01 12:10:13 +03:00 |
laserpants
|
f246459c5d
|
remove geometry rect from slider
|
2016-04-30 20:30:55 +03:00 |
laserpants
|
9300275ae5
|
compensate space around slider for scaling of handle
|
2016-04-30 20:27:55 +03:00 |
laserpants
|
955edc2f6a
|
zoom slider handle on mouse press
|
2016-04-30 13:54:59 +03:00 |
laserpants
|
f6c8b74ddd
|
mess around with slider thumb style
|
2016-04-30 13:44:45 +03:00 |
laserpants
|
6440b937db
|
make slider pretty
|
2016-04-30 13:22:49 +03:00 |
laserpants
|
d92292e302
|
scrap old style file
|
2016-04-30 12:53:58 +03:00 |
laserpants
|
630440b50b
|
set drop shadow opacity
|
2016-04-29 08:33:20 +03:00 |
laserpants
|
b9d65c07d8
|
set drop shadow opacity
|
2016-04-29 08:32:47 +03:00 |
laserpants
|
67b4805d28
|
adjust Flat Button font style
|
2016-04-29 06:37:25 +03:00 |
laserpants
|
4eccafcd01
|
adjust Menu Item style
|
2016-04-29 06:37:05 +03:00 |
laserpants
|
8192532db5
|
change easing curve
|
2016-04-28 11:10:22 +03:00 |
laserpants
|
e8c1b06aa4
|
tweak menu animation
|
2016-04-28 10:34:25 +03:00 |
laserpants
|
15c970ff51
|
tweak menu animation
|
2016-04-28 03:48:08 +03:00 |
laserpants
|
1395f1c1eb
|
adjust menu geometry on animation progress instead of zoom effect
|
2016-04-28 00:28:23 +03:00 |
laserpants
|
61049f2944
|
add drop shadow to menu
|
2016-04-28 00:01:27 +03:00 |
laserpants
|
d2add935b0
|
make animation in Raised Button consistent with Material style
|
2016-04-27 17:44:40 +03:00 |
laserpants
|
9271838d70
|
implement icon menu zoom effect
|
2016-04-27 02:57:16 +03:00 |
laserpants
|
8a0daa0c8f
|
implement toggle action for icon menu
|
2016-04-27 02:14:39 +03:00 |
laserpants
|
bb2f00bab1
|
set checkable property for icon menu
|
2016-04-26 22:51:31 +03:00 |
laserpants
|
e4b675d821
|
remove TransparentForMouseEvents attribute from icon menu
|
2016-04-26 22:45:28 +03:00 |
laserpants
|
267cceb4e7
|
fix weird overlay behavior in Icon Menu example widget
|
2016-04-26 22:30:07 +03:00 |
laserpants
|
75d4dd7194
|
implement Icon Menu
|
2016-04-25 09:16:54 +03:00 |
laserpants
|
7e7f78bc13
|
implement Icon Menu and examples
|
2016-04-25 02:37:59 +03:00 |
laserpants
|
81a1afea6f
|
add examples for IconMenu
|
2016-04-25 01:26:28 +03:00 |
laserpants
|
82b5b900f4
|
clean up Menu item size rules
|
2016-04-25 01:19:13 +03:00 |
laserpants
|
535200118b
|
keep list of pointers to MenuItems in Menu class
|
2016-04-24 14:38:58 +03:00 |
laserpants
|
e2d4ebd560
|
Merge branch 'master' of https://github.com/laserpants/qt-material-widgets
|
2016-04-24 12:30:35 +03:00 |
laserpants
|
5463f5e729
|
update slider value
|
2016-04-22 23:31:55 +03:00 |
laserpants
|
fb58d275c1
|
add Scrollbar stub
|
2016-04-18 16:08:45 +03:00 |
laserpants
|
685ff75c7c
|
simplify IconButton code
|
2016-04-18 13:15:57 +03:00 |
laserpants
|
bce8535b16
|
implement Checkbox paintEvent
|
2016-04-18 11:36:30 +03:00 |
laserpants
|
d2e33cc17e
|
implement addMenuItem method
|
2016-04-18 10:36:40 +03:00 |
laserpants
|
52930a6132
|
implement Menu layout
|
2016-04-18 10:11:09 +03:00 |
laserpants
|
96360a2310
|
add menu component stub
|
2016-04-18 09:55:52 +03:00 |
laserpants
|
16129e7243
|
Merge branch 'master' of https://github.com/laserpants/qt-material-widgets
|
2016-04-17 13:59:15 +03:00 |
laserpants
|
da03788d6c
|
decrease tab underline width
|
2016-04-15 11:21:28 +03:00 |
laserpants
|
a6038ff9f2
|
create animation on TextField
|
2016-04-14 18:15:17 +03:00 |
laserpants
|
800f5d4d33
|
set Avatar radius to 20
|
2016-04-14 17:33:33 +03:00 |
laserpants
|
2b1556d2a3
|
draw Avatar circle
|
2016-04-14 17:31:09 +03:00 |
laserpants
|
0f6d9f6aa9
|
add boilerplate for Avatar component
|
2016-04-14 17:21:28 +03:00 |
laserpants
|
bde2125000
|
make TextField inherit QLineEdit
|
2016-04-14 17:11:41 +03:00 |
laserpants
|
5d8cc368fc
|
add more boilerplate code
|
2016-04-14 16:47:27 +03:00 |
laserpants
|
51673cee1b
|
make Slider inherit QAbstractSlider
|
2016-04-03 20:08:26 +03:00 |
laserpants
|
a8ffb45ac0
|
fix (hopefully) weird Toggle animation behavior
|
2016-03-30 23:42:31 +03:00 |
laserpants
|
414b799bc1
|
import QDebug
|
2016-03-30 23:30:34 +03:00 |
laserpants
|
db3439f604
|
log isChecked status to figure out weird Toggle animation behavior
|
2016-03-30 23:30:10 +03:00 |
laserpants
|
7c2c6c56d0
|
give sensible names to slots
|
2016-03-29 23:46:50 +03:00 |
laserpants
|
99ff858ced
|
clean up Toggle component code
|
2016-03-29 23:28:40 +03:00 |
laserpants
|
6b57dd87dd
|
paint progress using different color in slider
|
2016-03-28 17:09:40 +03:00 |
laserpants
|
82865e9e0f
|
mess around with widget sizing
|
2016-03-28 11:51:24 +03:00 |
laserpants
|
19a090fd15
|
tweak Toggle animation
|
2016-03-27 22:48:32 +03:00 |
laserpants
|
3ba4032d44
|
adjust switch drop shadow to look smoother
|
2016-03-27 19:07:51 +03:00 |
laserpants
|
98308e72be
|
simplify Slider code
|
2016-03-27 17:12:57 +03:00 |
laserpants
|
ac314b024d
|
implement slider handle painter
|
2016-03-27 17:12:35 +03:00 |
laserpants
|
5ef410e492
|
animate Toggle
|
2016-03-27 17:06:22 +03:00 |
laserpants
|
17b49b58fb
|
add drop shadow to Toggle thumb
|
2016-03-27 11:02:58 +03:00 |
laserpants
|
58a54c50fb
|
put Q_DECL_OVERRIDE pragma in correct place
|
2016-03-27 10:11:32 +03:00 |
laserpants
|
2229b86053
|
implement basic Toggle and Thumb painters
|
2016-03-26 19:26:39 +03:00 |
laserpants
|
0a637bf140
|
implement basic Thumb widget painting
|
2016-03-26 15:58:01 +03:00 |
laserpants
|
c86ebb1c7d
|
add internal Thumb widget for Toggle
|
2016-03-26 15:42:21 +03:00 |
laserpants
|
72ca134fc1
|
paint track for toggle component
|
2016-03-26 15:38:24 +03:00 |
laserpants
|
3871deda30
|
remove debug output
|
2016-03-26 15:20:23 +03:00 |
laserpants
|
b6c862e2d5
|
make mental note that QAbstractButton subclass needs to implement sizeHint
|
2016-03-26 15:17:46 +03:00 |
laserpants
|
401bf7a95a
|
insert boilerplate class definition
|
2016-03-26 13:37:48 +03:00 |
laserpants
|
c0ceddafa4
|
add override compiler macro
|
2016-03-26 13:37:26 +03:00 |
laserpants
|
0271eb0df7
|
code style
|
2016-03-26 13:36:59 +03:00 |
laserpants
|
6c2665ff6f
|
add override compiler macro
|
2016-03-26 13:36:44 +03:00 |
laserpants
|
902b7d4bd8
|
add boilerplate code for Toggle class
|
2016-03-26 00:57:51 +03:00 |
laserpants
|
ef57d5b79d
|
simplify slider code
|
2016-03-26 00:27:49 +03:00 |
laserpants
|
db1c8ddee4
|
simplify code
|
2016-03-25 23:37:59 +03:00 |
laserpants
|
9440519bc8
|
fix handle positioning
|
2016-03-25 23:30:35 +03:00 |
laserpants
|
b07e24edcc
|
implement correct slider handle positioning
|
2016-03-24 08:52:27 +03:00 |
laserpants
|
bd5a9adfea
|
implement slider functionality
|
2016-03-23 08:35:41 +03:00 |
laserpants
|
dcef5d8ba5
|
add slider example for vertical slider
|
2016-03-22 18:05:02 +03:00 |
laserpants
|
c8d3d56a96
|
reverse shadow animation direction for buttons
|
2016-03-22 17:44:59 +03:00 |
laserpants
|
d27a7eead8
|
add Slider component boilerplate
|
2016-03-22 17:16:49 +03:00 |
laserpants
|
04d8f64d2c
|
use custom drop shadow effect in AppBar
|
2016-03-22 16:51:16 +03:00 |
laserpants
|
5ca231cdcb
|
set animation start values to defaults
|
2016-03-22 12:53:10 +03:00 |
laserpants
|
bb34b97f74
|
make getStyleOption protected
|
2016-03-22 12:50:33 +03:00 |
laserpants
|
9e710035f4
|
make getStyleOption protected
|
2016-03-22 12:49:50 +03:00 |
laserpants
|
28b063e591
|
animate drop shadow on RaisedButton
|
2016-03-22 12:48:59 +03:00 |
laserpants
|
db345d5735
|
fill button background
|
2016-03-22 11:54:01 +03:00 |
laserpants
|
7dc4fcca89
|
implement RaisedButton
|
2016-03-22 11:50:48 +03:00 |
laserpants
|
afc1389112
|
add RaisedButton component
|
2016-03-22 11:50:12 +03:00 |
laserpants
|
64fa985928
|
make Style class singleton
|
2016-03-20 19:43:05 +03:00 |
laserpants
|
fc933ae16c
|
set table column resize mode to strech
|
2016-03-20 12:17:59 +03:00 |
laserpants
|
a24c010be1
|
implement basic Table component
|
2016-03-20 11:56:51 +03:00 |
laserpants
|
e3d64f989a
|
make icon button geometry behave nicely
|
2016-03-19 23:31:22 +03:00 |
laserpants
|
e1a44b78db
|
update ripple references
|
2016-03-19 14:12:14 +03:00 |
laserpants
|
709aa9e58b
|
move components to separate directory
|
2016-03-19 14:07:25 +03:00 |