Ananas Library 0.9.5
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::wCatalogEditor ( wField * parent = 0,
const char * name = 0,
const char * catname = 0 )

Creates catalog editor widget.

References initCat().

◆ ~wCatalogEditor()

wCatalogEditor::~wCatalogEditor ( )

Destructor catalog editor.

Member Function Documentation

◆ displayValue()

QString wCatalogEditor::displayValue ( Q_ULLONG id_element) const

Gets value for displaying.

Parameters
id_element(in) - unique id element or group

Referenced by setValue().

◆ edit

void wCatalogEditor::edit ( )
slot

Creates and shows form for edit catalog.

Referenced by aEngine::openEmbedCatalogueEditor().

◆ initCat()

void wCatalogEditor::initCat ( aDatabase * adb)

Initialisation catalog editor.

References aDatabase::cfg.

Referenced by aObjectsFactory::create(), aEngine::openEmbedCatalogueEditor(), and wCatalogEditor().

◆ select

void wCatalogEditor::select ( )
slot

Handler signal click(). Creates and shows form for select catalog.

Referenced by aEngine::openEmbedCatalogueEditor().

◆ setValue()

void wCatalogEditor::setValue ( QString newvalue)

Sets id for displaying.

References displayValue().

◆ value()

QString wCatalogEditor::value ( ) const

Gets catalog editor value.


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