kdockwidget.h
42 IMPORTANT Note: This file compiles also in Qt-only mode by using the NO_KDE2 precompiler definition!
306 * NOT PART OF THE PUBLIC API (you don't have access the class defintion anyways, without special
504 KDockWidget* manualDock( KDockWidget* target, DockPosition dockPos, int spliPos = 50, TQPoint pos = TQPoint(0,0), bool check = false, int tabIndex = -1);
1336 KDockMainWindow( TQWidget* parent = 0L, const char *name = 0L, WFlags f = WType_TopLevel | WDestructiveClose );
1338 KDockMainWindow( TQWidget* parent = 0L, const char *name = 0L, WFlags f = (WFlags)(WType_TopLevel | WDestructiveClose) );
1379 KDockWidget* createDockWidget( const TQString& name, const TQPixmap &pixmap, TQWidget* parent = 0L,
1505 KDockWidget* createDockWidget( const TQString& name, const TQPixmap &pixmap, TQWidget* parent = 0L,
1506 const TQString& strCaption = TQString::null, const TQString& strTabPageLabel = TQString::fromLatin1( " " ) );
A mini-button usually placed in the dockpanel.
Definition kdockwidget_private.h:249
void activateDock()
It runs through all dockwidgets which are under control of the dockmanager and calls show() for every...
Definition kdockwidget.h:1414
TQPopupMenu * dockHideShowMenu() const
Returns a popup menu that contains entries for all controlled dockwidgets making hiding and showing t...
Definition kdockwidget.h:1422
KDockMainWindow(TQWidget *parent=0L, const char *name=0L, WFlags f=(WFlags)(WType_TopLevel|WDestructiveClose))
Constructs a dockmainwindow.
Definition kdockwidget.cpp:102
KDockManager * dockManager
A pointer to the manager for the dock process.
Definition kdockwidget.h:1470
void slotDockWidgetUndocked()
Called whenever one of the dockwidgets of this has been undocked.
Definition kdockwidget.cpp:179
KDockWidget * mainDockWidget
A pointer to the main dockwidget (where one can manualDock() to.
Definition kdockwidget.h:1465
void dockWidgetHasUndocked(KDockWidget *)
Signals a certain dockwidget is undocked now.
The manager that knows all dockwidgets and handles the dock process (and member of the dockwidget cla...
Definition kdockwidget.h:916
KDockWidget * findWidgetParentDock(TQWidget *w) const
This method finds out what a widgets' dockwidget is.
Definition kdockwidget.cpp:2957
void writeConfig(TDEConfig *c=0L, TQString group=TQString::null)
Saves the current state of the dockmanager and of all controlled widgets.
Definition kdockwidget.cpp:2531
void makeWidgetDockVisible(TQWidget *w)
Works like makeDockVisible() but can be called for widgets that covered by a dockwidget.
Definition kdockwidget.h:1022
virtual bool eventFilter(TQObject *object, TQEvent *event)
It's more or less a method that catches several events which are interesting for the dockmanager.
Definition kdockwidget.cpp:1705
void replaceDock(KDockWidget *oldDock, KDockWidget *newDock)
Signals a dockwidget is replaced with another one.
void setDockDefaultPos(KDockWidget *)
Signals a dockwidget without parent (toplevel) is shown.
KDockManager(TQWidget *mainWindow, const char *name=0L)
Constructs a dockmanager.
Definition kdockwidget.cpp:1619
void activate()
Shows all encapsulated widgets of all controlled dockwidgets and shows all dockwidgets which are pare...
Definition kdockwidget.cpp:1690
void readConfig(TDEConfig *c=0L, TQString group=TQString::null)
Like writeConfig but reads the whole stuff in.
Definition kdockwidget.cpp:2673
void setMainDockWidget2(KDockWidget *)
Definition kdockwidget.cpp:1669
Like TQSplitter but specially designed for dockwidgets stuff.
Definition kdockwidget_private.h:45
It just hides the special implementation of a dockwidget tab groups (and is member of the dockwidget ...
Definition kdockwidget.h:368
KDockWidget * dockWidget() const
Definition kdockwidget.h:177
KDockWidgetAbstractHeaderDrag(KDockWidgetAbstractHeader *parent, KDockWidget *dock, const char *name=0L)
Constructs this.
Definition kdockwidget.cpp:188
An abstract base clase for all dockwidget headers (and member of the dockwidget class set).
Definition kdockwidget.h:104
virtual void setTopLevel(bool)
Provides things concerning to switching to toplevel mode.
Definition kdockwidget.h:125
virtual void saveConfig(TDEConfig *)
Provides saving the current configuration.
Definition kdockwidget.h:131
virtual void loadConfig(TDEConfig *)
Provides loading the current configuration.
Definition kdockwidget.h:136
KDockWidgetAbstractHeader(KDockWidget *parent, const char *name=0L)
Constructs this.
Definition kdockwidget.cpp:211
This special widget is the panel one can grip with the mouses (and member of the dockwidget class set...
Definition kdockwidget.h:200
KDockWidgetHeaderDrag(KDockWidgetAbstractHeader *parent, KDockWidget *dock, const char *name=0L)
Constructs this.
Definition kdockwidget.cpp:195
KDockButton_Private * stayButton
a little button for enabling/disabling dragging the dockwidget with the mouse
Definition kdockwidget.h:341
KDockWidgetHeader(KDockWidget *parent, const char *name=0L)
Constructs this.
Definition kdockwidget.cpp:216
KDockButton_Private * dockbackButton
a little button for dock back the dockwidget to it's previous dockwidget
Definition kdockwidget.h:346
KDockButton_Private * closeButton
a little button for closing (undocking and hiding) the dockwidget
Definition kdockwidget.h:336
TQHBoxLayout * layout
A layout manager for placing the embedded buttons (close and stay).
Definition kdockwidget.h:331
Floatable widget that can be dragged around with the mouse and encapsulate the actual widgets (and me...
Definition kdockwidget.h:429
DockPosition formerDockPos
the former dock position when it really was at another position before.
Definition kdockwidget.h:824
void loseFormerBrotherDockWidget()
Does several things here when it has noticed that the former brother widget (closest neighbor) gets l...
Definition kdockwidget.cpp:1567
void setDockDefaultPos()
Signals that the dock default position is set.
void headerDockbackButtonClicked()
Emitted when the dockback button of the panel ( KDockWidgetHeader) has been clicked.
void setTabPageLabel(const TQString &label)
Sets a string that is used for the label of the tab page when in tab page mode.
Definition kdockwidget.h:619
KDockWidget(KDockManager *dockManager, const char *name, const TQPixmap &pixmap, TQWidget *parent=0L, const TQString &strCaption=TQString::null, const TQString &strTabPageLabel=TQString::fromLatin1(" "), WFlags f=0)
Construct a dockwidget.
Definition kdockwidget.cpp:479
TQString tabPageTitle
a string used as title of the tab page when in tab page mode
Definition kdockwidget.h:832
DockPosition
The possible positions where a dockwidget can dock to another dockwidget.
Definition kdockwidget.h:466
void headerCloseButtonClicked()
Emitted when the close button of the panel ( KDockWidgetHeader) has been clicked.
TQString toolTipStr
a string used as tooltip for the tab page header when in dock-centered mode.
Definition kdockwidget.h:828
void widgetSet(TQWidget *)
void setToolTipString(const TQString &ttStr)
Stores a string for a tooltip.
Definition kdockwidget.h:603
const TQPixmap & pixmap() const
Returns the dockwidget's associated caption/dock tab pixmap.
Definition kdockwidget.cpp:545
KDockWidget * formerBrotherDockWidget
earlier closest neighbor widget, so it's possible to dock back to it.
Definition kdockwidget.h:816
void setDockSite(int pos)
Specify where it is either possible or impossible for another dockwidget to dock to this.
Definition kdockwidget.h:523
void docking(KDockWidget *dw, KDockWidget::DockPosition dp)
Emitted when another dock widget is docking to this.
WindowType
TDEMainWindow(TQWidget *parent=0, const char *name=0, WFlags f=(WFlags)(WType_TopLevel|WDestructiveClose))
Construct a main window.
Definition tdemainwindow.cpp:168
Trinity API Reference