aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/libLumina/NativeWindow.h
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-06-28 10:20:24 -0400
committerKen Moore <ken@ixsystems.com>2017-06-28 10:20:24 -0400
commitb02fd1721f71e3f120c2fe56d866fac5b3a796d1 (patch)
treed523c7c6c2b66188c21560f6387da93be03f96c1 /src-qt5/core/libLumina/NativeWindow.h
parentRe-enable the "Open With" option for selected items (accidentally commented out) (diff)
downloadlumina-b02fd1721f71e3f120c2fe56d866fac5b3a796d1.tar.gz
lumina-b02fd1721f71e3f120c2fe56d866fac5b3a796d1.tar.bz2
lumina-b02fd1721f71e3f120c2fe56d866fac5b3a796d1.zip
Work on making a new NativeWindow property "RelatedWindows" which is a special property used only for seeing which Window ID's are also associated with a given window.
Diffstat (limited to 'src-qt5/core/libLumina/NativeWindow.h')
-rw-r--r--src-qt5/core/libLumina/NativeWindow.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/src-qt5/core/libLumina/NativeWindow.h b/src-qt5/core/libLumina/NativeWindow.h
index a3efd234..e6e90825 100644
--- a/src-qt5/core/libLumina/NativeWindow.h
+++ b/src-qt5/core/libLumina/NativeWindow.h
@@ -30,9 +30,9 @@ public:
enum Property{ /*QVariant Type*/
None, /*null*/
- MinSize, /*QSize*/
- MaxSize, /*QSize*/
- Size, /*QSize*/
+ MinSize, /*QSize*/
+ MaxSize, /*QSize*/
+ Size, /*QSize*/
GlobalPos, /*QPoint*/
Title, /*QString*/
ShortTitle, /*QString*/
@@ -41,17 +41,18 @@ public:
Workspace, /*int*/
States, /*QList<NativeWindow::State> : Current state of the window */
WinTypes, /*QList<NativeWindow::Type> : Current type of window (typically does not change)*/
- WinActions, /*QList<NativeWindow::Action> : Current actions that the window allows (Managed/set by the WM)*/
- FrameExtents, /*QList<int> : [Left, Right, Top, Bottom] in pixels */
+ WinActions, /*QList<NativeWindow::Action> : Current actions that the window allows (Managed/set by the WM)*/
+ FrameExtents, /*QList<int> : [Left, Right, Top, Bottom] in pixels */
+ RelatedWindows, /* QList<WId> - better to use the "isRelatedTo(WId)" function instead of reading this directly*/
Active, /*bool*/
Visible /*bool*/
};
static QList<NativeWindow::Property> allProperties(){
- //Return all the available properties (excluding "None")
+ //Return all the available properties (excluding "None" and "FrameExtents" (WM control only) )
QList<NativeWindow::Property> props;
props << MinSize << MaxSize << Size << GlobalPos << Title << ShortTitle << Icon << Name << Workspace \
- << States << WinTypes << WinActions << Active << Visible;
+ << States << WinTypes << WinActions << RelatedWindows << Active << Visible;
return props;
};
bgstack15