-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathpagesetupdialog.h
45 lines (36 loc) · 930 Bytes
/
pagesetupdialog.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
41
42
43
44
45
#ifndef PAGESETUPDIALOG_H
#define PAGESETUPDIALOG_H
#include <QDialog>
#include "richtextprocess.h"
namespace Ui {
class PageSetupDialog;
}
class PageSetupDialog : public QDialog
{
Q_OBJECT
public:
explicit PageSetupDialog(RichTextProcess* editor1, QWidget *parent = 0);
~PageSetupDialog();
private slots:
void on_confirm_clicked();
void on_cancel_clicked();
void receiveLeftMargin(double);
void receiveRightMargin(double);
void receiveTopMargin(double);
void receiveBottomMargin(double);
void receiveLineHeight(double);
void receiveLetterDistance(double);
void on_pushButton_2_clicked();
private:
Ui::PageSetupDialog *ui;
RichTextProcess *editor;
double leftMargin;
double rightMargin;
double topMargin;
double bottomMargin;
double lineHeight;
double letterDistanceScale;
double height;
double width;
};
#endif // PAGESETUPDIALOG_H