gSAFE
1.3.8
|
#include <guilib.h>
Inherits QFrame.
Public Slots | |
int | dialogPrint (void) |
int | dialogXml (void) |
int | itemActivated (const QString &s) |
int | itemAlternateActivated (const QString &s) |
int | litemChanged (const QString &s) |
int | sortByColumn (int col) |
int | toBegin () |
int | toEnd () |
int | updateDisplay (void) |
Signals | |
void | listItemChanged (void) |
Public Member Functions | |
HDispList (QWidget *parent, HList *d, int datamodep=FULL_CLEAN, int ddata=DONT_DELETE_DATA) | |
~HDispList (void) | |
HTableBrowser * | getBrowserObjectClass (void) |
HList * | getDataClass (void) |
Protected Member Functions | |
void | keyPressEvent (QKeyEvent *e) |
Protected Attributes | |
HList * | data |
The HList data pointer. | |
int | datamode |
Data handling mode. | |
int | deletedata |
Data allocation handling mode. | |
HTableBrowser * | list |
The HTableBrowser object. | |
HDispList is the GUI class to view/manipulate the HList objects.
You have to pass the HList in parameter, and the HDispList will automatically build the necessary gui. This class is uses a HTableBrowser to show the data. This is a QFrame descendant, so you can put it to layouts, widgets, dialogs.
The colors of the column is came from the metadata object (From HDataField -s).
HDispList::HDispList | ( | QWidget * | parent, |
HList * | d, | ||
int | datamodep = FULL_CLEAN , |
||
int | ddata = DONT_DELETE_DATA |
||
) |
Creates a HDispList
parent | the parent GUI widget (QWidget descendant) |
d | the metadata object to show. This case it means a HList object |
datamodep | :The metadata instance handling of GUI calsses (What the GUI class do with the metadata pointer on starting and destorying )
|
ddata | : This define tells what happend with the metadata if the gui object is deleted.
|
Definition at line 2350 of file guilib.cpp.
HDispList::~HDispList | ( | void | ) |
Destructor
Definition at line 2442 of file guilib.cpp.
|
slot |
Shows the print preview dialog
Definition at line 2426 of file guilib.cpp.
|
slot |
Shows the xml output dialog
Definition at line 2434 of file guilib.cpp.
|
inline |
Returns the HTableBrowser instance working inside
|
inline |
|
slot |
This slot is received the itemActivated signal of HTableBrowser. It passes down the action to HList. Don't use it, don't call directly!
Definition at line 2502 of file guilib.cpp.
|
slot |
This slot is received the alternateActivateItem signal of HTableBrowser. It passes down the action to HList. Don't use it, don't call directly!
Definition at line 2511 of file guilib.cpp.
|
signal |
This signal is emitted when the current item is changed. (When the cursor moves)
|
slot |
This slot is received the itemChanged signal of HTableBrowser. Don't use it
Definition at line 2412 of file guilib.cpp.
|
slot |
Sets the sorting of the HTableBrowser
Definition at line 2419 of file guilib.cpp.
|
inlineslot |
|
inlineslot |
|
slot |
This slot is activated by the metadata object, when the data modified in the memory. This means, if this function is called, the gui will re-read and show the new values of the metadata class.
Definition at line 2455 of file guilib.cpp.