KVIrc
4.9.2
DeveloperAPIs
|
Handles all docked KviWindow windows. More...
#include <KviWindowStack.h>
Public Member Functions | |
void | addWindow (KviWindow *pWnd) |
Add an KviWindow to the area. More... | |
void | destroyWindow (KviWindow *pWnd) |
Remove and delete the subwindow. More... | |
KviWindowStack (QWidget *pParent, const char *pcName) | |
Constructs the Mdi manager object. More... | |
void | showAndActivate (KviWindow *pWnd) |
Show the KviWindow and bring it to the front. More... | |
QMenu * | windowPopup () |
Returns the window popup. More... | |
~KviWindowStack () | |
Destroys the Mdi manager object. More... | |
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. More... | |
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 | ) |
Add an KviWindow to the area.
pWnd | The KviWindow |
Referenced by KviMainWindow::dockWindow().
|
protectedslot |
References g_pMainWindow, and KviMainWindow::windowActivated().
Referenced by KviWindowStack().
void KviWindowStack::destroyWindow | ( | KviWindow * | pWnd | ) |
Remove and delete the subwindow.
pWnd | The KviWindow which will be destroyed. |
Referenced by KviMainWindow::closeWindow().
|
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. |
Referenced by KviMainWindow::addWindow(), menuActivated(), and KviMainWindow::setActiveWindow().
|
inline |
|
protected |
Filters out some events: (de)activation events, window switching.
Referenced by fillWindowPopup(), and KviWindowStack().