aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/libLumina/RootSubWindow.h
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-06-29 13:40:19 -0400
committerKen Moore <ken@ixsystems.com>2017-06-29 13:40:19 -0400
commit06e86f64225d09ce1896f1ba860dbb1cedd71568 (patch)
tree69ec044da87ba3646005635eef4292e2128c1c97 /src-qt5/core/libLumina/RootSubWindow.h
parentSome more tweaks to the default stylesheet for the window frame. (diff)
downloadlumina-06e86f64225d09ce1896f1ba860dbb1cedd71568.tar.gz
lumina-06e86f64225d09ce1896f1ba860dbb1cedd71568.tar.bz2
lumina-06e86f64225d09ce1896f1ba860dbb1cedd71568.zip
Add in a "show" animation for windows when they appear
This is a good example of how animations can be setup/used in the window
Diffstat (limited to 'src-qt5/core/libLumina/RootSubWindow.h')
-rw-r--r--src-qt5/core/libLumina/RootSubWindow.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src-qt5/core/libLumina/RootSubWindow.h b/src-qt5/core/libLumina/RootSubWindow.h
index cb502107..5e291aa3 100644
--- a/src-qt5/core/libLumina/RootSubWindow.h
+++ b/src-qt5/core/libLumina/RootSubWindow.h
@@ -18,6 +18,7 @@
#include <QLabel>
#include <QToolButton>
#include <QMenu>
+#include <QPropertyAnimation>
#include <NativeWindow.h>
@@ -47,6 +48,8 @@ private:
QToolButton *closeB, *maxB, *minB, *otherB;
QLabel *titleLabel;
QMenu *otherM; //menu of other actions
+ //Other random objects (animations,etc)
+ QPropertyAnimation *anim;
void initWindowFrame();
void LoadProperties( QList< NativeWindow::Property> list);
bgstack15