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

#include <HelpWindow.h>

+ Inheritance diagram for HelpWindow:

Public Slots

void indexingEnd ()
 
void indexingProgress (int iNum)
 
void indexingStart (int iNum)
 
void indexSelected (QListWidgetItem *)
 
void initialSetup ()
 
void refreshIndex ()
 
void searchInIndex (const QString &s)
 
void searchSelected (QListWidgetItem *)
 
void showIndexTopic ()
 
void startSearch ()
 
- Public Slots inherited from KviWindow
void autoRaise ()
 
void dock ()
 
void reloadImages ()
 
void savePropertiesAsDefault ()
 
void undock ()
 

Public Member Functions

HelpWidgethelpWidget ()
 
 HelpWindow (const char *name)
 
QTextBrowser * textBrowser ()
 
 ~HelpWindow ()
 
- Public Member Functions inherited from KviWindow
virtual bool activityMeter (unsigned int *puActivityValue, unsigned int *puActivityTemperature)
 
virtual void applyOptions ()
 
virtual QFrame * buttonContainer ()
 
KviIrcConnectionconnection ()
 Returns the current IRC connection (if any) More...
 
KviConsoleWindowconsole ()
 Returns the console that this window belongs to. More...
 
KviIrcContextcontext ()
 
void contextPopup ()
 
QString decodeText (const char *pcText)
 
virtual QTextCodec * defaultTextCodec ()
 
void delayedAutoRaise ()
 
void delayedClose ()
 
void demandAttention ()
 Notify the window manager that this window demands attention. More...
 
QByteArray encodeText (const QString &szText)
 
void forceTextCodec (QTextCodec *pCodec)
 
virtual void getBaseLogFileName (QString &szBuffer)
 
virtual void getConfigGroupName (QString &szBuffer)
 
void getDefaultLogFileName (QString &szBuffer)
 
virtual void getWindowListTipText (QString &szBuffer)
 
bool hasAttention (AttentionLevel eLevel=VisibleAndActive)
 Returns whether this window is the active one. More...
 
virtual bool highlightMe (unsigned int uValue)
 
virtual bool highlightMeter (unsigned int *puValue)
 
QString id ()
 Returns the global ID of this window. More...
 
KviInputinput ()
 
void internalOutput (KviIrcView *pView, int iMsgType, const kvi_wchar_t *pwText, int iFlags=0, const QDateTime &datetime=QDateTime())
 
bool isChannel () const
 
bool isConsole () const
 
bool isDocked ()
 
bool isQuery () const
 
 KviWindow (Type eType, const QString &szName, KviConsoleWindow *pConsole=0)
 Constructs the window object. More...
 
const QString & lastLineOfText ()
 
const QString & lastMessageText ()
 
void listWindowTypes ()
 
virtual const QString & localNick ()
 
QTextEncoder * makeEncoder ()
 
unsigned long int numericId ()
 Returns the global ID of this window. More...
 
virtual void output (int iMsgType, const char *pcFormat,...)
 
virtual void output (int iMsgType, const kvi_wchar_t *pwFormat,...)
 
virtual void output (int iMsgType, QString szFmt,...)
 
void output (int iMsgType, const QDateTime &datetime, const char *pcFormat,...)
 
void output (int iMsgType, const QDateTime &datetime, const kvi_wchar_t *pwFormat,...)
 
void output (int iMsgType, const QDateTime &datetime, QString szFmt,...)
 
virtual void outputNoFmt (int iMsgType, const char *pcText, int iFlags=0, const QDateTime &datetime=QDateTime())
 
virtual void outputNoFmt (int iMsgType, const kvi_wchar_t *pwText, int iFlags=0, const QDateTime &datetime=QDateTime())
 
virtual void outputNoFmt (int iMsgType, const QString &szText, int iFlags=0, const QDateTime &datetime=QDateTime())
 
virtual KviWindowoutputProxy ()
 
virtual void ownAction (const QString &)
 
virtual void ownMessage (const QString &, bool=true)
 
virtual const QString & plainTextCaption ()
 
void setFixedCaption (const QString &szCaption)
 
void setProgress (int iProgress)
 Sets the progress for the WindowList item. More...
 
bool setTextEncoding (const QString &szTextEncoding)
 
void setWindowName (const QString &szName)
 Sets the name of the window. More...
 
void setWindowTitle (QString &szTitle)
 
KviTalSplittersplitter ()
 Returns the splitter of this window. More...
 
virtual const QString & target ()
 
QTextCodec * textCodec ()
 
const QString & textEncoding ()
 
virtual void toggleButtonContainer ()
 
Type type () const
 Returns the type of the window. More...
 
virtual const char * typeString ()
 Returns a descriptive name of the window type. More...
 
void unhighlight ()
 
void updateBackgrounds (QObject *pObj=0)
 
virtual void updateCaption ()
 
virtual void updateIcon ()
 
KviIrcViewview () const
 Returns the KviIrcView of this window. More...
 
KviWindowListItemwindowListItem ()
 Returns the windowList item. More...
 
const QString & windowName ()
 Returns the name of this window. More...
 
virtual ~KviWindow ()
 Destroys the window object. More...
 

Protected Member Functions

virtual void fillCaptionBuffers ()
 
virtual void loadProperties (KviConfigurationFile *cfg)
 
virtual QPixmap * myIconPtr ()
 
virtual void resizeEvent (QResizeEvent *e)
 
virtual void saveProperties (KviConfigurationFile *cfg)
 
- Protected Member Functions inherited from KviWindow
virtual void childEvent (QChildEvent *pEvent)
 
void childInserted (QWidget *pObject)
 
void childRemoved (QWidget *pObject)
 
virtual void childrenTreeChanged (QWidget *pAdded)
 
virtual void closeEvent (QCloseEvent *pEvent)
 
void createCryptControllerButton (QWidget *pPar)
 
void createSystemTextEncodingPopup ()
 
void createTextEncodingButton (QWidget *pPar)
 
QToolButton * createToolButton (QWidget *pPar, const char *pcName, KviIconManager::SmallIcon eIcon, const QString &szToolTip, bool bOn)
 
virtual void createWindowListItem ()
 
virtual void destroyWindowListItem ()
 
bool eventFilter (QObject *pObject, QEvent *pEvent)
 
void fillSingleColorCaptionBuffers (const QString &szName)
 
virtual void focusInEvent (QFocusEvent *)
 
virtual bool focusNextPrevChild (bool bNext)
 
virtual void inputMethodEvent (QInputMethodEvent *e)
 
virtual void lostUserFocus ()
 
virtual void moveEvent (QMoveEvent *pEvent)
 
virtual void preprocessMessage (QString &szMessage)
 
void setType (Type eType)
 
virtual void triggerCreationEvents ()
 
virtual void triggerDestructionEvents ()
 
virtual void youAreDocked ()
 
virtual void youAreUndocked ()
 

Protected Attributes

QStringList m_foundDocs
 
KviTalHBoxm_pBottomLayout
 
QPushButton * m_pBtnRefreshIndex
 
QPushButton * m_pCancelButton
 
HelpWidgetm_pHelpWidget
 
KviTalListWidgetm_pIndexListWidget
 
QLineEdit * m_pIndexSearch
 
KviTalVBoxm_pIndexTab
 
QProgressBar * m_pProgressBar
 
KviTalListWidgetm_pResultBox
 
KviTalVBoxm_pSearchTab
 
QTabWidget * m_pTabWidget
 
QLineEdit * m_pTermsEdit
 
KviTalVBoxm_pToolBar
 
QStringList m_terms
 
- Protected Attributes inherited from KviWindow
bool m_bIsDocked
 
bool m_bProcessingInputEvent
 
Type m_eType
 
KviTalHBoxm_pButtonBox
 
KviConsoleWindowm_pConsole
 
QWidget * m_pFocusHandler
 
QToolButton * m_pHideToolsButton
 
KviInputm_pInput
 
KviIrcViewm_pIrcView
 
QWidget * m_pLastFocusedChild
 
KviTalSplitterm_pSplitter
 
QTextCodec * m_pTextCodec
 
QToolButton * m_pTextEncodingButton
 
KviWindowListItemm_pWindowListItem
 
QString m_szName
 
QString m_szPlainTextCaption
 
QString m_szTextEncoding
 
unsigned long int m_uId
 

Additional Inherited Members

- Public Types inherited from KviWindow
enum  ActivityTemperature {
  Ice = 0, VeryCold = 1, Cold = 2, Undefined = 3,
  Hot = 4, VeryHot = 5, Fire = 6
}
 Holds the activity meter in temperature scale. More...
 
enum  ActivityValue {
  None = 0, VeryLow = 1, Low = 2, Medium = 3,
  High = 4, VeryHigh = 5
}
 Holds the activity meter in value scale. More...
 
enum  AttentionLevel { VisibleAndActive = 0, MainWindowIsVisible = 1 }
 attention levels usable in hasAttention() More...
 
enum  Type {
  Console = 0, Channel = 1, Query = 2, DeadChannel = 3,
  DeadQuery = 4, Editor = 5, Help = 6, Terminal = 7,
  SocketSpy = 8, Links = 9, List = 10, DccChat = 11,
  DccTransfer = 12, DccCanvas = 13, DccVoice = 14, DccVideo = 15,
  UserWindow = 16, Tool = 17, IOGraph = 18, DirBrowser = 19,
  ScriptEditor = 20, ScriptObject = 21, LogView = 22, Offer = 23,
  Debug = 24, Unknown = 25, TypeCount = 26
}
 Holds the types of a window; these are used by the KVIrc core and distributed modules. More...
 
- Signals inherited from KviWindow
void windowNameChanged ()
 
- Protected Slots inherited from KviWindow
void childDestroyed ()
 
void cryptControllerFinished ()
 
void cryptSessionInfoDestroyed ()
 
void systemTextEncodingPopupActivated (QAction *pAction)
 
void textEncodingButtonClicked ()
 
void toggleCryptController ()
 
- Static Protected Attributes inherited from KviWindow
static const char * m_typeTable [TypeCount]
 
- Properties inherited from KviWindow
int KviProperty_ChildFocusOwner
 

Constructor & Destructor Documentation

HelpWindow::HelpWindow ( const char *  name)
HelpWindow::~HelpWindow ( )

Member Function Documentation

void HelpWindow::fillCaptionBuffers ( )
protectedvirtual

Reimplemented from KviWindow.

References __tr2qs, and KviWindow::m_szPlainTextCaption.

HelpWidget* HelpWindow::helpWidget ( )
inline

References m_pHelpWidget.

void HelpWindow::indexingEnd ( )
slot
void HelpWindow::indexingProgress ( int  iNum)
slot

References m_pProgressBar.

Referenced by HelpWindow().

void HelpWindow::indexingStart ( int  iNum)
slot
void HelpWindow::indexSelected ( QListWidgetItem *  item)
slot
void HelpWindow::initialSetup ( )
slot
void HelpWindow::loadProperties ( KviConfigurationFile cfg)
protectedvirtual
QPixmap * HelpWindow::myIconPtr ( )
protectedvirtual
void HelpWindow::refreshIndex ( )
slot

References HelpIndex::makeIndex().

Referenced by HelpWindow().

void HelpWindow::resizeEvent ( QResizeEvent *  e)
protectedvirtual
void HelpWindow::saveProperties ( KviConfigurationFile cfg)
protectedvirtual
void HelpWindow::searchInIndex ( const QString &  s)
slot

References i, m_pIndexListWidget, and t().

Referenced by HelpWindow().

void HelpWindow::searchSelected ( QListWidgetItem *  item)
slot
void HelpWindow::showIndexTopic ( )
slot
void HelpWindow::startSearch ( )
slot
QTextBrowser * HelpWindow::textBrowser ( )

Member Data Documentation

QStringList HelpWindow::m_foundDocs
protected

Referenced by startSearch().

KviTalHBox* HelpWindow::m_pBottomLayout
protected
QPushButton* HelpWindow::m_pBtnRefreshIndex
protected
QPushButton* HelpWindow::m_pCancelButton
protected

Referenced by HelpWindow().

HelpWidget* HelpWindow::m_pHelpWidget
protected

Referenced by helpWidget(), and HelpWindow().

KviTalListWidget* HelpWindow::m_pIndexListWidget
protected
QLineEdit* HelpWindow::m_pIndexSearch
protected
KviTalVBox* HelpWindow::m_pIndexTab
protected

Referenced by HelpWindow().

QProgressBar* HelpWindow::m_pProgressBar
protected
KviTalListWidget* HelpWindow::m_pResultBox
protected

Referenced by HelpWindow(), and startSearch().

KviTalVBox* HelpWindow::m_pSearchTab
protected

Referenced by HelpWindow().

QTabWidget* HelpWindow::m_pTabWidget
protected

Referenced by HelpWindow().

QLineEdit* HelpWindow::m_pTermsEdit
protected

Referenced by HelpWindow(), and startSearch().

KviTalVBox* HelpWindow::m_pToolBar
protected

Referenced by HelpWindow().

QStringList HelpWindow::m_terms
protected

Referenced by startSearch().


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