1 #ifndef _KVI_WINDOWLIST_H_
2 #define _KVI_WINDOWLIST_H_
31 #include <QPushButton>
32 #include <QToolButton>
35 #include <QDockWidget>
65 virtual bool active() {
return false; };
100 virtual void switchWindow(
bool bNext,
bool bInContextOnly,
bool bHighlightedOnly =
false);
102 virtual void applyOptions();
103 virtual void wheelEvent(QWheelEvent *
e);
104 static void getTextForConsole(QString & szText,
KviConsoleWindow * pConsole);
107 virtual void updateActivityMeter();
108 void updateDockLocation(Qt::DockWidgetArea newArea);
141 virtual void contextMenuEvent(QContextMenuEvent *
e);
142 virtual void drawButtonLabel(QPainter *
p);
143 virtual void paintEvent(QPaintEvent *
e);
146 virtual bool active() {
return m_bActive; };
153 void setActive(
bool bActive);
174 virtual void mousePressEvent(QMouseEvent *
e);
177 virtual QSize sizeHint()
const;
193 void calcButtonHeight();
197 virtual void resizeEvent(QResizeEvent *
e);
211 void orientationChangedSlot(Qt::Orientation
o);
226 QSize sizeHint()
const;
227 void paintEvent(QPaintEvent *);
230 #endif //_KVI_WINDOWLIST_H_
int highlightLevel()
Definition: KviWindowListBase.h:68
QWidget * m_pBase
Definition: KviWindowListBase.h:190
Definition: KviMainWindow.h:60
Definition: KviConsoleWindow.h:75
#define KVIRC_API
Definition: kvi_settings.h:128
virtual void updateActivityMeter()
Definition: KviWindowListBase.cpp:93
virtual bool setIterationPointer(KviWindowListItem *)
Definition: KviWindowListBase.h:99
virtual void captionChanged()
Definition: KviWindowListBase.h:62
virtual void setProgress(int)
Definition: KviWindowListBase.h:64
virtual KviWindowListItem * addItem(KviWindow *)
Definition: KviWindowListBase.h:91
Qt::DockWidgetArea currentDockArea()
Definition: KviWindowListBase.h:105
#define e
Definition: detector.cpp:69
virtual void updatePseudoTransparency()
Definition: KviWindowListBase.h:101
virtual KviWindowListItem * nextItem()
Definition: KviWindowListBase.h:96
KviWindow * kviWindow()
Definition: KviWindowListBase.h:61
virtual KviWindowListItem * lastItem(void)
Definition: KviWindowListBase.h:95
QTimer * m_pActivityMeterTimer
Definition: KviWindowListBase.h:86
virtual void highlight(int)
Definition: KviWindowListBase.h:63
virtual void setActiveItem(KviWindowListItem *)
Definition: KviWindowListBase.h:93
KviMainWindow * m_pFrm
Definition: KviWindowListBase.h:85
QWidget * m_pTitleWidget
Definition: KviWindowListBase.h:87
C++ Template based double linked pointer list class.
Base class for all windows in KVIrc.
Definition: KviWindow.h:74
virtual KviWindowListItem * firstItem()
Definition: KviWindowListBase.h:94
#define o
Definition: detector.cpp:79
int progress()
Definition: KviWindowListBase.h:67
virtual bool removeItem(KviWindowListItem *)
Definition: KviWindowListBase.h:92
Definition: KviWindowListBase.h:77
QString name()
Definition: KviRuntimeInfo.cpp:655
virtual KviWindowListItem * prevItem(void)
Definition: KviWindowListBase.h:97
KviWindow * m_pWindow
Definition: KviWindowListBase.h:56
virtual void applyOptions()
Definition: KviWindowListBase.cpp:183
int m_iHighlightLevel
Definition: KviWindowListBase.h:57
Qt::DockWidgetArea currentArea
Definition: KviWindowListBase.h:88
This file contains compile time settings.
Definition: KviWindowListBase.h:49
#define p
Definition: detector.cpp:80
int m_iButtonHeight
Definition: KviWindowListBase.h:189
KviPointerList< KviWindowListButton > * m_pButtonList
Definition: KviWindowListBase.h:188
Definition: KviWindowListBase.h:180
int m_iProgress
Definition: KviWindowListBase.h:58
virtual bool active()
Definition: KviWindowListBase.h:65
virtual void unhighlight()
Definition: KviWindowListBase.h:66