Inherits from QskAbstractButton
Inherited by QskDialogButton
Public Slots
Public Signals
Public Functions
Protected Functions
Public Properties
Public Attributes
Public Slots Documentation
slot setText
void setText(
const QString & text
)
slot setGraphicSource
void setGraphicSource(
const QUrl & url
)
slot setGraphicSource
void setGraphicSource(
const QString & source
)
slot setGraphic
void setGraphic(
const QskGraphic & graphic
)
slot setGraphicSourceSize
void setGraphicSourceSize(
const QSizeF & size
)
Public Signals Documentation
signal checkableChanged
void checkableChanged(
bool
)
signal shapeChanged
signal textChanged
signal textOptionsChanged
void textOptionsChanged()
signal flatChanged
signal graphicChanged
signal graphicSourceChanged
void graphicSourceChanged()
signal graphicSourceSizeChanged
void graphicSourceSizeChanged()
Public Functions Documentation
QskPushButton(
QQuickItem * parent =nullptr
)
QskPushButton(
const QString & text,
QQuickItem * parent =nullptr
)
~QskPushButton() override
function setCheckable
void setCheckable(
bool on
)
function isCheckable
bool isCheckable() const override
function setShape
void setShape(
const QskBoxShapeMetrics & shape
)
function shape
QskBoxShapeMetrics shape() const
function resetShape
function text
function setTextOptions
void setTextOptions(
const QskTextOptions & options
)
function textOptions
QskTextOptions textOptions() const
function graphicSource
QUrl graphicSource() const
function graphicSourceSize
QSizeF graphicSourceSize() const
function graphic
QskGraphic graphic() const
function hasGraphic
function resetGraphicSourceSize
void resetGraphicSourceSize()
function setFlat
function isFlat
function font
function layoutRectForSize
QRectF layoutRectForSize(
const QSizeF & size
) const override
Protected Functions Documentation
function changeEvent
void changeEvent(
QEvent * event
) override
function updateResources
void updateResources() override
function loadGraphic
virtual QskGraphic loadGraphic(
const QUrl & url
) const
Public Property Documentation
property text
property font
property textOptions
QskTextOptions textOptions;
property graphicSource
property graphic
property graphicSourceSize
QSizeF graphicSourceSize;
property checkable
property flat
property shape
QskBoxShapeMetrics shape;
Public Attributes Documentation
variable Panel
static const QskAspect::Subcontrol Panel;
variable Text
static const QskAspect::Subcontrol Text;
variable Graphic
static const QskAspect::Subcontrol Graphic;
Updated on 28 July 2023 at 14:02:28 CEST