跑马灯类MarqueeLabel,点击时自动打开网址
更多...
#include <tcmarqueelabel.h>
|
enum | Direction { RightToLeft = 0,
BottomToTop = 1
} |
|
|
| TcMarqueeLabel (QWidget *parent=0, Qt::WindowFlags f=0) |
|
| TcMarqueeLabel (const QString &text, QWidget *parent=0, Qt::WindowFlags f=0) |
|
int | interval () const |
| 返回interval
|
|
bool | isActive () const |
| 返回当前状态
|
|
Direction | direction () const |
|
void | setAlignment (Qt::Alignment align) |
|
|
virtual void | enterEvent (QEvent *event) |
|
virtual void | leaveEvent (QEvent *event) |
|
virtual void | resizeEvent (QResizeEvent *event) |
|
virtual void | timerEvent (QTimerEvent *event) |
|
virtual void | paintEvent (QPaintEvent *event) |
|
|
Direction | direction |
|
int | interval |
| 设置每移动一像素所需时间(毫秒)
|
|
bool | active |
| 设置是否启动移动状态
|
|
Qt::Alignment | alignment |
|
跑马灯类MarqueeLabel,点击时自动打开网址
- 作者
- XChinux XChin.nosp@m.ux@1.nosp@m.63.co.nosp@m.m
- 日期
- 2013-04-18
void TcMarqueeLabel::reset |
( |
| ) |
|
|
slot |
void TcMarqueeLabel::setActive |
( |
bool |
active | ) |
|
|
slot |
void TcMarqueeLabel::setDirection |
( |
Direction |
direciton | ) |
|
|
slot |
设置移动方向
- 参见
- direction(), directionChagned(Direction direction)
void TcMarqueeLabel::setInterval |
( |
int |
msec | ) |
|
|
slot |
void TcMarqueeLabel::stop |
( |
| ) |
|
|
slot |
该类的文档由以下文件生成: