![]() |
KVIrc
4.9.2
DeveloperAPIs
|
Defines an object for every single tab about the tabs area. More...
#include <NotifierWindowTab.h>
Inheritance diagram for NotifierWindowTab:Public Member Functions | |
| void | appendMessage (NotifierMessage *pMessage) |
| Appends the given message to the window. More... | |
| QString | label () const |
| Returns the name of the current window. More... | |
| NotifierWindowTab (KviWindow *pWnd, QTabWidget *pParent) | |
| Creates the tab object. More... | |
| void | updateGui () |
| Updates the GUI. More... | |
| KviWindow * | wnd () const |
| Returns the pointer of the current window. More... | |
| ~NotifierWindowTab () | |
| Destroys the tab object. More... | |
Protected Member Functions | |
| virtual void | mouseDoubleClickEvent (QMouseEvent *e) |
| virtual void | paintEvent (QPaintEvent *e) |
| virtual void | resizeEvent (QResizeEvent *e) |
Private Slots | |
| void | closeMe () |
| Emitted when the window is being destroyed. More... | |
| void | labelChanged () |
| Emitted when the window changes its name. More... | |
| void | scrollRangeChanged (int, int) |
| Emitted when the scrollbar range is changed. More... | |
Private Attributes | |
| QTabWidget * | m_pParent |
| QVBoxLayout * | m_pVBox |
| QWidget * | m_pVWidget |
| KviWindow * | m_pWnd |
| QString | m_szLabel |
Defines an object for every single tab about the tabs area.
| NotifierWindowTab::NotifierWindowTab | ( | KviWindow * | pWnd, |
| QTabWidget * | pParent | ||
| ) |
Creates the tab object.
| pWnd | The name of the window represented by the tab |
| pParent | The parent area container |
References closeMe(), connect(), labelChanged(), m_pParent, m_pVBox, m_pVWidget, m_pWnd, m_szLabel, scrollRangeChanged(), SPACING, and KviWindow::windowName().
| NotifierWindowTab::~NotifierWindowTab | ( | ) |
Destroys the tab object.
References m_pVBox, and m_pVWidget.
| void NotifierWindowTab::appendMessage | ( | NotifierMessage * | pMessage | ) |
Appends the given message to the window.
| pMessage | The message received to append |
References m_pVBox, and MAX_MESSAGES_IN_WINDOW.
Referenced by NotifierWindow::addMessage().
|
privateslot |
Emitted when the window is being destroyed.
References m_pParent, and NotifierWindow::slotTabCloseRequested().
Referenced by NotifierWindowTab().
|
inline |
|
privateslot |
Emitted when the window changes its name.
References m_pParent, m_pWnd, m_szLabel, and KviWindow::windowName().
Referenced by NotifierWindowTab().
|
protectedvirtual |
|
protectedvirtual |
References KviPixmapUtils::drawPixmapWithPainter(), g_pApp, KVI_OPTION_BOOL, KVI_OPTION_COLOR, KVI_OPTION_PIXMAP, KVI_OPTION_UINT, KviOption_boolUseCompositingForTransparency, KviOption_colorGlobalTransparencyFade, KviOption_colorNotifierBackground, KviOption_pixmapNotifierBackground, KviOption_uintGlobalTransparencyChildFadeFactor, KviOption_uintNotifierPixmapAlign, and KviApplication::supportsCompositing().
|
privateslot |
| void NotifierWindowTab::updateGui | ( | ) |
|
inline |
Returns the pointer of the current window.
References m_pWnd.
Referenced by NotifierWindow::paintEvent(), NotifierWindow::returnPressed(), and NotifierWindow::shouldHideIfMainWindowGotAttention().
|
private |
Referenced by closeMe(), labelChanged(), and NotifierWindowTab().
|
private |
Referenced by appendMessage(), NotifierWindowTab(), resizeEvent(), updateGui(), and ~NotifierWindowTab().
|
private |
Referenced by NotifierWindowTab(), and ~NotifierWindowTab().
|
private |
Referenced by labelChanged(), mouseDoubleClickEvent(), NotifierWindowTab(), and wnd().
|
private |
Referenced by label(), labelChanged(), and NotifierWindowTab().
1.8.7