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