1 Star 0 Fork 80

13506519592 / Landlords

forked from ibc-dabing / Landlords 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
animationwindow.h 636 Bytes
一键复制 编辑 原始数据 按行查看 历史
kevin 提交于 2021-12-16 00:16 . 代码优化, 提高程序的健壮性
#ifndef ANIMATIONWINDOW_H
#define ANIMATIONWINDOW_H
#include <QWidget>
class AnimationWindow : public QWidget
{
Q_OBJECT
public:
enum Type{Sequence, Pair};
explicit AnimationWindow(QWidget *parent = nullptr);
// 显示下注分数
void showBetScore(int bet);
// 显示顺子和连对
void showSequence(Type type);
// 显示王炸
void showJokerBomb();
// 显示炸弹
void showBomb();
// 显示飞机
void showPlane();
signals:
protected:
void paintEvent(QPaintEvent* ev);
private:
QPixmap m_image;
int m_index = 0;
int m_x = 0;
};
#endif // ANIMATIONWINDOW_H
1
https://gitee.com/one-hundred12-and-thirty-five/landlords.git
git@gitee.com:one-hundred12-and-thirty-five/landlords.git
one-hundred12-and-thirty-five
landlords
Landlords
master

搜索帮助