|
| BpsReportSection (const BpsReportElement &aElement, BpsReport *aParent) |
| The constructor. More...
|
|
| BpsReportElement (const BpsReportElement &aElement, QObject *aParent=nullptr, bool aCopyChilds=true) |
| Copy-constructor for BpsReportElement. More...
|
|
| BpsReportElement (Type aType, QObject *aParent=nullptr) |
| Constructor for BpsReportElement. More...
|
|
BpsReportElement * | childElement (const QString &aName) const |
| Get the named child element. More...
|
|
QGraphicsItem * | createGraphicsItem (int aResolution, const QPointF &aOffset) const |
| Creates a graphics item for external use. More...
|
|
BpsReportElement * | firstChild () const |
| Get first child element. More...
|
|
QGraphicsItem * | graphicsItem () const |
| Get a pointer to the internal graphics item. More...
|
|
QLineF | handleLine () const |
| Get the line where the handles should be placed on for single selection. More...
|
|
QRectF | handleRect () const |
| Get the rectangle where the sizing handles should be placed on. More...
|
|
void | insertChild (int aIndex, BpsReportElement *aChild) |
| Insert a child at the specified position in the list. More...
|
|
BpsReportElement * | lastChild () const |
| Get last child element. More...
|
|
QPointF | offset () const |
| Get the current drawing offset. More...
|
|
BpsReportElement * | parentElement () const |
| Get the parent element. More...
|
|
int | resolution () const |
| Get current drawing resolution. More...
|
|
void | setOffset (const QPointF &aOffset) |
| Set the drawing offset in millimeters. More...
|
|
void | setResolution (int aResolution) |
| Sets the resolution as number of points per inch. More...
|
|
Type | type () const |
|
Type | typeByName (const QString &aTypeName) const |
|
QString | typeName () const |
|
void | addAttribute (const char *aProperty, const char *aAttribute, const QVariant &aValue=true) |
| Adds or remove an attribute to/from an existing property. More...
|
|
void | addProperty (const char *aName, const QVariant &aValue) |
| Add or remove a property. More...
|
|
void | appendChild (BpsPropertyObject *aChild) |
| Appends a child to the end of the children list. More...
|
|
QVariant | attribute (const char *aProperty, const char *aAttribute) const |
| Get the attributes value. More...
|
|
QList< QByteArray > | attributeNames (const char *aProperty) const |
| Get a list of all attributes defined for a certain property. More...
|
|
| BpsPropertyObject (const BpsPropertyObject &aOther) |
| Copy-constructor for BpsPropertyObject. More...
|
|
| BpsPropertyObject (const QString &aName, QObject *aParent=nullptr) |
| Constructor for BpsPropertyObject. More...
|
|
| BpsPropertyObject (QObject *aParent=nullptr) |
| Constructor for BpsPropertyObject. More...
|
|
BpsPropertyObject * | childAt (int aIndex) const |
| Get pointer to indexed child element. More...
|
|
int | childCount () const |
|
int | childIndex (BpsPropertyObject *aChild) const |
| Get index of a child. More...
|
|
QList< BpsPropertyObject * > | children () const |
|
void | clear () |
| Removes all dynamic properties and deletes all children. More...
|
|
void | emitValues () |
| Emits valueChanged() for all properties.
|
|
bool | hasProperty (const char *aName) const |
| Check if a property with given name has been added by BpsPropertyObject::addProperty(). More...
|
|
void | insertChild (int aIndex, BpsPropertyObject *aChild) |
| Insert a child at the specified position in the children list. More...
|
|
bool | isModified () const |
|
bool | isValid (BpsPropertyObject *aObject) const |
|
void | loadXml (const QString &aDocType, const QString &aXml) |
| Load the object from XML. More...
|
|
QString | makeXml (const QString &aDocType, bool aFormat=false) const |
| Creates XML to save the object and its children. More...
|
|
void | moveChild (int aOldIndex, int aNewIndex) |
| Move a child in the list. More...
|
|
BpsPropertyObject & | operator= (const BpsPropertyObject &aOther) |
| Assignment operator. More...
|
|
BpsPropertyObject * | parent () const |
| Get the parent of this object. More...
|
|
QString | propertyAsString (const char *aName) const |
| Gets a string representation of the value. More...
|
|
BpsPropertyObject * | removeChild (BpsPropertyObject *aChild) |
| Remove a child. More...
|
|
BpsPropertyObject * | removeChild (int aIndex) |
| Remove a child. More...
|
|
bool | blockSignals (bool block) |
|
const QObjectList & | children () const const |
|
QMetaObject::Connection | connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const const |
|
void | deleteLater () |
|
void | destroyed (QObject *obj) |
|
bool | disconnect (const char *signal, const QObject *receiver, const char *method) const const |
|
bool | disconnect (const QObject *receiver, const char *method) const const |
|
void | dumpObjectInfo () |
|
void | dumpObjectInfo () const const |
|
void | dumpObjectTree () |
|
void | dumpObjectTree () const const |
|
QList< QByteArray > | dynamicPropertyNames () const const |
|
virtual bool | event (QEvent *e) |
|
virtual bool | eventFilter (QObject *watched, QEvent *event) |
|
T | findChild (const QString &name, Qt::FindChildOptions options) const const |
|
QList< T > | findChildren (const QRegExp ®Exp, Qt::FindChildOptions options) const const |
|
QList< T > | findChildren (const QRegularExpression &re, Qt::FindChildOptions options) const const |
|
QList< T > | findChildren (const QString &name, Qt::FindChildOptions options) const const |
|
bool | inherits (const char *className) const const |
|
void | installEventFilter (QObject *filterObj) |
|
bool | isWidgetType () const const |
|
bool | isWindowType () const const |
|
void | killTimer (int id) |
|
virtual const QMetaObject * | metaObject () const const |
|
void | moveToThread (QThread *targetThread) |
|
QString | objectName () const const |
|
void | objectNameChanged (const QString &objectName) |
|
QObject * | parent () const const |
|
QVariant | property (const char *name) const const |
|
| Q_CLASSINFO (Name, Value) |
|
| Q_DISABLE_COPY (Class) |
|
| Q_DISABLE_COPY_MOVE (Class) |
|
| Q_DISABLE_MOVE (Class) |
|
| Q_EMIT Q_EMIT |
|
| Q_ENUM (...) |
|
| Q_ENUM_NS (...) |
|
| Q_ENUMS (...) |
|
| Q_FLAG (...) |
|
| Q_FLAG_NS (...) |
|
| Q_FLAGS (...) |
|
| Q_GADGET Q_GADGET |
|
| Q_INTERFACES (...) |
|
| Q_INVOKABLE Q_INVOKABLE |
|
| Q_NAMESPACE Q_NAMESPACE |
|
| Q_NAMESPACE_EXPORT (EXPORT_MACRO) |
|
| Q_OBJECT Q_OBJECT |
|
| Q_PROPERTY (...) |
|
| Q_REVISION Q_REVISION |
|
| Q_SET_OBJECT_NAME (Object) |
|
| Q_SIGNAL Q_SIGNAL |
|
| Q_SIGNALS Q_SIGNALS |
|
| Q_SLOT Q_SLOT |
|
| Q_SLOTS Q_SLOTS |
|
T | qFindChild (const QObject *obj, const QString &name) |
|
QList< T > | qFindChildren (const QObject *obj, const QRegExp ®Exp) |
|
QList< T > | qFindChildren (const QObject *obj, const QString &name) |
|
| QObject (QObject *parent) |
|
T | qobject_cast (const QObject *object) |
|
T | qobject_cast (QObject *object) |
|
| QT_NO_NARROWING_CONVERSIONS_IN_CONNECT QT_NO_NARROWING_CONVERSIONS_IN_CONNECT |
|
void | removeEventFilter (QObject *obj) |
|
void | setObjectName (const QString &name) |
|
void | setParent (QObject *parent) |
|
bool | setProperty (const char *name, const QVariant &value) |
|
bool | signalsBlocked () const const |
|
int | startTimer (int interval, Qt::TimerType timerType) |
|
int | startTimer (std::chrono::milliseconds time, Qt::TimerType timerType) |
|
QThread * | thread () const const |
|
|
enum | Type { TypeUnknown
, TypeReport
, TypeSection
, TypeSimpletext
, TypeRichtext
, TypeLine
, TypeRectangle
, TypeEllipse
, TypeBarcode
, TypePixmap
} |
| Element type enumeration. More...
|
|
void | childInserted (int aIndex, BpsPropertyObject *aChild) |
| This signal is emitted when a new child is inserted. More...
|
|
void | childMoved (int aOldIndex, int aNewIndex) |
| This signal is emitted when a child is moved. More...
|
|
void | childRemoved (int aIndex, BpsPropertyObject *aChild) |
| This signal is emitted when a child is removed. More...
|
|
void | modifiedChanged (bool aModified) |
| This signal is emitted when the modification status is changed. More...
|
|
void | objectChanged () |
| This signal is emitted whenever anything in the object or any of its descendants (children, grandchildren, ...) is changed. More...
|
|
void | propertyChanged (const QByteArray &aName, const QVariant &aNewValue, const QVariant &aOldValue) |
| This signal is emitted whenever a property changes, or after emitValues(). More...
|
|
QMetaObject::Connection | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type) |
|
QMetaObject::Connection | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type) |
|
QMetaObject::Connection | connect (const QObject *sender, PointerToMemberFunction signal, const QObject *context, Functor functor, Qt::ConnectionType type) |
|
QMetaObject::Connection | connect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method, Qt::ConnectionType type) |
|
QMetaObject::Connection | connect (const QObject *sender, PointerToMemberFunction signal, Functor functor) |
|
bool | disconnect (const QMetaObject::Connection &connection) |
|
bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method) |
|
bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method) |
|
bool | disconnect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method) |
|
QString | tr (const char *sourceText, const char *disambiguation, int n) |
|
QString | trUtf8 (const char *sourceText, const char *disambiguation, int n) |
|
typedef | QObjectList |
|
virtual BpsPropertyObject * | xmlCreateObject (const QString &aTagName, int aLevel) const |
| Create a new object while processing loadXml(). More...
|
|
virtual QString | xmlTagName (int aLevel) const |
| Define a XML tag for the element of the level. More...
|
|
virtual void | childEvent (QChildEvent *event) |
|
virtual void | connectNotify (const QMetaMethod &signal) |
|
virtual void | customEvent (QEvent *event) |
|
virtual void | disconnectNotify (const QMetaMethod &signal) |
|
bool | isSignalConnected (const QMetaMethod &signal) const const |
|
int | receivers (const char *signal) const const |
|
QObject * | sender () const const |
|
int | senderSignalIndex () const const |
|
virtual void | timerEvent (QTimerEvent *event) |
|
| objectName |
|
A report section will typically be created by calling BpsReport::createSection() from within the report script.