00001 #include "ui_general_menu.h" 00002 #include "../config.h" 00003 #include <QFont> 00004 00005 using namespace Ui; 00006 00007 class General_Menu: public QDialog 00008 { 00009 Q_OBJECT 00010 00011 public: 00012 General_Menu(QWidget *parent=0); 00013 Ui_GeneralMenu ui; 00014 void apply_config(); 00015 00016 private: 00017 QFont config_font; 00018 QColor foreground_color; 00019 QColor background_color; 00020 QColor error_color; 00021 void set_font_label(); 00022 void set_color_label(); 00023 00024 public slots: 00025 void editor_select_button_callback(); 00026 void help_path_select_pushButton_callback(); 00027 void font_button_callback(); 00028 void foreground_button_callback(); 00029 void background_button_callback(); 00030 void error_button_callback(); 00031 };