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

A dialog which allow the user to choose which elements to restore. More...

#include <KviDefaultScript.h>

+ Inheritance diagram for KviDefaultScriptDialog:

Public Member Functions

 KviDefaultScriptDialog ()
 Constructs the default script dialog. More...
 
 ~KviDefaultScriptDialog ()
 Destroys the default script dialog. More...
 

Protected Slots

virtual void accept ()
 Accepts the dialog. More...
 
void advanced ()
 Open/close the advanced widget. More...
 
virtual void reject ()
 Rejects the dialog. More...
 
void toggleAll (bool)
 Enables or disables all checkboxes. More...
 

Protected Attributes

QCheckBox * m_pAction
 
QCheckBox * m_pAddon
 
QGroupBox * m_pAdvanced
 
QPushButton * m_pAdvancedButton
 
QCheckBox * m_pAlias
 
QCheckBox * m_pAll
 
QCheckBox * m_pClass
 
QCheckBox * m_pData
 
QCheckBox * m_pEvent
 
QCheckBox * m_pPopup
 
QCheckBox * m_pRaw
 
QCheckBox * m_pToolbar
 

Friends

class KviDefaultScriptManager
 

Detailed Description

A dialog which allow the user to choose which elements to restore.

Constructor & Destructor Documentation

KviDefaultScriptDialog::KviDefaultScriptDialog ( )
KviDefaultScriptDialog::~KviDefaultScriptDialog ( )
default

Destroys the default script dialog.

Member Function Documentation

void KviDefaultScriptDialog::accept ( )
protectedvirtualslot

Accepts the dialog.

Called when the user clicks on 'Ok'

Returns
void

Referenced by KviDefaultScriptDialog().

void KviDefaultScriptDialog::advanced ( )
protectedslot

Open/close the advanced widget.

Called when the user clicks on 'Advanced...'

Returns
void

References m_pAdvanced, and m_pAdvancedButton.

Referenced by KviDefaultScriptDialog().

void KviDefaultScriptDialog::reject ( )
protectedvirtualslot

Rejects the dialog.

Called when the user clicks on 'Cancel' or closes the dialog using the window decoration or pressing ESC

Returns
void

Referenced by KviDefaultScriptDialog().

void KviDefaultScriptDialog::toggleAll ( bool  )
protectedslot

Enables or disables all checkboxes.

Called when the user (de)selects the 'All' one

Returns
void

References m_pAction, m_pAddon, m_pAlias, m_pClass, m_pEvent, m_pPopup, m_pRaw, and m_pToolbar.

Referenced by KviDefaultScriptDialog().

Friends And Related Function Documentation

friend class KviDefaultScriptManager
friend

Member Data Documentation

QCheckBox* KviDefaultScriptDialog::m_pAction
protected
QCheckBox* KviDefaultScriptDialog::m_pAddon
protected
QGroupBox* KviDefaultScriptDialog::m_pAdvanced
protected

Referenced by advanced(), and KviDefaultScriptDialog().

QPushButton* KviDefaultScriptDialog::m_pAdvancedButton
protected

Referenced by advanced(), and KviDefaultScriptDialog().

QCheckBox* KviDefaultScriptDialog::m_pAlias
protected
QCheckBox* KviDefaultScriptDialog::m_pAll
protected
QCheckBox* KviDefaultScriptDialog::m_pClass
protected
QCheckBox* KviDefaultScriptDialog::m_pData
protected
QCheckBox* KviDefaultScriptDialog::m_pEvent
protected
QCheckBox* KviDefaultScriptDialog::m_pPopup
protected
QCheckBox* KviDefaultScriptDialog::m_pRaw
protected
QCheckBox* KviDefaultScriptDialog::m_pToolbar
protected

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