kmdi Library API Documentation

kmdidefines.h

00001 //---------------------------------------------------------------------------- 00002 // filename : kmdidefines.h 00003 //---------------------------------------------------------------------------- 00004 // Project : KDE MDI extension 00005 // 00006 // begin : 07/1999 by Szymon Stefanek as part of kvirc 00007 // (an IRC application) 00008 // changes : 09/1999 by Falk Brettschneider to create an 00009 // stand-alone Qt extension set of 00010 // classes and a Qt-based library 00011 // 2000-2003 maintained by the KDevelop project 00012 // 00013 // copyright : (C) 1999-2003 by Falk Brettschneider 00014 // and 00015 // Szymon Stefanek (stefanek@tin.it) 00016 // email : falkbr@kdevelop.org (Falk Brettschneider) 00017 //---------------------------------------------------------------------------- 00018 // 00019 //---------------------------------------------------------------------------- 00020 // 00021 // This program is free software; you can redistribute it and/or modify 00022 // it under the terms of the GNU Library General Public License as 00023 // published by the Free Software Foundation; either version 2 of the 00024 // License, or (at your option) any later version. 00025 // 00026 //---------------------------------------------------------------------------- 00027 #ifndef _KMDI_DEFINES_H_ 00028 #define _KMDI_DEFINES_H_ 00029 00030 #include <qglobal.h> 00031 00032 #define KMDI_CHILDFRM_SEPARATOR 2 00033 #define KMDI_CHILDFRM_BORDER 4 00034 #define KMDI_CHILDFRM_DOUBLE_BORDER 8 00035 #define KMDI_CHILDFRM_MIN_WIDTH 130 00036 00037 //---------------------------------------------------------------------------- 00041 namespace KMdi 00042 { 00054 enum EventType { 00055 EV_Move=1, 00056 EV_DragBegin, 00057 EV_DragEnd, 00058 EV_ResizeBegin, 00059 EV_ResizeEnd 00060 }; 00061 00065 enum AddWindowFlags { 00072 StandardAdd = 0, 00073 Maximize = 1, 00074 Minimize = 2, 00075 Hide = 4, 00076 Detach = 8, 00077 ToolWindow = 16, 00078 UseKMdiSizeHint = 32, 00079 AddWindowFlags = 0xff 00080 }; 00081 00082 enum FrameDecor { 00083 Win95Look = 0, 00084 KDE1Look = 1, 00085 KDELook = 2, 00086 KDELaptopLook = 3 00087 }; 00088 00089 enum MdiMode { 00090 UndefinedMode = 0, 00091 ToplevelMode = 1, 00092 ChildframeMode = 2, 00093 TabPageMode = 3, 00094 IDEAlMode = 4 00095 }; 00096 00097 enum TabWidgetVisibility { 00098 AlwaysShowTabs = 0, 00099 ShowWhenMoreThanOneTab = 1, 00100 NeverShowTabs = 2 00101 }; 00102 00106 enum ToolviewStyle { 00108 IconOnly = 0, 00110 TextOnly = 1, 00112 TextAndIcon = 3 00113 }; 00114 } //namespace 00115 00116 #endif //_KMDIDEFINES_H_
KDE Logo
This file is part of the documentation for kmdi Library Version 3.3.1.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sun Oct 17 11:33:17 2004 by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2003