![]() |
KVIrc 5.2.6
Developer APIs
|
Handles all docked KviWindow windows. More...
#include <KviWindowStack.h>
Public Member Functions | |
void | addWindow (KviWindow *pWnd) |
Add an KviWindow to the area. | |
void | destroyWindow (KviWindow *pWnd) |
Remove and delete the subwindow. | |
KviWindowStack (QWidget *pParent, const char *pcName) | |
Constructs the Mdi manager object. | |
void | showAndActivate (KviWindow *pWnd) |
Show the KviWindow and bring it to the front. | |
QMenu * | windowPopup () const |
Returns the window popup. | |
~KviWindowStack () | |
Destroys the Mdi manager object. | |
Protected Slots | |
void | currentWindowChanged (int iIdx) |
void | fillWindowPopup () |
void | menuActivated (QAction *pAction) |
Protected Attributes | |
QMenu * | m_pWindowPopup |
Filters out some events: (de)activation events, window switching. | |
Handles all docked KviWindow windows.
KviWindowStack::KviWindowStack | ( | QWidget * | pParent, |
const char * | pcName ) |
Constructs the Mdi manager object.
pParent | The parent widget |
pcName | The name of the manager |
References connect(), currentWindowChanged(), fillWindowPopup(), m_pWindowPopup, and menuActivated().
|
default |
Destroys the Mdi manager object.
void KviWindowStack::addWindow | ( | KviWindow * | pWnd | ) |
|
protectedslot |
References g_pMainWindow.
Referenced by KviWindowStack().
void KviWindowStack::destroyWindow | ( | KviWindow * | pWnd | ) |
|
protectedslot |
References m_pWindowPopup, KviWindow::myIconPtr(), and w.
Referenced by KviWindowStack().
|
protectedslot |
References showAndActivate(), and w.
Referenced by KviWindowStack().
void KviWindowStack::showAndActivate | ( | KviWindow * | pWnd | ) |
Show the KviWindow and bring it to the front.
pWnd | The KviWindow which will be shown. |
References KviWindow::isDocked().
Referenced by menuActivated().
|
inline |
Returns the window popup.
References m_pWindowPopup.
Referenced by KviMenuBar::KviMenuBar().
|
protected |
Filters out some events: (de)activation events, window switching.
Referenced by fillWindowPopup(), KviWindowStack(), and windowPopup().