gSAFE  1.3.8
Public Member Functions | List of all members
HPlainDMD Class Reference

#include <guilib.h>

Inherits QDialog.

Public Member Functions

 HPlainDMD (QWidget *parent, HBase *d, bool htmlmode=false)
 
 ~HPlainDMD (void)
 
HDispPlainDataMatrixgetHDispPlainDataMatrix (void)
 

Detailed Description

A dialog box class which contains a HDispPlainDataMatrix class. Use this class if you would like to show a HPlainDataMatrix in a popupped dialog.
This dialog can save the data to Excel XML format, can generate html form of the data which can be saved or opened in an outer editor( eg OpenOffice)
A screenshot of this dialog with a HPlainDatamatrix (This dialog will appear) :

hplaindmd.png

If the html export is enabled the dialog will show this:

hplaindmd_extra.png

This code below shows the way to show the dialog above.

// Creates a HPlainDataMatrix object
m->setHeader("Header1","Header2","Header3");
m->addRowStr("Red","Brown","Green");
m->addRowStr("Apple","Nut","Pear");
m->setTitle("Title");
//Show the HPlainDataMatrix object with HPlainDMD
HPlainDMD *d = new HPlainDMD(this,m,true);
d->setWindowTitle("HPlainDMD");
d->setWindowIcon(QIcon());
d->exec();
//Freeing memory
delete d;
delete m;

Definition at line 614 of file guilib.h.

Constructor & Destructor Documentation

HPlainDMD::HPlainDMD ( QWidget *  parent,
HBase d,
bool  htmlmode = false 
)

Creates a HPlainDMD See the parameters of HDispPlainDataMatrix::HDispPlainDataMatrix()

Definition at line 2318 of file guilib.cpp.

HPlainDMD::~HPlainDMD ( void  )

Destructor

Definition at line 2341 of file guilib.cpp.

Member Function Documentation

HDispPlainDataMatrix* HPlainDMD::getHDispPlainDataMatrix ( void  )
inline

Returns the HDispPlainDataMatrix object working inside

Definition at line 628 of file guilib.h.


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