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

#include <OptionsDialog.h>

+ Inheritance diagram for OptionsDialog:

Public Member Functions

 OptionsDialog (QWidget *par, const QString &szGroup, bool bModal)
 
void search (const QString &szKeywords)
 
void search (const QStringList &lKeywords)
 
 ~OptionsDialog ()
 

Protected Member Functions

void apply (bool bDialogAboutToClose)
 
virtual void closeEvent (QCloseEvent *e)
 
virtual void keyPressEvent (QKeyEvent *e)
 
bool recursiveSearch (OptionsDialogTreeWidgetItem *pItem, const QStringList &lKeywords)
 
bool searchInSelectors (KviOptionsWidget *pWidget, const QStringList &lKeywords)
 
virtual void showEvent (QShowEvent *e)
 

Private Slots

void applyClicked ()
 
void cancelClicked ()
 
void okClicked ()
 
void pageWantsToSwitchToAdvancedPage (KviOptionsWidget *pPage)
 
void searchClicked ()
 
void searchLineEditTextChanged (const QString &)
 
void treeWidgetItemSelectionChanged (QTreeWidgetItem *it, QTreeWidgetItem *prev)
 

Private Member Functions

void fillTreeWidget (QTreeWidgetItem *p, KviPointerList< OptionsWidgetInstanceEntry > *l, const QString &szGroup, bool bNotContainedOnly=false)
 
void recursiveCommit (OptionsDialogTreeWidgetItem *it)
 

Private Attributes

QLabel * m_pCategoryLabel
 
OptionsDialogFrontWidgetm_pFrontWidget
 
QToolButton * m_pSearchButton
 
QLineEdit * m_pSearchLineEdit
 
QTreeWidget * m_pTreeWidget
 
QStackedWidget * m_pWidgetStack
 
QString m_szGroup
 

Constructor & Destructor Documentation

OptionsDialog::OptionsDialog ( QWidget *  par,
const QString &  szGroup,
bool  bModal 
)
OptionsDialog::~OptionsDialog ( )

Member Function Documentation

void OptionsDialog::apply ( bool  bDialogAboutToClose)
protected
void OptionsDialog::applyClicked ( )
privateslot

References apply().

Referenced by OptionsDialog().

void OptionsDialog::cancelClicked ( )
privateslot

Referenced by OptionsDialog().

void OptionsDialog::closeEvent ( QCloseEvent *  e)
protectedvirtual
void OptionsDialog::fillTreeWidget ( QTreeWidgetItem *  p,
KviPointerList< OptionsWidgetInstanceEntry > *  l,
const QString &  szGroup,
bool  bNotContainedOnly = false 
)
private
void OptionsDialog::keyPressEvent ( QKeyEvent *  e)
protectedvirtual
void OptionsDialog::okClicked ( )
privateslot

References apply().

Referenced by OptionsDialog().

void OptionsDialog::pageWantsToSwitchToAdvancedPage ( KviOptionsWidget pPage)
privateslot
void OptionsDialog::recursiveCommit ( OptionsDialogTreeWidgetItem it)
private
bool OptionsDialog::recursiveSearch ( OptionsDialogTreeWidgetItem pItem,
const QStringList &  lKeywords 
)
protected
void OptionsDialog::search ( const QString &  szKeywords)

Referenced by searchClicked().

void OptionsDialog::search ( const QStringList &  lKeywords)

References i, m_pTreeWidget, and recursiveSearch().

void OptionsDialog::searchClicked ( )
privateslot

References m_pSearchLineEdit, and search().

Referenced by OptionsDialog().

bool OptionsDialog::searchInSelectors ( KviOptionsWidget pWidget,
const QStringList &  lKeywords 
)
protected
void OptionsDialog::searchLineEditTextChanged ( const QString &  )
privateslot

References m_pSearchButton, and m_pSearchLineEdit.

Referenced by OptionsDialog().

void OptionsDialog::showEvent ( QShowEvent *  e)
protectedvirtual

References g_pApp, g_pMainWindow, h, r, and w.

void OptionsDialog::treeWidgetItemSelectionChanged ( QTreeWidgetItem *  it,
QTreeWidgetItem *  prev 
)
privateslot

Member Data Documentation

QLabel* OptionsDialog::m_pCategoryLabel
private
OptionsDialogFrontWidget* OptionsDialog::m_pFrontWidget
private

Referenced by OptionsDialog().

QToolButton* OptionsDialog::m_pSearchButton
private
QLineEdit* OptionsDialog::m_pSearchLineEdit
private
QTreeWidget* OptionsDialog::m_pTreeWidget
private
QStackedWidget* OptionsDialog::m_pWidgetStack
private
QString OptionsDialog::m_szGroup
private

Referenced by OptionsDialog(), and ~OptionsDialog().


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