KDE3Support
k3dockwidget.h
Go to the documentation of this file.
42 IMPORTANT Note: This file compiles also in Qt-only mode by using the NO_KDE2 precompiler definition!
453 DockNone = 0,
454 DockTop = 0x0001,
455 DockLeft = 0x0002,
456 DockRight = 0x0004,
457 DockBottom = 0x0008,
458 DockCenter = 0x0010,
459 DockDesktop= 0x0020,
460 DockToSpecialSites=0x0040,
461 DockCorner = DockTop | DockLeft | DockRight | DockBottom,
462 DockFullSite = DockCorner | DockCenter,
463 DockFullDocking = DockFullSite | DockDesktop
490 K3DockWidget* manualDock( K3DockWidget* target, DockPosition dockPos, int spliPos = 50, QPoint pos = QPoint(0,0), bool check = false, int tabIndex = -1);
894 RestoreAllDockwidgets
1298 K3DockMainWindow( QWidget* parent = 0L, const char *name = 0L, Qt::WindowFlags f = Qt::Window);
1338 K3DockWidget* createDockWidget( const QString& name, const QPixmap &pixmap, QWidget* parent = 0L,
1339 const QString& strCaption = QString(), const QString& strTabPageLabel = QLatin1String( " " ) );
1463 K3DockWidget* createDockWidget( const QString& name, const QPixmap &pixmap, QWidget* parent = 0L,
1464 const QString& strCaption = QString(), const QString& strTabPageLabel = QLatin1String( " " ) );
QLayout * layout() const
virtual void saveConfig(KConfigGroup *)
Provides saving the current configuration.
Definition: k3dockwidget.h:127
Like QSplitter but specially designed for dockwidgets stuff.
Definition: k3dockwidget_private.h:49
virtual void virtual_hook(int id, void *data)
Definition: k3dockwidget.cpp:3442
const char header[]
Q3PopupMenu * dockHideShowMenu() const
Returns a popup menu that contains entries for all controlled dockwidgets making hiding and showing t...
Definition: k3dockwidget.cpp:160
void makeWidgetDockVisible(QWidget *w)
Works like makeDockVisible() but can be called for widgets that covered by a dockwidget.
Definition: k3dockwidget.cpp:3076
QHBoxLayout * layout
A layout manager for placing the embedded buttons (close and stay)
Definition: k3dockwidget.h:320
void makeWidgetDockVisible(QWidget *widget)
This is an overloaded member function, provided for convenience.
Definition: k3dockwidget.cpp:177
K3DockWidget * formerBrotherDockWidget
earlier closest neighbor widget, so it's possible to dock back to it.
Definition: k3dockwidget.h:785
virtual void setTopLevel(bool)
Provides things concerning to switching to toplevel mode.
Definition: k3dockwidget.h:121
const char * name(StandardAction id)
virtual void virtual_hook(int id, void *data)
Definition: k3dockwidget.cpp:3460
virtual void loadConfig(KConfigGroup *)
Provides loading the current configuration.
Definition: k3dockwidget.h:132
virtual void mouseReleaseEvent(QMouseEvent *event)
K3DockButton_Private * stayButton
a little button for enabling/disabling dragging the dockwidget with the mouse
Definition: k3dockwidget.h:330
K3DockButton_Private * closeButton
a little button for closing (undocking and hiding) the dockwidget
Definition: k3dockwidget.h:325
A special kind of KMainWindow that is able to have dockwidget child widgets (and member of the dockwi...
Definition: k3dockwidget.h:1278
const char * name() const
TsConfig readConfig(const QString &fname)
virtual void paintEvent(QPaintEvent *event)
DockPosition formerDockPos
the former dock position when it really was at another position before.
Definition: k3dockwidget.h:793
virtual void mousePressEvent(QMouseEvent *event)
K3DockButton_Private * dockbackButton
a little button for dock back the dockwidget to its previous dockwidget
Definition: k3dockwidget.h:335
This special widget is the panel one can grip with the mouses (and member of the dockwidget class set...
Definition: k3dockwidget.h:194
virtual void paintEvent(QPaintEvent *)
virtual void mouseMoveEvent(QMouseEvent *event)
Q3PopupMenu * dockHideShowMenu() const
Definition: k3dockwidget.cpp:3081
The manager that knows all dockwidgets and handles the dock process (and member of the dockwidget cla...
Definition: k3dockwidget.h:884
QPoint pos() const
virtual bool eventFilter(QObject *watched, QEvent *event)
K3DockManager * dockManager
A pointer to the manager for the dock process.
Definition: k3dockwidget.h:1429
virtual bool event(QEvent *event)
virtual void virtual_hook(int id, void *data)
Definition: k3dockwidget.cpp:3451
QString toolTipStr
a string used as tooltip for the tab page header when in dock-centered mode.
Definition: k3dockwidget.h:797
An abstract class for all dockwidget drag-panels of a dockwidgets (and member of the dockwidget class...
Definition: k3dockwidget.h:149
virtual void virtual_hook(int id, void *data)
Definition: k3dockwidget.cpp:3445
virtual void virtual_hook(int id, void *data)
Qt::WindowType windowType() const
K3DockWidget * mainDockWidget
A pointer to the main dockwidget (where one can manualDock() to.
Definition: k3dockwidget.h:1424
QString tabPageTitle
a string used as title of the tab page when in tab page mode
Definition: k3dockwidget.h:801
An abstract base clase for all dockwidget headers (and member of the dockwidget class set)...
Definition: k3dockwidget.h:100
Floatable widget that can be dragged around with the mouse and encapsulate the actual widgets (and me...
Definition: k3dockwidget.h:415
void makeDockVisible(K3DockWidget *dock)
Definition: k3dockwidget.cpp:3199
Definition: k3dockwidget.h:892
A mini-button usually placed in the dockpanel.
Definition: k3dockwidget_private.h:253
The header (additional bar) for a K3DockWidget s (and member of the dockwidget class set)...
Definition: k3dockwidget.h:235
It just hides the special implementation of a dockwidget tab groups (and is member of the dockwidget ...
Definition: k3dockwidget.h:356
typedef WindowFlags
Definition: k3dockwidget_p.h:43
void show()
DockPosition
The possible positions where a dockwidget can dock to another dockwidget.
Definition: k3dockwidget.h:451
virtual void resizeEvent(QResizeEvent *event)
QObject * parent() const
virtual void leaveEvent(QEvent *event)
virtual bool event(QEvent *event)
int main(int argc, char **argv)
Definition: k3dockwidget.h:1444
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:26:47 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:26:47 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.