Vlad Zagorodniy
004b81c4ef
modernize: delete redundant return statements
...
Summary:
All these return statements are at the end of functions which return
nothing.
Reviewers: #breeze, mart
Reviewed By: mart
Subscribers: plasma-devel
Tags: #plasma
Differential Revision: https://phabricator.kde.org/D11638
8 years ago
Vlad Zagorodniy
a7b40ce13d
modernize: use nullptr
...
Summary:
The old null pointer constants(NULL, 0, etc) are converted to the
the new C++11 nullptr keyword with clang-tidy.
Reviewers: #breeze, mart
Reviewed By: mart
Subscribers: plasma-devel
Tags: #plasma
Differential Revision: https://phabricator.kde.org/D11635
8 years ago
Hugo Pereira Da Costa
8a61b4184f
partial update to c++11
...
- use auto
- use override
- added some std::initializer_list
9 years ago
Hugo Pereira Da Costa
9bf4f840ae
added missing "break" statement.
9 years ago
Pino Toscano
30245abae8
Partially revert "Use Q_DECL_OVERRIDE"
...
The style code can be built with Qt4/kdelibs4 as well, and there is no
Q_DECL_OVERRIDE in that case.
This partially reverts commit 13859b08f7 .
9 years ago
Montel Laurent
13859b08f7
Use Q_DECL_OVERRIDE
9 years ago
Marco Martin
e33206e4f7
Show full scrollbar only on mouse over
...
Summary:
This is a proof of conceptof lighter scrollbars, according to
ideas from the VDG:
show only a tiny placeholder normally, and show the full scrollbar
only on mouse over.
Test Plan:
tested on few applications but i know well the
code is just an early hacky proof of concept,
so i'll redesign it as requested.
being a big visible thing, it will probably need
an option as well to make it behave as it used to.
in action https://www.youtube.com/watch?v=O72qxQHjHcw
Reviewers: #plasma, #breeze, #vdg, hpereiradacosta
Reviewed By: hpereiradacosta
Subscribers: plasma-devel, abetts
Tags: #plasma
Differential Revision: https://phabricator.kde.org/D3131
9 years ago
Hugo Pereira Da Costa
f56b8b9fbe
Create animation "on demand", that is, when there is at least one animated progressbar.
...
Delete it when all animated progressbars have stoped or have been unregistered.
This prevent the underlying QPropertyAnimation to be deleted "too late" after an application was exited,
which in turn sometimes result in a crash
CCBUG: 356940
10 years ago
Hugo Pereira Da Costa
9695ec206f
use default destructor
10 years ago
Hugo Pereira Da Costa
4b080f8a2a
Cleanup transition data, to align with oxygen
11 years ago
Hugo Pereira Da Costa
bd7466be3a
- re-added stacked widget transitions, based on oxygen code
...
- it is disabled by default for the moment, and can only be enabled via hidden option.
11 years ago
Kevin Funk
d827875638
Run convert-to-cmake-automoc.pl over files
...
Fixes warnings from moc
11 years ago
Hugo Pereira Da Costa
c65868fab4
added inputWidgetEngine, for abstract item views, line editors, spinboxes and comboboxes
...
it is needed to avoid animation conflicts between lists and buttons (when, e.g. there is a checkbox inside a
list)
11 years ago
Hugo Pereira Da Costa
9e536b6986
removed Q3ListView support
11 years ago
Hugo Pereira Da Costa
59a34fe4e4
Manually calculate viewport update rect on header hover change
...
BUG: 340343
11 years ago
Hugo Pereira Da Costa
fe3e35cfc4
Removed unused members
...
CCMAIL: staniek@kde.org
11 years ago
Hugo Pereira Da Costa
660fe73f1f
Fixed uninitialized member _value
...
CCMAIL: staniek@kde.org
11 years ago
Hugo Pereira Da Costa
d76e38c56e
Also disable pressed animations on option change
...
BUG: 339506
12 years ago
Volker Krause
e9988b7e27
Make constants const, saves a few symbols in the .data section.
12 years ago
Hugo Pereira Da Costa
e37d3e03ee
scrollbarengine derives from widgetstateengine
...
deal with both hover and focus animations
12 years ago
Hugo Pereira Da Costa
a60be91cd3
only handle hover and focus animation
12 years ago
Hugo Pereira Da Costa
baf8eb7a26
scrollbardata inherits from widgetstatedata
...
sliderdata is removed
12 years ago
Hugo Pereira Da Costa
3548b0a00f
removed SliderEngine
12 years ago
Hugo Pereira Da Costa
a5160b29cb
DialEngine inherits from WidgetStateEngine
...
Implements focus animations for QDial
12 years ago
Hugo Pereira Da Costa
cbe11c7eb4
DialData inherits from WidgetStateData
...
WidgetStateEngine gives protected accessor to datamaps
typedef -> using
12 years ago
Hugo Pereira Da Costa
ca54908cd5
use widgetStateEngine instead of slider engine for QSlider animations.
...
implement focus animation of sliders
12 years ago
Hugo Pereira Da Costa
7552f1b63f
push_back -> append
12 years ago
Hugo Pereira Da Costa
5a88de5ab4
register KTextEditor::View to animations and frameShadowFactory
12 years ago
Hugo Pereira Da Costa
173e476738
removed lineEditEngine. It is identical to widgetStateEngine, so we use the latter instead
12 years ago
Hugo Pereira Da Costa
75f3ab69c3
Implemented separated mouseOver animation for flat toolbuttons menu arrow
12 years ago
Hugo Pereira Da Costa
b4975a2b0b
code cleanup
12 years ago
Hugo Pereira Da Costa
00a92a64cf
Fix license
12 years ago
Hugo Pereira Da Costa
411fe42857
added missing Q_OBJECT classes
...
moved AppEventFilter from header to cpp file
12 years ago
Hugo Pereira Da Costa
be25c41187
added explicit to constructors
12 years ago
Hugo Pereira Da Costa
d189bfd91e
- removed unused mdi window engine
...
- fix mdi titlebar mouseover effect
12 years ago
Hugo Pereira Da Costa
fcfc4e1837
doxygen
12 years ago
Hugo Pereira Da Costa
b09ba57ede
added initialization flag so that animation is not triggered at first call
12 years ago
Hugo Pereira Da Costa
ce4be0f35c
implemented pressed animations for radio buttons and checkboxes
12 years ago
Hugo Pereira Da Costa
37cd2b8129
added missing 'data()' to access weak pointer
12 years ago
Hugo Pereira Da Costa
03e3d3bfe5
Added utility typedefs for QPointer and QScopedPointer.
...
Moved to breeze.h
Use everywhere instead of QPointer directly
Use "using" syntax for typedefs, instead of "typedef" syntax
12 years ago
Hugo Pereira Da Costa
104939da80
added mdi window buttons mouse-over
12 years ago
Hugo Pereira Da Costa
ae3ce0b321
Implemented animation for tabwidget focus
12 years ago
Hugo Pereira Da Costa
4abb699e63
Implemented toolbutton animations
12 years ago
Hugo Pereira Da Costa
aae6b4ddff
simplified seting up animation engines
12 years ago
Hugo Pereira Da Costa
76a5c35a95
removed genericAnimation options
12 years ago
Hugo Pereira Da Costa
c017272992
moved all relevant enumerations to breeze.h
...
moved arrow rendering to helper
implemented empty toolbar handle
12 years ago
Hugo Pereira Da Costa
51d9757e64
Added toolbox mouse over animation.
12 years ago
Hugo Pereira Da Costa
524a26b1a3
fixed header view animation
12 years ago
Hugo Pereira Da Costa
045907364b
Added animations for tabbars
...
fixed some overlap issues for tabbars
move more number constants to metrics
12 years ago
Hugo Pereira Da Costa
e9343090f6
started to implement tabbar rendering
12 years ago