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.
23 #include <ttfautohint.h>
44 Main_GUI(int, int, int,
47 bool, bool, int, bool);
50 void closeEvent(QCloseEvent
*);
59 void check_no_limit();
60 void check_no_increase();
61 void absolute_input();
62 void absolute_output();
67 int hinting_range_min
;
68 int hinting_range_max
;
70 int gray_strong_stem_width
;
71 int gdi_cleartype_strong_stem_width
;
72 int dw_cleartype_strong_stem_width
;
73 int increase_x_height
;
74 int ignore_restrictions
;
76 int process_with_components
;
83 void create_connections();
84 void create_actions();
86 void create_status_bar();
88 void write_settings();
90 int check_filenames(const QString
&, const QString
&);
91 int open_files(const QString
&, FILE**, const QString
&, FILE**);
92 int handle_error(TA_Error
, const unsigned char*, QString
);
97 Line_Edit
* input_line
;
98 QPushButton
* input_button
;
100 Line_Edit
* output_line
;
101 QPushButton
* output_button
;
106 QButtonGroup
* gray_button_group
;
107 QButtonGroup
* gdi_button_group
;
108 QButtonGroup
* dw_button_group
;
110 QComboBox
* fallback_box
;
114 QCheckBox
* no_limit_box
;
116 QLabel
* increase_label
;
117 QSpinBox
* increase_box
;
118 QCheckBox
* no_increase_box
;
121 QCheckBox
* process_box
;
122 QCheckBox
* symbol_box
;
125 QPushButton
* run_button
;
129 QAction
* about_Qt_act
;
134 #endif // __MAINGUI_H__