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

#include <CREReportDialog.h>

Inheritance diagram for CREReportDialog:
Inheritance graph
Collaboration diagram for CREReportDialog:
Collaboration graph

Public Member Functions

 CREReportDialog ()
 

Protected Slots

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

Protected Member Functions

virtual void accept ()
 
void refreshList ()
 
virtual void reject ()
 
void saveCurrentReport ()
 

Protected Attributes

QTextEdit * myDisplay
 
QTextEdit * myFooter
 
QTextEdit * myHeader
 
QListWidget * myList
 
QLineEdit * myName
 
int myReportIndex
 
CREReportDefinitionManager myReports
 
QTextEdit * mySort
 

Detailed Description

Definition at line 12 of file CREReportDialog.h.

Constructor & Destructor Documentation

CREReportDialog::CREReportDialog ( )

Definition at line 7 of file CREReportDialog.cpp.

References accept(), currentRowChanged(), CRESettings::loadReports(), myDisplay, myFooter, myHeader, myList, myName, myReports, mySort, onAdd(), onDelete(), onHelp(), refreshList(), reject(), and settings.

Here is the call graph for this function:

Member Function Documentation

void CREReportDialog::accept ( )
protectedvirtual

Definition at line 64 of file CREReportDialog.cpp.

References myReports, saveCurrentReport(), CRESettings::saveReports(), and settings.

Referenced by CREReportDialog().

Here is the call graph for this function:

Here is the caller graph for this function:

void CREReportDialog::currentRowChanged ( int  currentRow)
protectedslot
void CREReportDialog::onAdd ( )
protectedslot

Definition at line 85 of file CREReportDialog.cpp.

References myList, myReports, refreshList(), CREReportDefinitionManager::reports(), saveCurrentReport(), and CREReportDefinition::setName().

Referenced by CREReportDialog().

Here is the call graph for this function:

Here is the caller graph for this function:

void CREReportDialog::onDelete ( )
protectedslot

Definition at line 95 of file CREReportDialog.cpp.

References myReportIndex, myReports, CREReportDefinition::name(), refreshList(), and CREReportDefinitionManager::reports().

Referenced by CREReportDialog().

Here is the call graph for this function:

Here is the caller graph for this function:

void CREReportDialog::onHelp ( )
protectedslot

Definition at line 80 of file CREReportDialog.cpp.

Referenced by CREReportDialog().

Here is the caller graph for this function:

void CREReportDialog::refreshList ( )
protected

Definition at line 110 of file CREReportDialog.cpp.

References myList, myReportIndex, myReports, CREReportDefinition::name(), and CREReportDefinitionManager::reports().

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

Here is the call graph for this function:

Here is the caller graph for this function:

void CREReportDialog::reject ( )
protectedvirtual

Definition at line 72 of file CREReportDialog.cpp.

Referenced by CREReportDialog().

Here is the caller graph for this function:

void CREReportDialog::saveCurrentReport ( )
protected

Field Documentation

QTextEdit* CREReportDialog::myDisplay
protected

Definition at line 24 of file CREReportDialog.h.

Referenced by CREReportDialog(), currentRowChanged(), and saveCurrentReport().

QTextEdit* CREReportDialog::myFooter
protected

Definition at line 25 of file CREReportDialog.h.

Referenced by CREReportDialog(), currentRowChanged(), and saveCurrentReport().

QTextEdit* CREReportDialog::myHeader
protected

Definition at line 22 of file CREReportDialog.h.

Referenced by CREReportDialog(), currentRowChanged(), and saveCurrentReport().

QListWidget* CREReportDialog::myList
protected

Definition at line 20 of file CREReportDialog.h.

Referenced by CREReportDialog(), onAdd(), refreshList(), and saveCurrentReport().

QLineEdit* CREReportDialog::myName
protected

Definition at line 21 of file CREReportDialog.h.

Referenced by CREReportDialog(), currentRowChanged(), and saveCurrentReport().

int CREReportDialog::myReportIndex
protected

Definition at line 27 of file CREReportDialog.h.

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

CREReportDefinitionManager CREReportDialog::myReports
protected
QTextEdit* CREReportDialog::mySort
protected

Definition at line 23 of file CREReportDialog.h.

Referenced by CREReportDialog(), currentRowChanged(), and saveCurrentReport().


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