-
Notifications
You must be signed in to change notification settings - Fork 0
/
vemainwindow.h
40 lines (34 loc) · 896 Bytes
/
vemainwindow.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#ifndef VEMAINWINDOW_H
#define VEMAINWINDOW_H
#include <QWidget>
#include <QHBoxLayout>
#include <QFrame>
#include <QGraphicsView>
#include <QButtonGroup>
#include <QGraphicsScene>
#include <QColorDialog>
#include <QFileDialog>
#include "vecanvas.h"
QT_BEGIN_NAMESPACE
namespace Ui { class VEMainWindow; }
QT_END_NAMESPACE
class VEMainWindow : public QWidget
{
Q_OBJECT
public:
explicit VEMainWindow(QWidget *parent = nullptr);
~VEMainWindow();
private:
Ui::VEMainWindow *ui;
QButtonGroup *toolsGroup_;
VeCanvas *scene_;
private slots:
void slotForToolBtn_clicked();
void slotForVEShapeItem_selected(const VeShapeItem *p_item);
void on_pushBtnBrushColor_clicked();
void on_spinBoxPenWidth_valueChanged(int arg1);
void on_pushBtnSave_clicked();
void on_pushBtnLoad_clicked();
void on_pushBtnPenColor_clicked();
};
#endif // VEMAINWINDOW_H