Ananas Library  0.9.5
Public Slots | Signals | Public Member Functions | Public Attributes | Protected Slots | Properties | List of all members
wCatalogEditor Class Reference

Ananas catalogue type field editor. More...

#include <wcatalogeditor.h>

Inheritance diagram for wCatalogEditor:

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
 

Detailed Description

Ananas catalogue type field editor.

Constructor & Destructor Documentation

wCatalogEditor::wCatalogEditor ( wField parent = 0,
const char *  name = 0,
const char *  catname = 0 
)

Creates catalog editor widget.

Parameters
name-
catname

References initCat().

wCatalogEditor::~wCatalogEditor ( )

Destructor catalog editor.

Member Function Documentation

QString wCatalogEditor::displayValue ( Q_ULLONG  id_element) const

Gets value for displaying.

Parameters
id_element(in) -unique id element or group

Referenced by setValue().

void wCatalogEditor::edit ( )
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().

void wCatalogEditor::select ( )
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.

Property Documentation

QString wCatalogEditor::value
readwrite

Gets catalog editor value.

Referenced by setValue().


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