KVIrc  4.9.2
DeveloperAPIs
Public Slots | Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
NotifierWindow Class Reference

#include <NotifierWindow.h>

+ Inheritance diagram for NotifierWindow:

Public Slots

void hideNow ()
 
void slotTabCloseRequested (int index)
 
void toggleLineEdit ()
 

Public Member Functions

void addMessage (KviWindow *pWnd, const QString &szImageId, const QString &szText, unsigned int uMessageTime)
 
int countTabs () const
 
void doHide (bool bDoAnimate)
 
void doShow (bool bDoAnimate)
 
 NotifierWindow ()
 
void setDisableHideOnMainWindowGotAttention (bool b)
 
void showLineEdit (bool bShow)
 
State state () const
 
int textWidth ()
 
 ~NotifierWindow ()
 

Protected Slots

void blink ()
 
void disableFor15Minutes ()
 
void disableFor1Minute ()
 
void disableFor30Minutes ()
 
void disableFor5Minutes ()
 
void disableFor60Minutes ()
 
void disablePermanently ()
 
void disableUntilKVIrcRestarted ()
 
void fillContextPopup ()
 
void heartbeat ()
 
void progressUpdate ()
 
void returnPressed ()
 
void updateGui ()
 

Protected Member Functions

virtual void enterEvent (QEvent *e)
 
virtual bool eventFilter (QObject *pEdit, QEvent *e)
 
virtual void hideEvent (QHideEvent *e)
 
virtual void keyPressEvent (QKeyEvent *e)
 
virtual void leaveEvent (QEvent *e)
 
virtual void mouseMoveEvent (QMouseEvent *e)
 
virtual void mousePressEvent (QMouseEvent *e)
 
virtual void mouseReleaseEvent (QMouseEvent *e)
 
virtual void paintEvent (QPaintEvent *e)
 
virtual void showEvent (QShowEvent *e)
 

Protected Attributes

bool m_bBlinkOn
 
bool m_bCloseDown
 
bool m_bCrashShowWorkAround
 
bool m_bDiagonalResizing
 
bool m_bDisableHideOnMainWindowGotAttention
 
bool m_bDragging
 
bool m_bLeftButtonIsPressed
 
bool m_bNextDown
 
bool m_bPrevDown
 
bool m_bResizing
 
bool m_bWriteDown
 
QCursor m_cursor
 
double m_dOpacity
 
State m_eState
 
int m_iBlinkCount
 
QTimer * m_pAutoHideTimer
 
QTimer * m_pBlinkTimer
 
QMenu * m_pContextPopup
 
NotifierMessagem_pCurrentMessage
 
QMenu * m_pDisablePopup
 
KviThemedLineEditm_pLineEdit
 
QPoint m_pntClick
 
QPoint m_pntDrag
 
QPoint m_pntPos
 
QProgressBar * m_pProgressBar
 
QTimer * m_pShowHideTimer
 
KviWindowm_pWindowToRaise
 
NotifierWindowBorderm_pWndBorder
 
QTabWidget * m_pWndTabs
 
QTime m_qtStartedAt
 
kvi_time_t m_tAutoHideAt
 
kvi_time_t m_tStartedAt
 
int m_whereResizing
 
QRect m_wndRect
 

Private Member Functions

bool checkResizing (QPoint)
 
void contextPopup (const QPoint &pos)
 
void redrawText ()
 
void resize (QPoint p, bool=true)
 
void setCursor (int)
 
bool shouldHideIfMainWindowGotAttention ()
 
void startAutoHideTimer ()
 
void startBlinking ()
 
void stopAutoHideTimer ()
 
void stopBlinkTimer ()
 
void stopShowHideTimer ()
 

Constructor & Destructor Documentation

NotifierWindow::NotifierWindow ( )
NotifierWindow::~NotifierWindow ( )

Member Function Documentation

void NotifierWindow::addMessage ( KviWindow pWnd,
const QString &  szImageId,
const QString &  szText,
unsigned int  uMessageTime 
)
void NotifierWindow::blink ( )
protectedslot
bool NotifierWindow::checkResizing ( QPoint  e)
private
void NotifierWindow::contextPopup ( const QPoint &  pos)
private
int NotifierWindow::countTabs ( ) const
inline

References m_pWndTabs.

Referenced by notifier_kvs_cmd_show().

void NotifierWindow::disableFor15Minutes ( )
protectedslot
void NotifierWindow::disableFor1Minute ( )
protectedslot
void NotifierWindow::disableFor30Minutes ( )
protectedslot
void NotifierWindow::disableFor5Minutes ( )
protectedslot
void NotifierWindow::disableFor60Minutes ( )
protectedslot
void NotifierWindow::disablePermanently ( )
protectedslot
void NotifierWindow::disableUntilKVIrcRestarted ( )
protectedslot
void NotifierWindow::doHide ( bool  bDoAnimate)
void NotifierWindow::doShow ( bool  bDoAnimate)
void NotifierWindow::enterEvent ( QEvent *  e)
protectedvirtual
bool NotifierWindow::eventFilter ( QObject *  pEdit,
QEvent *  e 
)
protectedvirtual
void NotifierWindow::fillContextPopup ( )
protectedslot
void NotifierWindow::heartbeat ( )
protectedslot
void NotifierWindow::hideEvent ( QHideEvent *  e)
protectedvirtual
void NotifierWindow::hideNow ( )
slot
void NotifierWindow::keyPressEvent ( QKeyEvent *  e)
protectedvirtual

References hideNow().

void NotifierWindow::leaveEvent ( QEvent *  e)
protectedvirtual
void NotifierWindow::mouseMoveEvent ( QMouseEvent *  e)
protectedvirtual
void NotifierWindow::mousePressEvent ( QMouseEvent *  e)
protectedvirtual
void NotifierWindow::mouseReleaseEvent ( QMouseEvent *  e)
protectedvirtual
void NotifierWindow::paintEvent ( QPaintEvent *  e)
protectedvirtual
void NotifierWindow::progressUpdate ( )
protectedslot
void NotifierWindow::redrawText ( )
private
void NotifierWindow::resize ( QPoint  p,
bool  = true 
)
private
void NotifierWindow::returnPressed ( )
protectedslot
void NotifierWindow::setCursor ( int  iCur)
inlineprivate
void NotifierWindow::setDisableHideOnMainWindowGotAttention ( bool  b)
inline
bool NotifierWindow::shouldHideIfMainWindowGotAttention ( )
private
void NotifierWindow::showEvent ( QShowEvent *  e)
protectedvirtual

References m_wndRect.

void NotifierWindow::showLineEdit ( bool  bShow)

References __tr2qs_ctx(), m_pLineEdit, and m_pWndTabs.

Referenced by resize(), and toggleLineEdit().

void NotifierWindow::slotTabCloseRequested ( int  index)
slot

References hideNow(), and m_pWndTabs.

Referenced by NotifierWindowTab::closeMe(), and NotifierWindow().

void NotifierWindow::startAutoHideTimer ( )
private
void NotifierWindow::startBlinking ( )
private
State NotifierWindow::state ( ) const
inline

References m_eState.

void NotifierWindow::stopAutoHideTimer ( )
private
void NotifierWindow::stopBlinkTimer ( )
private
void NotifierWindow::stopShowHideTimer ( )
private
int NotifierWindow::textWidth ( )
void NotifierWindow::toggleLineEdit ( )
slot

References m_pLineEdit, and showLineEdit().

Referenced by fillContextPopup().

void NotifierWindow::updateGui ( )
protectedslot

Member Data Documentation

bool NotifierWindow::m_bBlinkOn
protected
bool NotifierWindow::m_bCloseDown
protected
bool NotifierWindow::m_bCrashShowWorkAround
protected

Referenced by doShow(), and hideEvent().

bool NotifierWindow::m_bDiagonalResizing
protected

Referenced by NotifierWindow().

bool NotifierWindow::m_bDisableHideOnMainWindowGotAttention
protected
bool NotifierWindow::m_bDragging
protected
bool NotifierWindow::m_bLeftButtonIsPressed
protected
bool NotifierWindow::m_bNextDown
protected
bool NotifierWindow::m_bPrevDown
protected
bool NotifierWindow::m_bResizing
protected
bool NotifierWindow::m_bWriteDown
protected
QCursor NotifierWindow::m_cursor
protected

Referenced by setCursor().

double NotifierWindow::m_dOpacity
protected
State NotifierWindow::m_eState
protected
int NotifierWindow::m_iBlinkCount
protected

Referenced by blink(), and startBlinking().

QTimer* NotifierWindow::m_pAutoHideTimer
protected
QTimer* NotifierWindow::m_pBlinkTimer
protected
QMenu* NotifierWindow::m_pContextPopup
protected
NotifierMessage* NotifierWindow::m_pCurrentMessage
protected
QMenu* NotifierWindow::m_pDisablePopup
protected
KviThemedLineEdit* NotifierWindow::m_pLineEdit
protected
QPoint NotifierWindow::m_pntClick
protected

Referenced by mousePressEvent().

QPoint NotifierWindow::m_pntDrag
protected

Referenced by mouseMoveEvent(), and mousePressEvent().

QPoint NotifierWindow::m_pntPos
protected

Referenced by mouseMoveEvent(), and mousePressEvent().

QProgressBar* NotifierWindow::m_pProgressBar
protected
QTimer* NotifierWindow::m_pShowHideTimer
protected
KviWindow* NotifierWindow::m_pWindowToRaise
protected
NotifierWindowBorder* NotifierWindow::m_pWndBorder
protected
QTabWidget* NotifierWindow::m_pWndTabs
protected
QTime NotifierWindow::m_qtStartedAt
protected
kvi_time_t NotifierWindow::m_tAutoHideAt
protected
kvi_time_t NotifierWindow::m_tStartedAt
protected
int NotifierWindow::m_whereResizing
protected

Referenced by checkResizing(), and resize().

QRect NotifierWindow::m_wndRect
protected

The documentation for this class was generated from the following files: