Definition LayoutData.h:14
LayoutData(QObject *parent=nullptr)
Constructor as QWidget.
static QString getFileSuffix()
Gets suffix used for layout files.
static LayoutData * from(QObject *target)
Gets the layout widget instance for the passed target if any.
bool getReadOnly() const
Property 'converted' get method.
virtual void openPropertyEditor(QObject *target)
Opens a property editor dialog for the given target in a derived class. The returned pointer can be u...
static bool hasMenuModifiers(Qt::KeyboardModifiers modifiers)
Returns true when the modifier are met for the context menu to popup.
virtual QDir getDirectory() const
Gets the directory of the loaded layout file.
gii::IdType getIdOffset() const
Gets the id offset for all Gii widgets. Only applied when a layout is loaded.
void setDirectory(const QDir &directory)
Gets the directory of the loaded layout file. Only has effect when getDirectory() is not overridden.
void setReadOnly(bool)
Property 'converted' set method.
virtual void popupContextMenu(QObject *target, const QPoint &pos)
Executes a popup from .
void setIdOffset(gii::IdType idOffset) const
Sets id offset for all Gii widgets. Only applied when a layout is loaded.
#define _GII_CLASS
Definition gii/global.h:38
InformationTypes::id_type IdType
Short type definition for Qt code.
Definition Namespace.h:16
Definition Application.h:10