Crossfire Server, Trunk
CREFilterDialog Class Reference

#include <CREFilterDialog.h>

+ Inheritance diagram for CREFilterDialog:
+ Collaboration diagram for CREFilterDialog:

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
 
AssetTextEditmyScript
 

Detailed Description

Definition at line 24 of file CREFilterDialog.h.

Constructor & Destructor Documentation

◆ CREFilterDialog()

CREFilterDialog::CREFilterDialog ( )

Definition at line 20 of file CREFilterDialog.cpp.

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

+ Here is the call graph for this function:

Member Function Documentation

◆ accept()

void CREFilterDialog::accept ( )
protectedvirtual

Definition at line 62 of file CREFilterDialog.cpp.

References altar_valkyrie::accept(), myFilters, saveCurrentFilter(), and settings.

Referenced by CREFilterDialog().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ currentRowChanged

void CREFilterDialog::currentRowChanged ( int  currentRow)
protectedslot

Definition at line 130 of file CREFilterDialog.cpp.

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

Referenced by CREFilterDialog().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ onAdd

void CREFilterDialog::onAdd ( )
protectedslot

Definition at line 83 of file CREFilterDialog.cpp.

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

Referenced by CREFilterDialog().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ onDelete

void CREFilterDialog::onDelete ( )
protectedslot

Definition at line 93 of file CREFilterDialog.cpp.

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

Referenced by CREFilterDialog().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ onHelp

void CREFilterDialog::onHelp ( )
protectedslot

Definition at line 78 of file CREFilterDialog.cpp.

Referenced by CREFilterDialog().

+ Here is the caller graph for this function:

◆ refreshList()

void CREFilterDialog::refreshList ( )
protected

Definition at line 108 of file CREFilterDialog.cpp.

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

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

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ reject()

void CREFilterDialog::reject ( )
protectedvirtual

Definition at line 70 of file CREFilterDialog.cpp.

Referenced by CREFilterDialog().

+ Here is the caller graph for this function:

◆ saveCurrentFilter()

void CREFilterDialog::saveCurrentFilter ( )
protected

Definition at line 119 of file CREFilterDialog.cpp.

References CREFilterDefinitionManager::filters(), myFilterIndex, myFilters, myList, myName, and myScript.

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

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Field Documentation

◆ myFilterIndex

int CREFilterDialog::myFilterIndex
protected

Definition at line 36 of file CREFilterDialog.h.

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

◆ myFilters

CREFilterDefinitionManager CREFilterDialog::myFilters
protected

◆ myList

QListWidget* CREFilterDialog::myList
protected

Definition at line 32 of file CREFilterDialog.h.

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

◆ myName

QLineEdit* CREFilterDialog::myName
protected

Definition at line 33 of file CREFilterDialog.h.

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

◆ myScript

AssetTextEdit* CREFilterDialog::myScript
protected

Definition at line 34 of file CREFilterDialog.h.

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


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