Crossfire Server, Trunk  R20576
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::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

◆ accept()

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:

◆ currentRowChanged

void CREReportDialog::currentRowChanged ( int  currentRow)
protectedslot

◆ onAdd

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:

◆ onDelete

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:

◆ onHelp

void CREReportDialog::onHelp ( )
protectedslot

Definition at line 80 of file CREReportDialog.cpp.

Referenced by CREReportDialog().

Here is the caller graph for this function:

◆ refreshList()

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:

◆ reject()

void CREReportDialog::reject ( )
protectedvirtual

Definition at line 72 of file CREReportDialog.cpp.

Referenced by CREReportDialog().

Here is the caller graph for this function:

◆ saveCurrentReport()

void CREReportDialog::saveCurrentReport ( )
protected

Field Documentation

◆ myDisplay

QTextEdit* CREReportDialog::myDisplay
protected

Definition at line 24 of file CREReportDialog.h.

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

◆ myFooter

QTextEdit* CREReportDialog::myFooter
protected

Definition at line 25 of file CREReportDialog.h.

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

◆ myHeader

QTextEdit* CREReportDialog::myHeader
protected

Definition at line 22 of file CREReportDialog.h.

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

◆ myList

QListWidget* CREReportDialog::myList
protected

Definition at line 20 of file CREReportDialog.h.

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

◆ myName

QLineEdit* CREReportDialog::myName
protected

Definition at line 21 of file CREReportDialog.h.

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

◆ myReportIndex

int CREReportDialog::myReportIndex
protected

Definition at line 27 of file CREReportDialog.h.

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

◆ myReports

CREReportDefinitionManager CREReportDialog::myReports
protected

◆ mySort

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: