Crossfire Server, Trunk  R20513
Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes
CREFilterDialog Class Reference

#include <CREFilterDialog.h>

Inheritance diagram for CREFilterDialog:
Inheritance graph
Collaboration diagram for CREFilterDialog:
Collaboration graph

Public Member Functions

 CREFilterDialog ()
 

Protected Slots

void currentRowChanged (int currentRow)
 
void onAdd ()
 
void onDelete ()
 
void onHelp ()
 

Protected Member Functions

virtual void accept ()
 
void refreshList ()
 
virtual void reject ()
 
void saveCurrentFilter ()
 

Protected Attributes

int myFilterIndex
 
CREFilterDefinitionManager myFilters
 
QListWidget * myList
 
QLineEdit * myName
 
QTextEdit * myScript
 

Detailed Description

Definition at line 12 of file CREFilterDialog.h.

Constructor & Destructor Documentation

CREFilterDialog::CREFilterDialog ( )

Definition at line 8 of file CREFilterDialog.cpp.

References accept(), currentRowChanged(), CRESettings::loadFilters(), myFilters, myList, myName, myScript, onAdd(), onDelete(), onHelp(), refreshList(), reject(), and settings.

Here is the call graph for this function:

Member Function Documentation

void CREFilterDialog::accept ( )
protectedvirtual

Definition at line 50 of file CREFilterDialog.cpp.

References myFilters, saveCurrentFilter(), CRESettings::saveFilters(), and settings.

Referenced by CREFilterDialog().

Here is the call graph for this function:

Here is the caller graph for this function:

void CREFilterDialog::currentRowChanged ( int  currentRow)
protectedslot

Definition at line 118 of file CREFilterDialog.cpp.

References CREFilterDefinition::filter(), CREFilterDefinitionManager::filters(), myFilterIndex, myFilters, myName, myScript, CREFilterDefinition::name(), and saveCurrentFilter().

Referenced by CREFilterDialog().

Here is the call graph for this function:

Here is the caller graph for this function:

void CREFilterDialog::onAdd ( )
protectedslot

Definition at line 71 of file CREFilterDialog.cpp.

References CREFilterDefinitionManager::filters(), myFilters, myList, refreshList(), saveCurrentFilter(), and CREFilterDefinition::setName().

Referenced by CREFilterDialog().

Here is the call graph for this function:

Here is the caller graph for this function:

void CREFilterDialog::onDelete ( )
protectedslot

Definition at line 81 of file CREFilterDialog.cpp.

References CREFilterDefinitionManager::filters(), myFilterIndex, myFilters, CREFilterDefinition::name(), and refreshList().

Referenced by CREFilterDialog().

Here is the call graph for this function:

Here is the caller graph for this function:

void CREFilterDialog::onHelp ( )
protectedslot

Definition at line 66 of file CREFilterDialog.cpp.

Referenced by CREFilterDialog().

Here is the caller graph for this function:

void CREFilterDialog::refreshList ( )
protected

Definition at line 96 of file CREFilterDialog.cpp.

References CREFilterDefinitionManager::filters(), myFilterIndex, myFilters, myList, and CREFilterDefinition::name().

Referenced by CREFilterDialog(), onAdd(), and onDelete().

Here is the call graph for this function:

Here is the caller graph for this function:

void CREFilterDialog::reject ( )
protectedvirtual

Definition at line 58 of file CREFilterDialog.cpp.

Referenced by CREFilterDialog().

Here is the caller graph for this function:

void CREFilterDialog::saveCurrentFilter ( )
protected

Definition at line 107 of file CREFilterDialog.cpp.

References CREFilterDefinitionManager::filters(), myFilterIndex, myFilters, myList, myName, myScript, CREFilterDefinition::name(), CREFilterDefinition::setFilter(), and CREFilterDefinition::setName().

Referenced by accept(), currentRowChanged(), and onAdd().

Here is the call graph for this function:

Here is the caller graph for this function:

Field Documentation

int CREFilterDialog::myFilterIndex
protected

Definition at line 24 of file CREFilterDialog.h.

Referenced by currentRowChanged(), onDelete(), refreshList(), and saveCurrentFilter().

CREFilterDefinitionManager CREFilterDialog::myFilters
protected
QListWidget* CREFilterDialog::myList
protected

Definition at line 20 of file CREFilterDialog.h.

Referenced by CREFilterDialog(), onAdd(), refreshList(), and saveCurrentFilter().

QLineEdit* CREFilterDialog::myName
protected

Definition at line 21 of file CREFilterDialog.h.

Referenced by CREFilterDialog(), currentRowChanged(), and saveCurrentFilter().

QTextEdit* CREFilterDialog::myScript
protected

Definition at line 22 of file CREFilterDialog.h.

Referenced by CREFilterDialog(), currentRowChanged(), and saveCurrentFilter().


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