A widget which is used to display and alter the value for a bool attribute.
Definition at line 417 of file widgets.h.
|
| AttributeSliderWithCheckbox (QWidget *pParent, int iWidth, acheckablefloat *pAttribute) |
|
| AttributeWidget (QWidget *pParent, int iWidth, Attribute *pAttribute) |
|
| ~AttributeWidget (void) |
|
bool | Validate (void) |
|
virtual void | MoveValue (int, int) |
|
virtual void | MoveContent (int iStart, int iEnd, bool bVisibleValue) |
|
virtual void | ChangeWidth (int iWidth, bool bVisibleValue) |
|
Attribute * | GetAttribute (void) const |
|
Node * | GetNode (void) const |
|
| QWidget (QWidget *parent=0, Qt::WindowFlags f=0) |
|
| ~QWidget () |
|
int | devType () const |
|
WId | winId () const |
|
void | createWinId () |
|
WId | internalWinId () const |
|
WId | effectiveWinId () const |
|
QStyle * | style () const |
|
void | setStyle (QStyle *) |
|
bool | isTopLevel () const |
|
bool | isWindow () const |
|
bool | isModal () const |
|
Qt::WindowModality | windowModality () const |
|
void | setWindowModality (Qt::WindowModality windowModality) |
|
bool | isEnabled () const |
|
bool | isEnabledTo (QWidget *) const |
|
bool | isEnabledToTLW () const |
|
QRect | frameGeometry () const |
|
const QRect & | geometry () const |
|
QRect | normalGeometry () const |
|
int | x () const |
|
int | y () const |
|
QPoint | pos () const |
|
QSize | frameSize () const |
|
QSize | size () const |
|
int | width () const |
|
int | height () const |
|
QRect | rect () const |
|
QRect | childrenRect () const |
|
QRegion | childrenRegion () const |
|
QSize | minimumSize () const |
|
QSize | maximumSize () const |
|
int | minimumWidth () const |
|
int | minimumHeight () const |
|
int | maximumWidth () const |
|
int | maximumHeight () const |
|
void | setMinimumSize (const QSize &) |
|
void | setMinimumSize (int minw, int minh) |
|
void | setMaximumSize (const QSize &) |
|
void | setMaximumSize (int maxw, int maxh) |
|
void | setMinimumWidth (int minw) |
|
void | setMinimumHeight (int minh) |
|
void | setMaximumWidth (int maxw) |
|
void | setMaximumHeight (int maxh) |
|
QSize | sizeIncrement () const |
|
void | setSizeIncrement (const QSize &) |
|
void | setSizeIncrement (int w, int h) |
|
QSize | baseSize () const |
|
void | setBaseSize (const QSize &) |
|
void | setBaseSize (int basew, int baseh) |
|
void | setFixedSize (const QSize &) |
|
void | setFixedSize (int w, int h) |
|
void | setFixedWidth (int w) |
|
void | setFixedHeight (int h) |
|
QPoint | mapToGlobal (const QPoint &) const |
|
QPoint | mapFromGlobal (const QPoint &) const |
|
QPoint | mapToParent (const QPoint &) const |
|
QPoint | mapFromParent (const QPoint &) const |
|
QPoint | mapTo (QWidget *, const QPoint &) const |
|
QPoint | mapFrom (QWidget *, const QPoint &) const |
|
QWidget * | window () const |
|
QWidget * | nativeParentWidget () const |
|
QWidget * | topLevelWidget () const |
|
const QPalette & | palette () const |
|
void | setPalette (const QPalette &) |
|
void | setBackgroundRole (QPalette::ColorRole) |
|
QPalette::ColorRole | backgroundRole () const |
|
void | setForegroundRole (QPalette::ColorRole) |
|
QPalette::ColorRole | foregroundRole () const |
|
const QFont & | font () const |
|
void | setFont (const QFont &) |
|
QFontMetrics | fontMetrics () const |
|
QFontInfo | fontInfo () const |
|
QCursor | cursor () const |
|
void | setCursor (const QCursor &) |
|
void | unsetCursor () |
|
void | setMouseTracking (bool enable) |
|
bool | hasMouseTracking () const |
|
bool | underMouse () const |
|
void | setMask (const QBitmap &) |
|
void | setMask (const QRegion &) |
|
QRegion | mask () const |
|
void | clearMask () |
|
void | render (QPaintDevice *target, const QPoint &targetOffset=QPoint(), const QRegion &sourceRegion=QRegion(), RenderFlags renderFlags=RenderFlags(DrawWindowBackground|DrawChildren)) |
|
void | render (QPainter *painter, const QPoint &targetOffset=QPoint(), const QRegion &sourceRegion=QRegion(), RenderFlags renderFlags=RenderFlags(DrawWindowBackground|DrawChildren)) |
|
QGraphicsEffect * | graphicsEffect () const |
|
void | setGraphicsEffect (QGraphicsEffect *effect) |
|
void | grabGesture (Qt::GestureType type, Qt::GestureFlags flags=Qt::GestureFlags()) |
|
void | ungrabGesture (Qt::GestureType type) |
|
QString | styleSheet () const |
|
QString | windowTitle () const |
|
void | setWindowIcon (const QIcon &icon) |
|
QIcon | windowIcon () const |
|
void | setWindowIconText (const QString &) |
|
QString | windowIconText () const |
|
void | setWindowRole (const QString &) |
|
QString | windowRole () const |
|
void | setWindowFilePath (const QString &filePath) |
|
QString | windowFilePath () const |
|
void | setWindowOpacity (qreal level) |
|
qreal | windowOpacity () const |
|
bool | isWindowModified () const |
|
void | setToolTip (const QString &) |
|
QString | toolTip () const |
|
void | setStatusTip (const QString &) |
|
QString | statusTip () const |
|
void | setWhatsThis (const QString &) |
|
QString | whatsThis () const |
|
QString | accessibleName () const |
|
void | setAccessibleName (const QString &name) |
|
QString | accessibleDescription () const |
|
void | setAccessibleDescription (const QString &description) |
|
void | setLayoutDirection (Qt::LayoutDirection direction) |
|
Qt::LayoutDirection | layoutDirection () const |
|
void | unsetLayoutDirection () |
|
void | setLocale (const QLocale &locale) |
|
QLocale | locale () const |
|
void | unsetLocale () |
|
bool | isRightToLeft () const |
|
bool | isLeftToRight () const |
|
bool | isActiveWindow () const |
|
void | activateWindow () |
|
void | clearFocus () |
|
void | setFocus (Qt::FocusReason reason) |
|
Qt::FocusPolicy | focusPolicy () const |
|
void | setFocusPolicy (Qt::FocusPolicy policy) |
|
bool | hasFocus () const |
|
void | setFocusProxy (QWidget *) |
|
QWidget * | focusProxy () const |
|
Qt::ContextMenuPolicy | contextMenuPolicy () const |
|
void | setContextMenuPolicy (Qt::ContextMenuPolicy policy) |
|
void | grabMouse () |
|
void | grabMouse (const QCursor &) |
|
void | releaseMouse () |
|
void | grabKeyboard () |
|
void | releaseKeyboard () |
|
int | grabShortcut (const QKeySequence &key, Qt::ShortcutContext context=Qt::WindowShortcut) |
|
void | releaseShortcut (int id) |
|
void | setShortcutEnabled (int id, bool enable=true) |
|
void | setShortcutAutoRepeat (int id, bool enable=true) |
|
bool | updatesEnabled () const |
|
void | setUpdatesEnabled (bool enable) |
|
QGraphicsProxyWidget * | graphicsProxyWidget () const |
|
void | update (int x, int y, int w, int h) |
|
void | update (const QRect &) |
|
void | update (const QRegion &) |
|
void | repaint (int x, int y, int w, int h) |
|
void | repaint (const QRect &) |
|
void | repaint (const QRegion &) |
|
void | stackUnder (QWidget *) |
|
void | move (int x, int y) |
|
void | move (const QPoint &) |
|
void | resize (int w, int h) |
|
void | resize (const QSize &) |
|
void | setGeometry (int x, int y, int w, int h) |
|
void | setGeometry (const QRect &) |
|
QByteArray | saveGeometry () const |
|
bool | restoreGeometry (const QByteArray &geometry) |
|
void | adjustSize () |
|
bool | isVisible () const |
|
bool | isVisibleTo (QWidget *) const |
|
bool | isHidden () const |
|
bool | isMinimized () const |
|
bool | isMaximized () const |
|
bool | isFullScreen () const |
|
Qt::WindowStates | windowState () const |
|
void | setWindowState (Qt::WindowStates state) |
|
void | overrideWindowState (Qt::WindowStates state) |
|
virtual QSize | minimumSizeHint () const |
|
QSizePolicy | sizePolicy () const |
|
void | setSizePolicy (QSizePolicy) |
|
void | setSizePolicy (QSizePolicy::Policy horizontal, QSizePolicy::Policy vertical) |
|
virtual int | heightForWidth (int) const |
|
QRegion | visibleRegion () const |
|
void | setContentsMargins (int left, int top, int right, int bottom) |
|
void | setContentsMargins (const QMargins &margins) |
|
void | getContentsMargins (int *left, int *top, int *right, int *bottom) const |
|
QMargins | contentsMargins () const |
|
QRect | contentsRect () const |
|
QLayout * | layout () const |
|
void | setLayout (QLayout *) |
|
void | updateGeometry () |
|
void | setParent (QWidget *parent) |
|
void | setParent (QWidget *parent, Qt::WindowFlags f) |
|
void | scroll (int dx, int dy) |
|
void | scroll (int dx, int dy, const QRect &) |
|
QWidget * | focusWidget () const |
|
QWidget * | nextInFocusChain () const |
|
QWidget * | previousInFocusChain () const |
|
bool | acceptDrops () const |
|
void | setAcceptDrops (bool on) |
|
void | addAction (QAction *action) |
|
void | addActions (QList< QAction * > actions) |
|
void | insertAction (QAction *before, QAction *action) |
|
void | insertActions (QAction *before, QList< QAction * > actions) |
|
void | removeAction (QAction *action) |
|
QList< QAction * > | actions () const |
|
QWidget * | parentWidget () const |
|
void | setWindowFlags (Qt::WindowFlags type) |
|
Qt::WindowFlags | windowFlags () const |
|
void | overrideWindowFlags (Qt::WindowFlags type) |
|
Qt::WindowType | windowType () const |
|
QWidget * | childAt (int x, int y) const |
|
QWidget * | childAt (const QPoint &p) const |
|
const QX11Info & | x11Info () const |
|
Qt::HANDLE | x11PictureHandle () const |
|
Qt::HANDLE | handle () const |
|
void | setAttribute (Qt::WidgetAttribute, bool on=true) |
|
bool | testAttribute (Qt::WidgetAttribute) const |
|
QPaintEngine * | paintEngine () const |
|
void | ensurePolished () const |
|
QInputContext * | inputContext () |
|
void | setInputContext (QInputContext *) |
|
bool | isAncestorOf (const QWidget *child) const |
|
bool | autoFillBackground () const |
|
void | setAutoFillBackground (bool enabled) |
|
void | setWindowSurface (QWindowSurface *surface) |
|
QWindowSurface * | windowSurface () const |
|
virtual QVariant | inputMethodQuery (Qt::InputMethodQuery) const |
|
Qt::InputMethodHints | inputMethodHints () const |
|
void | setInputMethodHints (Qt::InputMethodHints hints) |
|
Q_INVOKABLE | QObject (QObject *parent=0) |
|
virtual | ~QObject () |
|
virtual bool | eventFilter (QObject *, QEvent *) |
|
QString | objectName () const |
|
void | setObjectName (const QString &name) |
|
bool | isWidgetType () const |
|
bool | signalsBlocked () const |
|
bool | blockSignals (bool b) |
|
QThread * | thread () const |
|
void | moveToThread (QThread *thread) |
|
int | startTimer (int interval) |
|
void | killTimer (int id) |
|
template<typename T > |
T | findChild (const QString &aName=QString()) const |
|
template<typename T > |
QList< T > | findChildren (const QString &aName=QString()) const |
|
template<typename T > |
QList< T > | findChildren (const QRegExp &re) const |
|
const QObjectList & | children () const |
|
void | setParent (QObject *) |
|
void | installEventFilter (QObject *) |
|
void | removeEventFilter (QObject *) |
|
bool | connect (const QObject *sender, const char *signal, const char *member, Qt::ConnectionType type=Qt::AutoConnection) const |
|
bool | disconnect (const char *signal=0, const QObject *receiver=0, const char *member=0) |
|
bool | disconnect (const QObject *receiver, const char *member=0) |
|
void | dumpObjectTree () |
|
void | dumpObjectInfo () |
|
bool | setProperty (const char *name, const QVariant &value) |
|
QVariant | property (const char *name) const |
|
QList< QByteArray > | dynamicPropertyNames () const |
|
void | setUserData (uint id, QObjectUserData *data) |
|
QObjectUserData * | userData (uint id) const |
|
QObject * | parent () const |
|
bool | inherits (const char *classname) const |
|
virtual | ~QPaintDevice () |
|
bool | paintingActive () const |
|
int | width () const |
|
int | height () const |
|
int | widthMM () const |
|
int | heightMM () const |
|
int | logicalDpiX () const |
|
int | logicalDpiY () const |
|
int | physicalDpiX () const |
|
int | physicalDpiY () const |
|
int | colorCount () const |
|
int | depth () const |
|
| Node (const QString &sStringID="", const QString &sDisplayName="") |
| Standard constructor. More...
|
|
virtual | ~Node (void) |
|
virtual void | Initialize (void) |
|
void | LoadTemplate (const QString &sFileName="", bool bStartEvent=false) |
| Use an external XML file to initialize the attributes. More...
|
|
void | SaveTemplate (const QString &sFileName="", bool bSaveOnlyVisible=false) |
| Save current attributes as an XML template. More...
|
|
unsigned int | Version (void) const |
| Returns the current version of the node. This number increases when the content of the node changed (when ContentChanged() called). More...
|
|
void | SetVersion (unsigned int iVersion) |
| Sets the current version number for the node. More...
|
|
unsigned int | ReferenceCount (void) const |
| Returns the number of pointers referencing this node. More...
|
|
Attribute * | ReferencePointer (unsigned int iIndex) const |
| Returns the address of an attribute which refers to this node. The type of the attribute is always aptr. More...
|
|
Node * | ReferenceNode (unsigned int iIndex) const |
| Returns the address of a node referencing this node. More...
|
|
virtual QString | Name (const ClassDesc *pClass=0) const |
| Deprecated. More...
|
|
virtual void | SetName (const QString &sName) |
| Deprecated. More...
|
|
virtual QString | StringID (const ClassDesc *pClass=0) const |
| Returns the string id of the node. More...
|
|
virtual void | SetStringID (const QString &sStringID) |
| Sets the string id of the node. More...
|
|
virtual QString | DisplayName (void) const |
| Returns the display name of the node. More...
|
|
virtual void | SetDisplayName (const QString &sDisplayName) |
| Sets the display name of the node. More...
|
|
virtual QString | HelpID (void) const |
| Returns the help entry id of the node. Can be overwritten in derived classes. More...
|
|
virtual void | SetHelpID (const QString &sHelpID) |
| Sets the help entry id of the node. More...
|
|
void | Annex (Node *pSource, const QString &sCategory="") |
| Relink all the attributes of the source node to this one. More...
|
|
virtual void | Serialize (Stream &s) |
| Serializes the node. More...
|
|
bool | IsKindOf (const ClassDesc *pClass) const |
| Returns true if this node is derived from the pClass class. More...
|
|
void | ContentChanged (void) const |
| This function must be called if the content of the node is changed. More...
|
|
virtual void | CheckValidity (DiagnosticLevel iLevel=dgnLevel2) const |
| Checks the validity of this node. More...
|
|
virtual void | CopyTo (Node *pNode) const |
|
virtual Node * | Duplicate (void) const |
|
virtual void | OnEvent (const EventGate &cEvent) |
| This function is called when a generic event occurs. See EventGate class. More...
|
|
void | RequestDeferredEvent (Attribute &cAttribute) |
| Request for a deferred event, which will occur only in the main loop. More...
|
|
unsigned int | AttributeCount (void) const |
| Returns the number of attributes owned by the node. More...
|
|
Attribute * | AttributeByIndex (int iIndex) const |
| Returns a specified attribute (or 0 if iIndex is greater than the number of attributes). More...
|
|
Attribute * | AttributeByName (const QString &sName) const |
| Returns a specified attribute by its name. Returns 0 if the attribute not found. More...
|
|
Attribute * | AttributeByID (const QString &sID) const |
| Returns a specified attribute by its ID. Returns 0 if the attribute not found. More...
|
|
void | SetAttributeValue (const QString &sAttributeID, const QString &sNewValue) |
| Set the value of an attribute from a string. More...
|
|
QString | AttributeValue (const QString &sAttributeID) const |
| Returns the current value of an attribute as a string. More...
|
|
void | LogAttributes (void) const |
| Write all attributes into the log file. More...
|
|
virtual QWidget * | CreatePropertiesWindow (QWidget *pParent) |
| Create a window which displays the attributes of the node. Can be overriden to provide a custom interface. More...
|
|
Attribute * | AddAttribute (Attribute::AttributeType type, const QString &id) |
| Allows SDK users to add attributes at runtime. More...
|
|
Node * | Next (void) const |
| Returns the next node in the chain. Used to enumerate the current nodes. See also First(). More...
|
|
int | ID (void) const |
| Returns an ID for the node. The ID is unique in the whole application life. More...
|
|
bool | SetID (int iID) |
| Set ID for the node. More...
|
|
|
enum | RenderFlag { DrawWindowBackground = 0x1,
DrawChildren = 0x2,
IgnoreMask = 0x4
} |
|
enum | PaintDeviceMetric {
PdmWidth = 1,
PdmHeight,
PdmWidthMM,
PdmHeightMM,
PdmNumColors,
PdmDepth,
PdmDpiX,
PdmDpiY,
PdmPhysicalDpiX,
PdmPhysicalDpiY
} |
|
enum | DiagnosticLevel { dgnLevel1,
dgnLevel2,
dgnLevel3
} |
| Indicates the level of validity checking that is performed in CheckValidity() More...
|
|
void | customContextMenuRequested (const QPoint &pos) |
|
void | destroyed (QObject *=0) |
|
static void | setTabOrder (QWidget *, QWidget *) |
|
static QWidget * | mouseGrabber () |
|
static QWidget * | keyboardGrabber () |
|
static QWidget * | find (WId) |
|
static bool | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection) |
|
static bool | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type=Qt::AutoConnection) |
|
static bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *member) |
|
static bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &member) |
|
static uint | registerUserData () |
|
static void | StartHashing () |
| This is called once in main once static ctors are done. More...
|
|
static Node * | First (void) |
| This function will return the first node in the memory. Used to enumerate all the current nodes. See also Next(). More...
|
|
static Node * | ByID (int iID) |
| Returns the node with the specified ID, or zero if such a node does not exists. More...
|
|
static Node * | ByName (const QString &sClass, const QString &sName) |
| Search for a node with the name sName. More...
|
|
AttributeThisPointer | m_pThis |
|
| DECLARE_CLASS |
|
void | updateMicroFocus () |
|
void | OnNodeEvent (const Attribute &cAttribute, NodeEventType eType) |
| This function is called if an event occurs with any of the attributes of the node. More...
|
|
bool | event (QEvent *) |
|
virtual void | mousePressEvent (QMouseEvent *) |
|
virtual void | mouseReleaseEvent (QMouseEvent *) |
|
virtual void | mouseDoubleClickEvent (QMouseEvent *) |
|
virtual void | mouseMoveEvent (QMouseEvent *) |
|
virtual void | wheelEvent (QWheelEvent *) |
|
virtual void | keyPressEvent (QKeyEvent *) |
|
virtual void | keyReleaseEvent (QKeyEvent *) |
|
virtual void | focusInEvent (QFocusEvent *) |
|
virtual void | focusOutEvent (QFocusEvent *) |
|
virtual void | enterEvent (QEvent *) |
|
virtual void | leaveEvent (QEvent *) |
|
virtual void | paintEvent (QPaintEvent *) |
|
virtual void | moveEvent (QMoveEvent *) |
|
virtual void | resizeEvent (QResizeEvent *) |
|
virtual void | closeEvent (QCloseEvent *) |
|
virtual void | contextMenuEvent (QContextMenuEvent *) |
|
virtual void | tabletEvent (QTabletEvent *) |
|
virtual void | actionEvent (QActionEvent *) |
|
virtual void | dragEnterEvent (QDragEnterEvent *) |
|
virtual void | dragMoveEvent (QDragMoveEvent *) |
|
virtual void | dragLeaveEvent (QDragLeaveEvent *) |
|
virtual void | dropEvent (QDropEvent *) |
|
virtual void | showEvent (QShowEvent *) |
|
virtual void | hideEvent (QHideEvent *) |
|
virtual bool | x11Event (XEvent *) |
|
virtual void | changeEvent (QEvent *) |
|
int | metric (PaintDeviceMetric) const |
|
virtual void | inputMethodEvent (QInputMethodEvent *) |
|
void | resetInputContext () |
|
void | create (WId=0, bool initializeWindow=true, bool destroyOldWindow=true) |
|
void | destroy (bool destroyWindow=true, bool destroySubWindows=true) |
|
virtual bool | focusNextPrevChild (bool next) |
|
bool | focusNextChild () |
|
bool | focusPreviousChild () |
|
| QWidget (QWidgetPrivate &d, QWidget *parent, Qt::WindowFlags f) |
|
virtual void | styleChange (QStyle &) |
|
virtual void | enabledChange (bool) |
|
virtual void | paletteChange (const QPalette &) |
|
virtual void | fontChange (const QFont &) |
|
virtual void | windowActivationChange (bool) |
|
virtual void | languageChange () |
|
QObject * | sender () const |
|
int | senderSignalIndex () const |
|
int | receivers (const char *signal) const |
|
virtual void | timerEvent (QTimerEvent *) |
|
virtual void | childEvent (QChildEvent *) |
|
virtual void | customEvent (QEvent *) |
|
virtual void | connectNotify (const char *signal) |
|
virtual void | disconnectNotify (const char *signal) |
|
| QObject (QObjectPrivate &dd, QObject *parent=0) |
|
| QPaintDevice () |
|
static const QMetaObject | staticQtMetaObject |
|
bool | modal |
|
Qt::WindowModality | windowModality |
|
bool | enabled |
|
QRect | geometry |
|
QRect | frameGeometry |
|
QRect | normalGeometry |
|
int | x |
|
int | y |
|
QPoint | pos |
|
QSize | frameSize |
|
QSize | size |
|
int | width |
|
int | height |
|
QRect | rect |
|
QRect | childrenRect |
|
QRegion | childrenRegion |
|
QSizePolicy | sizePolicy |
|
QSize | minimumSize |
|
QSize | maximumSize |
|
int | minimumWidth |
|
int | minimumHeight |
|
int | maximumWidth |
|
int | maximumHeight |
|
QSize | sizeIncrement |
|
QSize | baseSize |
|
QPalette | palette |
|
QFont | font |
|
QCursor | cursor |
|
bool | mouseTracking |
|
bool | isActiveWindow |
|
Qt::FocusPolicy | focusPolicy |
|
bool | focus |
|
Qt::ContextMenuPolicy | contextMenuPolicy |
|
bool | updatesEnabled |
|
bool | visible |
|
bool | minimized |
|
bool | maximized |
|
bool | fullScreen |
|
QSize | sizeHint |
|
QSize | minimumSizeHint |
|
bool | acceptDrops |
|
QString | windowTitle |
|
QIcon | windowIcon |
|
QString | windowIconText |
|
double | windowOpacity |
|
bool | windowModified |
|
QString | toolTip |
|
QString | statusTip |
|
QString | whatsThis |
|
QString | accessibleName |
|
QString | accessibleDescription |
|
Qt::LayoutDirection | layoutDirection |
|
bool | autoFillBackground |
|
QString | styleSheet |
|
QLocale | locale |
|
QString | windowFilePath |
|
Qt::InputMethodHints | inputMethodHints |
|
QString | objectName |
|