Inherits QFrame.
|
void | contextMenuRequested (const QPoint &position) |
| Triggered when the context menu button is clicked, or on a right click.
|
|
void | expanderChanged (bool expanded) |
| Triggered when the expander state is changed.
|
|
void | warningChanged (bool warning) |
| Triggered when the warning state is changed.
|
|
void | readOnlyChanged (bool readOnly) |
| Triggered when the read only state is changed.
|
|
void | contentModifiedChanged (bool modified) |
| Triggered when the content modified state is changed.
|
|
void | iconLabelClicked (const QPoint &position) |
| Triggered when the icon label is clicked.
|
|
|
| CardHeader (QWidget *parent=nullptr) |
|
void | setTitle (const QString &title) |
| Sets the Card Header title. Passing an empty string will hide the Card Header.
|
|
void | setTitleToolTip (const QString &toolTip) |
| Sets the tool tip for the card header and card header title.
|
|
QString | title () const |
| Returns the current title.
|
|
AzQtComponents::ElidingLabel * | titleLabel () const |
| Returns a direct pointer to the title label.
|
|
void | setFilter (const QString &filterString) |
|
void | setTitleProperty (const char *name, const QVariant &value) |
|
void | refreshTitle () |
|
void | setIcon (const QIcon &icon) |
| Sets the icon. Passing a null icon will hide the current icon.
|
|
void | setIconOverlay (const QIcon &icon) |
| Sets a secondary icon to be drawn on top of the main icon.
|
|
void | setIconClickable (bool clickable) |
| Set whether the icon can be clicked to trigger an event.
|
|
bool | isIconClickable () const |
| Returns true if the icon can be clicked to trigger an event, false otherwise.
|
|
void | setExpandable (bool expandable) |
|
bool | isExpandable () const |
| Returns true if the Card Header is showing and expander button, false otherwise.
|
|
void | setExpanded (bool expanded) |
| Sets the parent Card's expanded state.
|
|
bool | isExpanded () const |
| Returns the parent Card's expanded state.
|
|
void | setWarning (bool warning) |
| Sets the warning state on the Card Header.
|
|
bool | isWarning () const |
| Returns true if the Card Header's warning state is set, false otherwise.
|
|
void | setWarningIcon (const QIcon &icon) |
| Sets a new QIcon for the warning state.
|
|
void | setReadOnly (bool readOnly) |
| Sets the read only state on the Card Header.
|
|
bool | isReadOnly () const |
| Returns true if the Card Header's read only state is set, false otherwise.
|
|
void | setContentModified (bool modified) |
| Sets the modified state on the Card Header.
|
|
bool | isContentModified () const |
| Returns true if the Card Header's modified state is set, false otherwise.
|
|
void | setHasContextMenu (bool showContextMenu) |
|
void | setHelpURL (const QString &url) |
|
void | clearHelpURL () |
| Resets the help url and hides the question mark button.
|
|
QString | helpURL () const |
| Returns the help url for this Card Header if set.
|
|
void | configSettingsChanged () |
| Forces a refresh of the icon and warning icon on the Card Header.
|
|
void | mockDisabledState (bool disabled) |
|
void | setContextMenuIcon (ContextMenuIcon iconType) |
| Sets the icon to be displayed for the context menu.
|
|
void | setUnderlineColor (const QColor &color) |
|
Header bar for Card widgets. Provides a bar with an expander arrow, a text title and a button to trigger a context menu. Also has an optional icon and help button. Sub widgets are hidden by default and will show once they're configured via the appropriate setter. For example, setIcon will cause the icon widget to appear.