-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsubmenu.h
More file actions
48 lines (36 loc) · 850 Bytes
/
Copy pathsubmenu.h
File metadata and controls
48 lines (36 loc) · 850 Bytes
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
41
42
43
44
45
46
47
48
#ifndef SUBMENU_H
#define SUBMENU_H
#include <QWidget>
#include <QGridLayout>
#include <QPushButton>
#include <QDebug>
#include <QColor>
#include <QColorDialog>
#include <QInputDialog>
#include <QStyle>
#include <QQuickView>
#include <QFontDialog>
#include "scribblearea.h"
class SubMenu : public QWidget
{
Q_OBJECT
ScribbleArea& _scribbleArea;
public:
SubMenu(ScribbleArea& scribbleArea, QWidget *parent = 0);
~SubMenu();
private slots:
void clearScreen();
void fillEasel();
void changePenColor();
void changePenWidth();
void setUpPaintBrush();
void createLine();
void createTextBlurb();
void setUpSquare();
void setUpEllipse();
void setUpConvexPolygon();
void setUpHandDrawnSquircle();
void userChooseGradientPaintColors();
void setUpUndoBtn();
};
#endif // SUBMENU_H