1 Star 0 Fork 3

DB Team/QT_ArcGis

forked from 孙木锋/QT_ArcGis 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
mainwindow.h 1.47 KB
一键复制 编辑 原始数据 按行查看 历史
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QMenuBar>
#include <QMenu>
#include <QAction>
#include "paint2ddialog.h"
#include "paint2dform.h"
#include "paint3dform.h"
#include "frmmain.h"
#include "initform.h"
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
void changeUI(QWidget *temp_widget);
void changeUI(QDialog *temp_dialog);
~MainWindow();
protected:
bool eventFilter(QObject *obj, QEvent *event);
void mouseMoveEvent(QMouseEvent *e);
void mousePressEvent(QMouseEvent *e);
void mouseReleaseEvent(QMouseEvent *);
private slots:
void on_btnMenu_Close_clicked();
void on_btnMenu_Max_clicked();
void on_btnMenu_Min_clicked();
void newobject();//新建
void openfile();//打开
void savefile();//保存
void on_pushButton_clicked();
void on_pushButton_2_clicked();
void on_pushButton_3_clicked();
void on_pushButton_4_clicked();
private:
void InitStyle();
void Initdialog();
QPoint mousePoint;
bool mousePressed;
bool max;
QRect location;
private:
Ui::MainWindow *ui;
QMenuBar *menuBar;
QAction *actionOpen;
QAction *actionSave;
QAction *actionNew;
paint2dDialog *upaint2dDialog;
frmMain *ufrmMain;
QDialog *subDialog;
paint2dForm *upaint2dForm;
paint3dForm *upaint3dForm;
QWidget *subWidget;
};
#endif // MAINWINDOW_H
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/codes/QT_ArcGis.git
git@gitee.com:codes/QT_ArcGis.git
codes
QT_ArcGis
QT_ArcGis
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385