Crossfire Server, Trunk
CREReportDialog Class Reference

#include <CREReportDialog.h>

+ Inheritance diagram for CREReportDialog:
+ Collaboration diagram for CREReportDialog:

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 24 of file CREReportDialog.h.

Constructor & Destructor Documentation

◆ CREReportDialog()

CREReportDialog::CREReportDialog ( )

Definition at line 19 of file CREReportDialog.cpp.

References accept(), currentRowChanged(), 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 80 of file CREReportDialog.cpp.

References altar_valkyrie::accept(), myReports, saveCurrentReport(), 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

Definition at line 152 of file CREReportDialog.cpp.

References myDisplay, myFooter, myHeader, myList, myName, myReportIndex, myReports, mySort, and CREReportDefinitionManager::reports().

Referenced by CREReportDialog().

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

◆ onAdd

void CREReportDialog::onAdd ( )
protectedslot

Definition at line 102 of file CREReportDialog.cpp.

Referenced by CREReportDialog().

+ Here is the caller graph for this function:

◆ onDelete

void CREReportDialog::onDelete ( )
protectedslot

Definition at line 112 of file CREReportDialog.cpp.

Referenced by CREReportDialog().

+ Here is the caller graph for this function:

◆ onHelp

void CREReportDialog::onHelp ( )
protectedslot

Definition at line 96 of file CREReportDialog.cpp.

Referenced by CREReportDialog().

+ Here is the caller graph for this function:

◆ refreshList()

void CREReportDialog::refreshList ( )
protected

Definition at line 127 of file CREReportDialog.cpp.

References myReportIndex, myReports, report::report(), and CREReportDefinitionManager::reports().

Referenced by CREReportDialog().

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

◆ reject()

void CREReportDialog::reject ( )
protectedvirtual

Definition at line 88 of file CREReportDialog.cpp.

Referenced by CREReportDialog().

+ Here is the caller graph for this function:

◆ saveCurrentReport()

void CREReportDialog::saveCurrentReport ( )
protected

Definition at line 138 of file CREReportDialog.cpp.

Referenced by accept().

+ Here is the caller graph for this function:

Field Documentation

◆ myDisplay

QTextEdit* CREReportDialog::myDisplay
protected

Definition at line 36 of file CREReportDialog.h.

Referenced by CREReportDialog(), and currentRowChanged().

◆ myFooter

QTextEdit* CREReportDialog::myFooter
protected

Definition at line 37 of file CREReportDialog.h.

Referenced by CREReportDialog(), and currentRowChanged().

◆ myHeader

QTextEdit* CREReportDialog::myHeader
protected

Definition at line 34 of file CREReportDialog.h.

Referenced by CREReportDialog(), and currentRowChanged().

◆ myList

QListWidget* CREReportDialog::myList
protected

Definition at line 32 of file CREReportDialog.h.

Referenced by CREReportDialog(), and currentRowChanged().

◆ myName

QLineEdit* CREReportDialog::myName
protected

Definition at line 33 of file CREReportDialog.h.

Referenced by CREReportDialog(), and currentRowChanged().

◆ myReportIndex

int CREReportDialog::myReportIndex
protected

Definition at line 39 of file CREReportDialog.h.

Referenced by currentRowChanged(), and refreshList().

◆ myReports

CREReportDefinitionManager CREReportDialog::myReports
protected

Definition at line 38 of file CREReportDialog.h.

Referenced by accept(), CREReportDialog(), currentRowChanged(), and refreshList().

◆ mySort

QTextEdit* CREReportDialog::mySort
protected

Definition at line 35 of file CREReportDialog.h.

Referenced by CREReportDialog(), and currentRowChanged().


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