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 #include <kdelibs_export.h>
00032 
00033 #define KMDI_CHILDFRM_SEPARATOR 2
00034 #define KMDI_CHILDFRM_BORDER 4
00035 #define KMDI_CHILDFRM_DOUBLE_BORDER 8
00036 #define KMDI_CHILDFRM_MIN_WIDTH 130
00037 
00038 //----------------------------------------------------------------------------
00042 namespace KMdi
00043 {
00055    enum EventType {
00056       EV_Move=1,
00057       EV_DragBegin,
00058       EV_DragEnd,
00059       EV_ResizeBegin,
00060       EV_ResizeEnd
00061    };
00062 
00066    enum AddWindowFlags {
00073       StandardAdd = 0,
00074       Maximize    = 1,
00075       Minimize    = 2,
00076       Hide        = 4,
00077       Detach      = 8,
00078       ToolWindow  = 16,
00079       UseKMdiSizeHint = 32,
00080       AddWindowFlags = 0xff
00081    };
00082 
00083    enum FrameDecor {
00084       Win95Look = 0,
00085       KDE1Look  = 1,
00086       KDELook  = 2,
00087       KDELaptopLook = 3
00088    };
00089 
00090    enum MdiMode {
00091       UndefinedMode  = 0,
00092       ToplevelMode   = 1,
00093       ChildframeMode = 2,
00094       TabPageMode    = 3,
00095       IDEAlMode      = 4
00096    };
00097 
00098    enum TabWidgetVisibility {
00099       AlwaysShowTabs         = 0,
00100       ShowWhenMoreThanOneTab = 1,
00101       NeverShowTabs          = 2
00102    };
00103 
00107    enum ToolviewStyle {
00109       IconOnly  = 0,
00111       TextOnly  = 1,
00113       TextAndIcon = 3
00114    };
00115 } //namespace
00116 
00117 #endif //_KMDIDEFINES_H_
KDE Logo
This file is part of the documentation for kmdi Library Version 3.3.90.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Mar 30 10:21:51 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003