代码拉取完成,页面将自动刷新
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QRect>
#include <QMenu>
#include <QToolBar>
#include <QMenuBar>
#include <QLabel>
#include <QWidget>
#include <QFileDialog>
#include <QColorDialog>
#include <QtPrintSupport/QPrintDialog>
#include <QProgressBar>
#include <QRgb>
#include <QColor>
#include <QList>
#include <QPicture>
#include <QThread>
#include <QGraphicsScene>
#include <QTableWidget>
#include "showimage.h"
#include "corewidgwt.h"
#include "aboutversiondia.h"
#include "dataprocess.h"
#include "readfilethread.h"
#include "prt.h"
#include "viewpicture.h"
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
private:
Ui::MainWindow *ui;
QMenu *file;
QMenu *tool;
QMenu *display;
QMenu *path;
QMenu *image;
QMenu *level;
QMenu *help;
//file
QAction *openAction;
QAction *previewAction;
QAction *saveAction;
QAction *printAction;
QAction *doc_Action;
QAction *doc_propertyAction;
QAction *doc_DirAction;
QAction *doc_refrushAction;
QAction *doc_exportAction;
QAction *edit_modeAction;
QAction *color_configAction;
QAction *edit_configAction;
QAction *exitAction;
//tool
QAction *zoomInAction;//放大
QAction *zoomOutAction;//缩小
QAction *handToolAction;//手型工具
//display
QAction *biggerAction;
QAction *smallerAction;
QAction *zoomAction;
QAction *toolBarAction;
QAction *statusBarAction;
//path
QAction *pathK_Action;
QAction *pathC_Action;
QAction *pathM_Action;
QAction *pathY_Action;
QAction *path5_Action;
QAction *path6_Action;
QAction *path7_Action;
QAction *path8_Action;
QAction *path9_Action;
QAction *path10_Action;
QAction *path11_Action;
QAction *path12_Action;
QAction *allPath_Action;
//image
QAction *allSel_Action;
QAction *cutAction;
QAction *copyAction;
QAction *pasteAction;
QAction *colorSel_Action;
QAction *toolSel_Action;
QAction *cancle_Action;
QAction *eraserAction;
QAction *dotTool_Action;
QAction *lineTool_Action;
QAction *circleTool_Action;
QAction *curveTool_Action;
//level
QAction *levelK_Action;
QAction *levelC_Action;
QAction *levelM_Action;
QAction *levelY_Action;
QAction *level5_Action ;
QAction *level6_Action;
QAction *level7_Action;
QAction *level8_Action;
QAction *level9_Action;
QAction *level10_Action;
QAction *level11_Action;
QAction *level12_Action;
//help
QAction *aboutAction;
CoreWidgwt *coreWidgwt;//背景显示页面
QLabel *label;
QProgressBar *proBar;//进度条
QFile *fileName;
QImage *other_image;
RipHEADER *ripPix;
ReadFileThread *readFileThread;//创建读文件的线程
DataProcess *dataProcess;//创建数据处理进程
ShowImage *showImage;
QGraphicsScene *scene;//场景
ViewPicture *viewPicture;//场景显示窗口
signals:
//void shoot_LINE_SIGNAL(DWORD BytePerLine);
//void shoot_PIX_POINT_LIST(QList<PixPoint > list,DWORD bytesLine,DWORD height );//发射读取到的每一行数据
public slots:
void showVersionInfo();//显示版本信息的窗口
void openFile();//打开文件
void printFile();//打印文件
void exitWin();//退出主窗口
//void showImage();//显示图片
void colorSelect();//选择颜色
void showRipHead();//显示文件的头信息
public:
void onLoadMenu();//加载菜单栏
void onLoadToolBar();//加载工具栏
void initSlot();//初始化槽函数
void onLoadView();//加载Main窗口的中间窗口
private slots:
void on_action_11_triggered();
};
#endif // MAINWINDOW_H
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。