Hugo Pereira Da Costa
69afdd3be0
properly adjust menu icon size and positioning, to deal with button's offset in maximized
...
mode.
BUG: 343441
11 years ago
Hugo Pereira Da Costa
fcc2e5dbaf
properly adjust menu icon size and positioning, to deal with button's offset in maximized
...
mode.
BUG: 343441
11 years ago
Hugo Pereira Da Costa
b739256b0d
int -> qreal
...
Sorry !
BUG: 343041
11 years ago
Hugo Pereira Da Costa
fd8f6f22b2
use Flag enumeration to describe button position
...
add horizontal offset for rendering
properly extend horizontal hit area for buttons in maximize mode, padding is preserved, but Fitts law is fullfilled.
11 years ago
Hugo Pereira Da Costa
4a62339a4e
added default geometry in constructor
11 years ago
Hugo Pereira Da Costa
ae15e2efba
also translate 'menu' icon properly to keep proper padding in maximized mode
11 years ago
Hugo Pereira Da Costa
ab80e3880f
Moved buttons geometry handling to Breeze::decoration
...
Do not change size of titlebar when maximizing.
Expend buttons hit area to satisfy Fitts law in maximize mode
BUG: 342824
BUG: 342864
11 years ago
Hugo Pereira Da Costa
2389411364
int -> qreal
...
Sorry !
BUG: 343041
11 years ago
Hugo Pereira Da Costa
b1244feb7c
use Flag enumeration to describe button position
...
add horizontal offset for rendering
properly extend horizontal hit area for buttons in maximize mode, padding is preserved, but Fitts law is fullfilled.
11 years ago
Hugo Pereira Da Costa
95e084f4ca
added default geometry in constructor
11 years ago
Hugo Pereira Da Costa
e0d02a785e
also translate 'menu' icon properly to keep proper padding in maximized mode
11 years ago
Hugo Pereira Da Costa
4dd75758dc
Moved buttons geometry handling to Breeze::decoration
...
Do not change size of titlebar when maximizing.
Expend buttons hit area to satisfy Fitts law in maximize mode
BUG: 342824
BUG: 342864
11 years ago
Hugo Pereira Da Costa
4a2a5c483a
cleanup directory structure
...
removed old breeze decoration svg
11 years ago
Hugo Pereira Da Costa
630ba6062d
implemented application menu button
11 years ago
Hugo Pereira Da Costa
c6da10c15e
implemented context help button
11 years ago
Hugo Pereira Da Costa
adee392530
added some auto
11 years ago
Hugo Pereira Da Costa
2ff32c5435
Moved shared pointer typedef to breeze for larger use
...
Use shared pointer for handling InternalSettings inside decoration
11 years ago
Hugo Pereira Da Costa
77f2667336
fancy in-class initialization :)
11 years ago
Hugo Pereira Da Costa
069be4c25d
also initialize animation and opacity for standalone buttons
...
CCMAIL: mgraesslin@kde.org
11 years ago
Hugo Pereira Da Costa
9280f25d74
added copyright
11 years ago
Hugo Pereira Da Costa
453ad537cb
moved all button rendering to breezebutton, without caching
...
removed breezeimageprovider
adjust painter window to have more spacing around button
11 years ago
Hugo Pereira Da Costa
cfbddc9baa
use NegativeText color from kdeglobals for close button
11 years ago
Hugo Pereira Da Costa
3af38fef9c
Improved rendering of buttons, in sync with breeze style
11 years ago
Hugo Pereira Da Costa
1ad9fc23c0
implemented animations for buttons
11 years ago
Hugo Pereira Da Costa
8a322486e5
increased decoration margins
...
increased button spacing
introduced button size
11 years ago
Hugo Pereira Da Costa
5b091d33cd
formatting
11 years ago
Hugo Pereira Da Costa
aef1bff69e
renamed breezedeco to breezedecoration to be in par with class name
...
fixed vertical positionning of buttons
11 years ago
Hugo Pereira Da Costa
15efa2284c
renamed file consistently to class
11 years ago
Hugo Pereira Da Costa
7a6328a2de
moved image provider to own class
11 years ago
Martin Gräßlin
4ad71b575d
Decoration::client returns a QWeakPointer
11 years ago
Martin Gräßlin
f5952afb3d
[kdecoration] DecorationButton changed to use real for position and size
11 years ago
Martin Gräßlin
48aa1f73c7
[kdecoration] paint takes QRect instead of QRegion
11 years ago
Martin Gräßlin
3ca6751a07
[kdecoration] Paint methods take repaint region
12 years ago
Martin Gräßlin
e33fa37b47
Add a Preview mode to the Decoration Button
...
The plugin allows to create a KDecoration2::DecorationButton by
registering the keyword "button". If such a button is created the
rendering is slightly adjusted to always have the normal background,
so that it works as in a Preview.
12 years ago
Martin Gräßlin
671287706a
ImageProvider uses Breeze::Button* instead of KDecoration2::DecorationButton*
12 years ago
Hugo Pereira Da Costa
38e10d77e4
Fixed compilation with gcc 4.8.2 by adding relevant .data() calls
12 years ago
Martin Gräßlin
712885f112
Use gridUnit based layouting of all elements
...
All paddings and sizes are derived from the grid unit and make the UI
scalable with DPI settings depending on the font size.
12 years ago
Martin Gräßlin
1dec5cb5db
Pass creation of DecorationButtons to DecorationButtonGroup
...
This way it follows the global settings.
12 years ago
Martin Gräßlin
906baf6609
Initial import of new KDecoration2 based window decoration
...
This new decoration plugin requires the new API which needs to
be built from:
kde:kdecoration
To view the decoration use the tool available in
kde:kdecoration-viewer
It is not yet integrated into KWin. One cannot use the decoration yet.
12 years ago