-
Notifications
You must be signed in to change notification settings - Fork 0
/
textprinterwindow.h
executable file
·42 lines (33 loc) · 1 KB
/
textprinterwindow.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
#ifndef TEXTPRINTERWINDOW_H
#define TEXTPRINTERWINDOW_H
#include <QMainWindow>
namespace Ui {
class TextPrinterWindow;
}
class TextPrinterWindow : public QMainWindow {
Q_OBJECT
public:
TextPrinterWindow(QWidget *parent = 0);
~TextPrinterWindow();
protected:
void changeEvent(QEvent *e);
void closeEvent(QCloseEvent *e);
private:
Ui::TextPrinterWindow *ui;
private slots:
void on_actionSave_triggered();
void on_actionClear_triggered();
void on_actionWord_wrap_triggered();
void on_actionPrint_triggered();
// To manipulate fonts and ascii/atascii windows //
void print(const QString &text);
void on_actionAtasciiFont_triggered();
void on_actionFont_Size_triggered();
void on_actionHideShow_Ascii_triggered();
void on_actionHideShow_Atascii_triggered();
void on_actionStrip_Line_Numbers_triggered();
void asciiFontChanged (const QFont &);
signals:
void closed();
};
#endif // TEXTPRINTERWINDOW_H