19 Star 90 Fork 27

thb1314 / HaibinSerialPortDebuger

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
MainWidget.h 894 Bytes
一键复制 编辑 原始数据 按行查看 历史
thb 提交于 2019-07-05 12:32 . '界面完成'
#ifndef MAINWIDGET_H
#define MAINWIDGET_H
#include <QDialog>
#if _MSC_VER >= 1600
#pragma execution_character_set("utf-8")
#endif
class QLabel;
class QToolButton;
class QPushButton;
class QMainWindow;
class MainWidget : public QDialog
{
Q_OBJECT
protected:
void removeFrame(void);
bool record_mousePressed;
bool is_mined;
QPoint record_mousePoint;
QWidget* widgetMain;
QWidget* widgetTitle;
QLabel* titleIcon;
QLabel* centralTitle;
// QToolButton* titleMenuBtn;
QPushButton* minBtn;
QPushButton* maxBtn;
QPushButton* closeBtn;
QFont iconFont;
void initWidget(void);
QMainWindow* mainWindow;
public:
explicit MainWidget(QWidget* parent = 0);
bool eventFilter(QObject*, QEvent*);
bool setMainWindow(QMainWindow* mainWindow);
void keyPressEvent(QKeyEvent* e);
signals:
public slots:
};
#endif // MAINWIDGET_H
C++
1
https://gitee.com/thb1314/HaibinSerialPortDebuger.git
git@gitee.com:thb1314/HaibinSerialPortDebuger.git
thb1314
HaibinSerialPortDebuger
HaibinSerialPortDebuger
master

搜索帮助