5 Star 23 Fork 6

Acreate / gamePlanTool

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
PropertyItem.h 761 Bytes
一键复制 编辑 原始数据 按行查看 历史
箜栢 提交于 2020-03-02 09:14 . 第一次提交
#ifndef H_MY__PROPERTYITEM_H__H
#define H_MY__PROPERTYITEM_H__H
#include <QLabel>
#include <QPushButton>
#include <QWidget>
#include <QHBoxLayout>
class PropertyItem : public QFrame {
Q_OBJECT;
private:
QHBoxLayout* mainLayout;
public:
// 删除属性
QPushButton* delBtn;
// 编号
QLabel* number;
// 状态
QLabel* status;
// 翻译
QLabel* Translation;
// 属性
QLabel* property;
// 编辑当前
QPushButton* editBtn;
PropertyItem(QWidget* parent = Q_NULLPTR, const Qt::WindowFlags& f = Qt::WindowFlags( ));
private:
void removeBtnSloat(bool clicked);
void editBtnSloat(bool clicked);
signals:
void removeBtnSig(PropertyItem* item, bool clicked);
void editBtnSig(PropertyItem* item, bool clicked);
};
#endif // H_MY__PROPERTYITEM_H__H
C++
1
https://gitee.com/ChenYLhuman/gamePlanTool.git
git@gitee.com:ChenYLhuman/gamePlanTool.git
ChenYLhuman
gamePlanTool
gamePlanTool
master

搜索帮助