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 //----------------------------------------------------------------------------
00038 namespace KMdi
00039 {
00051    enum EventType {
00052       EV_Move=1,
00053       EV_DragBegin,
00054       EV_DragEnd,
00055       EV_ResizeBegin,
00056       EV_ResizeEnd
00057    };
00058 
00062    enum AddWindowFlags {
00069       StandardAdd = 0,
00070       Maximize    = 1,
00071       Minimize    = 2,
00072       Hide        = 4,
00073       Detach      = 8,
00074       ToolWindow  = 16,
00075       UseKMdiSizeHint = 32,
00076       AddWindowFlags = 0xff
00077    };
00078 
00079    enum FrameDecor {
00080       Win95Look = 0,
00081       KDE1Look  = 1,
00082       KDELook  = 2,
00083       KDELaptopLook = 3
00084    };
00085 
00086    enum MdiMode {
00087       UndefinedMode  = 0,
00088       ToplevelMode   = 1,
00089       ChildframeMode = 2,
00090       TabPageMode    = 3,
00091       IDEAlMode      = 4
00092    };
00093 
00094 } //namespace
00095 
00096 #endif //_KMDIDEFINES_H_
KDE Logo
This file is part of the documentation for kmdi Library Version 3.2.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Thu Apr 22 14:25:41 2004 by doxygen 1.2.18 written by Dimitri van Heesch, © 1997-2003