RenderPixWidget Class
Header: | #include <CDPBaseWidgets/RenderPixWidget.h> |
Inherited By: |
Public Types
enum | AnimStart { NoAnimation, Center, Left, Right, ..., MouseClick } |
Properties
|
|
Public Functions
RenderPixWidget(QWidget *parent = 0) | |
virtual | ~RenderPixWidget() |
virtual int | animDurationMs() |
virtual bool | animateSizeEnabled() |
virtual void | connectStateChangers(bool bConnect = true) |
virtual RenderPixWidget::AnimStart | getAnimStart() |
virtual bool | isAnimationRunning() const |
virtual bool | renderPixmapEnabled() |
virtual void | setAnimDurationMs(int duration) |
virtual void | setAnimStart(RenderPixWidget::AnimStart start) |
virtual void | setAnimateSizeEnabled(bool enable) |
void | setPixmapMargins(const QMargins &margins) |
virtual void | setRenderParent(QWidget *widget) |
virtual void | setRenderPixmapEnabled(bool enable = true) |
Public Slots
virtual void | hideAnimated() |
virtual void | hidePixmap() |
virtual bool | isSomethingVisible() const |
virtual void | renderPixmap() |
virtual void | setAnimGeometry(const QRect &rect) |
virtual void | setHideWidgetDuringMove(bool hide = true) |
virtual void | setWidgetPos(const QPoint &pos) |
virtual void | showAnimated(QPoint forceStartPos = QPoint( -1, -1 )) |
virtual void | showPixmap(bool show = true) |
virtual void | updateRegion(QWidget *widget) |
Signals
void | hideAnimatedFinished() |
Protected Functions
bool | dummyFalse() |
void | mouseMoveEvent(QMouseEvent *event) override |
void | mousePressEvent(QMouseEvent *event) override |
Protected Slots
virtual void | animationFinished() |
Detailed Description
Property Documentation
animDurationMs : int
Access functions:
virtual int | animDurationMs() |
virtual void | setAnimDurationMs(int duration) |
animGeometry : QRect
Access functions:
virtual void | setAnimGeometry(const QRect &rect) |
animStart : AnimStart
Access functions:
virtual RenderPixWidget::AnimStart | getAnimStart() |
virtual void | setAnimStart(RenderPixWidget::AnimStart start) |
animateSize : bool
Access functions:
virtual bool | animateSizeEnabled() |
virtual void | setAnimateSizeEnabled(bool enable) |
renderPixmap : bool
Access functions:
virtual bool | renderPixmapEnabled() |
virtual void | setRenderPixmapEnabled(bool enable = true) |
Member Function Documentation
RenderPixWidget::RenderPixWidget(QWidget *parent = 0)
Default constructs an instance of RenderPixWidget.
[virtual]
RenderPixWidget::~RenderPixWidget()
Destroys the instance of RenderPixWidget. The destructor is virtual.
[virtual protected slot]
void RenderPixWidget::animationFinished()
[virtual]
void RenderPixWidget::connectStateChangers(bool bConnect = true)
[protected]
bool RenderPixWidget::dummyFalse()
[virtual slot]
void RenderPixWidget::hideAnimated()
[signal]
void RenderPixWidget::hideAnimatedFinished()
[virtual slot]
void RenderPixWidget::hidePixmap()
[virtual]
bool RenderPixWidget::isAnimationRunning() const
[virtual slot]
bool RenderPixWidget::isSomethingVisible() const
[protected]
void RenderPixWidget::mouseMoveEvent(QMouseEvent *event)
[protected]
void RenderPixWidget::mousePressEvent(QMouseEvent *event)
[virtual slot]
void RenderPixWidget::renderPixmap()
[virtual slot]
void RenderPixWidget::setHideWidgetDuringMove(bool hide = true)
void RenderPixWidget::setPixmapMargins(const QMargins &margins)
[virtual]
void RenderPixWidget::setRenderParent(QWidget *widget)
[virtual slot]
void RenderPixWidget::setWidgetPos(const QPoint &pos)
[virtual slot]
void RenderPixWidget::showAnimated(QPoint forceStartPos = QPoint( -1, -1 ))
[virtual slot]
void RenderPixWidget::showPixmap(bool show = true)
[virtual slot]
void RenderPixWidget::updateRegion(QWidget *widget)
Get started with CDP Studio today
Let us help you take your great ideas and turn them into the products your customer will love.