Ananas Library
0.9.5
|
Ananas catalogue type field editor. More...
#include <wcatalogeditor.h>
Public Slots | |
void | checkUserFields (QStringList &lst) |
void | select () |
void | edit () |
Signals | |
void | valueChanged (const QString &) |
void | selected (Q_ULLONG) |
void | destroyed_form () |
Public Member Functions | |
wCatalogEditor (wField *parent=0, const char *name=0, const char *catname=0) | |
wCatalogEditor (QWidget *w, int cat) | |
~wCatalogEditor () | |
QString | value () const |
void | setValue (QString newvalue) |
void | initCat (aDatabase *adb) |
QString | displayValue (Q_ULLONG id_element) const |
Public Attributes | |
QLabel * | label |
Protected Slots | |
void | openForm (const bool toSelect) |
Properties | |
QString | value |
Ananas catalogue type field editor.
wCatalogEditor::wCatalogEditor | ( | wField * | parent = 0 , |
const char * | name = 0 , |
||
const char * | catname = 0 |
||
) |
wCatalogEditor::~wCatalogEditor | ( | ) |
Destructor catalog editor.
QString wCatalogEditor::displayValue | ( | Q_ULLONG | id_element | ) | const |
Gets value for displaying.
id_element | (in) -unique id element or group |
Referenced by setValue().
|
slot |
Creates and shows form for edit catalog.
Referenced by aEngine::openEmbedCatalogueEditor().
void wCatalogEditor::initCat | ( | aDatabase * | adb | ) |
Initialisation catalog editor.
References aDatabase::cfg.
Referenced by aObjectsFactory::create(), aEngine::openEmbedCatalogueEditor(), and wCatalogEditor().
|
slot |
Handler signal click(). Creates and shows form for select catalog.
Referenced by aEngine::openEmbedCatalogueEditor().
void wCatalogEditor::setValue | ( | QString | newvalue | ) |
Sets id for displaying.
References displayValue(), and value.
|
readwrite |
Gets catalog editor value.
Referenced by setValue().