Eneboo - Documentación para desarrolladores
Clases | Métodos públicos | Métodos públicos estáticos
Referencia de la Clase Uic

User Interface Compiler. Más...

#include <uic.h>

Diagrama de herencias de Uic
Qt

Lista de todos los miembros.

Clases

struct  Buddy
struct  CustomInclude

Métodos públicos

 Uic (const QString &fn, const char *outputFn, QTextStream &out, QDomDocument doc, bool decl, bool subcl, const QString &trm, const QString &subclname, bool omitForwardDecls)
void createFormDecl (const QDomElement &e)
void createFormImpl (const QDomElement &e)
void createSubDecl (const QDomElement &e, const QString &subclname)
void createSubImpl (const QDomElement &e, const QString &subclname)
void createObjectDecl (const QDomElement &e)
void createSpacerDecl (const QDomElement &e)
void createActionDecl (const QDomElement &e)
void createToolbarDecl (const QDomElement &e)
void createMenuBarDecl (const QDomElement &e)
void createPopupMenuDecl (const QDomElement &e)
void createActionImpl (const QDomElement &e, const QString &parent)
void createToolbarImpl (const QDomElement &e, const QString &parentClass, const QString &parent)
void createMenuBarImpl (const QDomElement &e, const QString &parentClass, const QString &parent)
void createPopupMenuImpl (const QDomElement &e, const QString &parentClass, const QString &parent)
QString createObjectImpl (const QDomElement &e, const QString &parentClass, const QString &parent, const QString &layout=QString::null)
QString createLayoutImpl (const QDomElement &e, const QString &parentClass, const QString &parent, const QString &layout=QString::null)
QString createObjectInstance (const QString &objClass, const QString &parent, const QString &objName)
QString createSpacerImpl (const QDomElement &e, const QString &parentClass, const QString &parent, const QString &layout=QString::null)
void createExclusiveProperty (const QDomElement &e, const QString &exclusiveProp)
QString createListBoxItemImpl (const QDomElement &e, const QString &parent, QString *value=0)
QString createIconViewItemImpl (const QDomElement &e, const QString &parent)
QString createListViewColumnImpl (const QDomElement &e, const QString &parent, QString *value=0)
QString createTableRowColumnImpl (const QDomElement &e, const QString &parent, QString *value=0)
QString createListViewItemImpl (const QDomElement &e, const QString &parent, const QString &parentItem)
void createColorGroupImpl (const QString &cg, const QDomElement &e)
QColorGroup loadColorGroup (const QDomElement &e)
QDomElement getObjectProperty (const QDomElement &e, const QString &name)
QString getPixmapLoaderFunction (const QDomElement &e)
QString getFormClassName (const QDomElement &e)
QString getClassName (const QDomElement &e)
QString getObjectName (const QDomElement &e)
QString getLayoutName (const QDomElement &e)
QString getInclude (const QString &className)
QString setObjectProperty (const QString &objClass, const QString &obj, const QString &prop, const QDomElement &e, bool stdset)
QString registerObject (const QString &name)
QString registeredName (const QString &name)
bool isObjectRegistered (const QString &name)
QStringList unique (const QStringList &)
QString trcall (const QString &sourceText, const QString &comment="")

Métodos públicos estáticos

static void embed (QTextStream &out, const char *project, const QStringList &images)

Descripción detallada

User Interface Compiler.

The class Uic encapsulates the user interface compiler (uic).


Documentación del constructor y destructor

Uic::Uic ( const QString fn,
const char *  outputFn,
QTextStream out,
QDomDocument  doc,
bool  decl,
bool  subcl,
const QString trm,
const QString subclname,
bool  omitForwardDecls 
)

Documentación de las funciones miembro

void Uic::createActionDecl ( const QDomElement e)
void Uic::createActionImpl ( const QDomElement e,
const QString parent 
)
void Uic::createColorGroupImpl ( const QString name,
const QDomElement e 
)

Creates a colorgroup with name name from the color group cg

void Uic::createExclusiveProperty ( const QDomElement e,
const QString exclusiveProp 
)

Creates a set-call for property exclusiveProp of the object given in e.

If the object does not have this property, the function does nothing.

Exclusive properties are used to generate the implementation of application font or palette change handlers in createFormImpl().

void Uic::createFormDecl ( const QDomElement e)

Creates a declaration (header file) for the form given in e

Ver también:
createFormImpl(), createObjectDecl()
void Uic::createFormImpl ( const QDomElement e)

Creates an implementation (cpp-file) for the form given in e.

Ver también:
createFormDecl(), createObjectImpl()
QString Uic::createIconViewItemImpl ( const QDomElement e,
const QString parent 
)

Creates implementation of an iconview item tag.

QString Uic::createLayoutImpl ( const QDomElement e,
const QString parentClass,
const QString parent,
const QString layout = QString::null 
)

Creates the implementation of a layout tag. Called from createObjectImpl().

QString Uic::createListBoxItemImpl ( const QDomElement e,
const QString parent,
QString value = 0 
)

Creates implementation of an listbox item tag.

QString Uic::createListViewColumnImpl ( const QDomElement e,
const QString parent,
QString value = 0 
)

Creates implementation of an listview column tag.

QString Uic::createListViewItemImpl ( const QDomElement e,
const QString parent,
const QString parentItem 
)

Creates implementation of an listview item tag.

void Uic::createMenuBarDecl ( const QDomElement e)
void Uic::createMenuBarImpl ( const QDomElement e,
const QString parentClass,
const QString parent 
)
void Uic::createObjectDecl ( const QDomElement e)

Creates a declaration for the object given in e.

Children are not traversed recursively.

Ver también:
createObjectImpl()
QString Uic::createObjectImpl ( const QDomElement e,
const QString parentClass,
const QString parent,
const QString layout = QString::null 
)
QString Uic::createObjectInstance ( const QString objClass,
const QString parent,
const QString objName 
)

Creates an instance of class objClass, with parent parent and name objName

void Uic::createPopupMenuDecl ( const QDomElement e)
void Uic::createPopupMenuImpl ( const QDomElement e,
const QString parentClass,
const QString parent 
)
void Uic::createSpacerDecl ( const QDomElement e)

Creates declarations for spacer items that are children of e.

Ver también:
createObjectDecl()
QString Uic::createSpacerImpl ( const QDomElement e,
const QString parentClass,
const QString parent,
const QString layout = QString::null 
)
void Uic::createSubDecl ( const QDomElement e,
const QString subClass 
)

Creates a declaration ( headerfile ) for a subclass subClass of the form given in e

Ver también:
createSubImpl()
void Uic::createSubImpl ( const QDomElement e,
const QString subClass 
)

Creates an implementation for a subclass subClass of the form given in e

Ver también:
createSubDecl()
QString Uic::createTableRowColumnImpl ( const QDomElement e,
const QString parent,
QString value = 0 
)
void Uic::createToolbarDecl ( const QDomElement e)
void Uic::createToolbarImpl ( const QDomElement e,
const QString parentClass,
const QString parent 
)
void Uic::embed ( QTextStream out,
const char *  project,
const QStringList images 
) [static]
QString Uic::getClassName ( const QDomElement e)

Extracts a class name from e.

QString Uic::getFormClassName ( const QDomElement e)

Extracts the forms class name from e

QString Uic::getInclude ( const QString className)

Returns include file for class className or a null string.

QString Uic::getLayoutName ( const QDomElement e)

Extracts an layout name from e. It's stored in the 'name' property of the preceeding sibling (the first child of a QLayoutWidget).

QString Uic::getObjectName ( const QDomElement e)

Extracts an object name from e. It's stored in the 'name' property.

QDomElement Uic::getObjectProperty ( const QDomElement e,
const QString name 
)

Extracts a named object property from e.

QString Uic::getPixmapLoaderFunction ( const QDomElement e)

Extracts a pixmap loader function from e

bool Uic::isObjectRegistered ( const QString name)

Returns whether the object name was registered yet or not.

QColorGroup Uic::loadColorGroup ( const QDomElement e)

Auxiliary function to load a color group. The colorgroup must not contain pixmaps.

QString Uic::registeredName ( const QString name)

Returns the registered name for the original name name or name if name wasn't registered.

Ver también:
registerObject(), isObjectRegistered()
QString Uic::registerObject ( const QString name)

Registers an object with name name.

The returned name is a valid variable identifier, as similar to name as possible and guaranteed to be unique within the form.

Ver también:
registeredName(), isObjectRegistered()
QString Uic::setObjectProperty ( const QString objClass,
const QString obj,
const QString prop,
const QDomElement e,
bool  stdset 
)

Attention: this function has to be in sync with Resource::saveProperty() and DomTool::elementToVariant. If you change one, change all.

QString Uic::trcall ( const QString sourceText,
const QString comment = "" 
)
QStringList Uic::unique ( const QStringList list)

Unifies the entries in stringlist list. Should really be a QStringList feature.


La documentación para esta clase fue generada a partir de los siguientes ficheros:
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'