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.
17 #include <QMainWindow>
19 #include <ttfautohint.h>
38 Main_GUI(int, int, bool, bool, int);
41 void closeEvent(QCloseEvent
*);
49 void absolute_input();
50 void absolute_output();
55 int hinting_range_min
;
56 int hinting_range_max
;
57 int ignore_permissions
;
62 void create_connections();
63 void create_actions();
65 void create_status_bar();
67 void write_settings();
69 int check_filenames(const QString
&, const QString
&);
70 int open_files(const QString
&, FILE**, const QString
&, FILE**);
71 void handle_error(TA_Error
, const unsigned char*, QString
);
76 QLineEdit
* input_line
;
77 QPushButton
* input_button
;
79 QLineEdit
* output_line
;
80 QPushButton
* output_button
;
85 QComboBox
* fallback_box
;
88 QCheckBox
* ignore_box
;
90 QPushButton
* run_button
;
94 QAction
* about_Qt_act
;
99 #endif /* __MAINGUI_H__ */