#include <ConnectionParameterViewer.h>
Public Member Functions | |
| ConnectionParameterViewer (QWidget *parent, DBInterface *netDBInter, unsigned int cGrpID) | |
| bool | loadError () |
| ~ConnectionParameterViewer () | |
Protected Member Functions | |
| bool | characters (const QString &ch) |
| bool | endElement (const QString &, const QString &, const QString &) |
| bool | error (const QXmlParseException &exception) |
| QString | errorString () |
| bool | fatalError (const QXmlParseException &exception) |
| bool | startDocument () |
| bool | startElement (const QString &, const QString &, const QString &, const QXmlAttributes &) |
| bool | warning (const QXmlParseException &exception) |
Private Slots | |
| void | cancelButtonPressed () |
| void | okButtonPressed () |
Private Member Functions | |
| ConnectionParameterViewer (const ConnectionParameterViewer &) | |
| ConnectionParameterViewer | operator= (const ConnectionParameterViewer &) |
Private Attributes | |
| unsigned int | connGrpID |
| QString | currentElement |
| QHBoxLayout * | currentHBox |
| bool | errorState |
| QVBoxLayout * | mainVerticalBox |
| DBInterface * | networkDBInterface |
| bool | parseError |
| QString | parseErrorString |
Definition at line 42 of file ConnectionParameterViewer.h.
|
||||||||||||||||
|
Constructor. Definition at line 43 of file ConnectionParameterViewer.cpp. References cancelButtonPressed(), connGrpID, currentHBox, errorState, errorString(), mainVerticalBox, networkDBInterface, okButtonPressed(), parseError, and parseErrorString. |
|
|
Destructor. Definition at line 131 of file ConnectionParameterViewer.cpp. |
|
|
Declare copy constructor private so it cannot be used inadvertently. |
|
|
Hides the dialog. Definition at line 251 of file ConnectionParameterViewer.cpp. Referenced by ConnectionParameterViewer(). |
|
|
Called when parser encounters characters. Definition at line 152 of file ConnectionParameterViewer.cpp. References currentElement, currentHBox, mainVerticalBox, parseError, and parseErrorString. |
|
||||||||||||||||
|
Called when the parser encounters the end of an element. Definition at line 185 of file ConnectionParameterViewer.cpp. |
|
|
Called when the parser generates an error. Definition at line 194 of file ConnectionParameterViewer.cpp. References parseError, and parseErrorString. |
|
|
Returns a default error string. Definition at line 203 of file ConnectionParameterViewer.cpp. Referenced by ConnectionParameterViewer(). |
|
|
Called when the parser generates a fatal error. Definition at line 210 of file ConnectionParameterViewer.cpp. References parseError, and parseErrorString. |
|
|
Definition at line 142 of file ConnectionParameterViewer.cpp. References errorState. Referenced by ConnectionWidget::tableClicked(). |
|
|
Hides the dialog. Definition at line 257 of file ConnectionParameterViewer.cpp. Referenced by ConnectionParameterViewer(). |
|
|
Declare assignment private so it cannot be used inadvertently. |
|
|
Called when parser reaches the start of the document. Definition at line 219 of file ConnectionParameterViewer.cpp. References parseError, and parseErrorString. |
|
||||||||||||||||||||
|
Called when parser reaches the start of an element. Definition at line 227 of file ConnectionParameterViewer.cpp. References currentElement, and currentHBox. |
|
|
Called when the parser generates a warning. Definition at line 240 of file ConnectionParameterViewer.cpp. |
|
|
The connection group whose parameters are being displayed. Definition at line 76 of file ConnectionParameterViewer.h. Referenced by ConnectionParameterViewer(). |
|
|
Stores the current element. Definition at line 79 of file ConnectionParameterViewer.h. Referenced by characters(), and startElement(). |
|
|
The current horizontal box. Definition at line 88 of file ConnectionParameterViewer.h. Referenced by characters(), ConnectionParameterViewer(), and startElement(). |
|
|
Records if there has been an error during startup. Definition at line 94 of file ConnectionParameterViewer.h. Referenced by ConnectionParameterViewer(), and loadError(). |
|
|
The main vertical box for the widget. Definition at line 91 of file ConnectionParameterViewer.h. Referenced by characters(), and ConnectionParameterViewer(). |
|
|
Database connection. Definition at line 73 of file ConnectionParameterViewer.h. Referenced by ConnectionParameterViewer(). |
|
|
Records whether there has been an error during parsing. Definition at line 82 of file ConnectionParameterViewer.h. Referenced by characters(), ConnectionParameterViewer(), error(), fatalError(), and startDocument(). |
|
|
Error messages generated during parsing. Definition at line 85 of file ConnectionParameterViewer.h. Referenced by characters(), ConnectionParameterViewer(), error(), fatalError(), and startDocument(). |
1.4.4