RenderPixWidget Class
Header: | #include <CDPBaseWidgets/RenderPixWidget.h> |
Inherited By: |
Public Types
enum | AnimEnd { WindowCenter, AlignToButtonLeft, AlignToButtonRight } |
enum | AnimStart { NoAnimation, Center, Left, Right, ..., MouseClick } |
Properties
|
|
Public Functions
RenderPixWidget(QWidget *parent = 0) | |
virtual | ~RenderPixWidget() |
virtual int | animDurationMs() |
virtual RenderPixWidget::AnimEnd | animEnd() const |
virtual int | animEndOffsetX() |
virtual int | animEndOffsetY() |
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 | setAnimEnd(RenderPixWidget::AnimEnd end) |
virtual void | setAnimEndOffsetX(int offset) |
virtual void | setAnimEndOffsetY(int offset) |
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) |
virtual void | setTriggerButton(QWidget *button) |
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
QPoint | adjustPositionWithinWindowHeight(QPoint position, QWidget *mainWindow) const |
QPoint | finalPositionWithoutShadows(QWidget *mainWindow) const |
void | mouseMoveEvent(QMouseEvent *event) override |
void | mousePressEvent(QMouseEvent *event) override |
void | tryConnectOnWindowSizeChange(QWidget *mainWidget) |
Protected Slots
virtual void | animationFinished() |
Detailed Description
Property Documentation
animDurationMs : int
Access functions:
virtual int | animDurationMs() |
virtual void | setAnimDurationMs(int duration) |
animEnd : AnimEnd
Access functions:
virtual RenderPixWidget::AnimEnd | animEnd() const |
virtual void | setAnimEnd(RenderPixWidget::AnimEnd end) |
animEndOffsetX : int
Access functions:
virtual int | animEndOffsetX() |
virtual void | setAnimEndOffsetX(int offset) |
animEndOffsetY : int
Access functions:
virtual int | animEndOffsetY() |
virtual void | setAnimEndOffsetY(int offset) |
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.
[protected]
QPoint RenderPixWidget::adjustPositionWithinWindowHeight(QPoint position, QWidget *mainWindow) const
[virtual protected slot]
void RenderPixWidget::animationFinished()
[virtual]
void RenderPixWidget::connectStateChangers(bool bConnect = true)
[protected]
QPoint RenderPixWidget::finalPositionWithoutShadows(QWidget *mainWindow) const
[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]
void RenderPixWidget::setTriggerButton(QWidget *button)
[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)
[protected]
void RenderPixWidget::tryConnectOnWindowSizeChange(QWidget *mainWidget)
[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.