3 // Copyright (C) 2012 by Werner Lemberg.
5 // This file is part of the ttfautohint library, and may only be used,
6 // modified, and distributed under the terms given in `COPYING'. By
7 // continuing to use, modify, or distribute this file you indicate that you
8 // have read `COPYING' and understand and accept it fully.
10 // The file `COPYING' mentioned in the previous paragraph is distributed
11 // with the ttfautohint library.
19 #include <QMainWindow>
22 #include <ttfautohint.h>
41 Main_GUI(int, int, int, bool, bool, bool, bool, int, bool);
44 void closeEvent(QCloseEvent
*);
53 void check_no_limit();
54 void absolute_input();
55 void absolute_output();
60 int hinting_range_min
;
61 int hinting_range_max
;
63 int ignore_permissions
;
65 int increase_x_height
;
71 void create_connections();
72 void create_actions();
74 void create_status_bar();
76 void write_settings();
78 int check_filenames(const QString
&, const QString
&);
79 int open_files(const QString
&, FILE**, const QString
&, FILE**);
80 int handle_error(TA_Error
, const unsigned char*, QString
);
85 QLineEdit
* input_line
;
86 QPushButton
* input_button
;
88 QLineEdit
* output_line
;
89 QPushButton
* output_button
;
94 QComboBox
* fallback_box
;
99 QCheckBox
* no_limit_box
;
102 QCheckBox
* increase_box
;
103 QCheckBox
* symbol_box
;
107 QPushButton
* run_button
;
111 QAction
* about_Qt_act
;
116 #endif // __MAINGUI_H__