00001 /**************************************************************************** 00002 ** Form interface generated from reading ui file 'mtpfilterssettings.ui' 00003 ** 00004 ** Created: Sat May 10 11:56:57 2003 00005 ** by: The User Interface Compiler ($Id: qt/main.cpp 3.1.2 edited Dec 19 11:45 $) 00006 ** 00007 ** WARNING! All changes made in this file will be lost! 00008 ****************************************************************************/ 00009 00010 #ifndef MTPFILTERSSETTINGS_H 00011 #define MTPFILTERSSETTINGS_H 00012 00013 #include <qvariant.h> 00014 #include <qwidget.h> 00015 00016 class QVBoxLayout; 00017 class QHBoxLayout; 00018 class QGridLayout; 00019 class QTabWidget; 00020 class QLineEdit; 00021 class QLabel; 00022 class QTextEdit; 00023 class QCheckBox; 00024 class QToolButton; 00025 class QListBox; 00026 class QListBoxItem; 00027 class QDomDocument; 00028 00029 class MtpFiltersSettings : public QWidget 00030 { 00031 Q_OBJECT 00032 00033 public: 00034 MtpFiltersSettings( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); 00035 ~MtpFiltersSettings(); 00036 00037 QTabWidget* tab; 00038 QWidget* Widget8; 00039 QLineEdit* global_name; 00040 QLabel* textLabel1; 00041 QLabel* TextLabel9; 00042 QTextEdit* global_result; 00043 QCheckBox* global_active_check; 00044 QToolButton* global_subs; 00045 QToolButton* global_add; 00046 QToolButton* global_del; 00047 QToolButton* global_up; 00048 QToolButton* global_down; 00049 QListBox* global_rules; 00050 QCheckBox* global_subrules_check; 00051 QWidget* Widget9; 00052 QLineEdit* block_end; 00053 QLabel* end_label; 00054 QTextEdit* block_result; 00055 QLabel* input_label; 00056 QLineEdit* block_begin; 00057 QLabel* textLabel2; 00058 QLabel* TextLabel9_2; 00059 QLineEdit* block_input; 00060 QLineEdit* block_name; 00061 QLabel* begin_label; 00062 QCheckBox* block_subrules_check; 00063 QToolButton* block_subs; 00064 QToolButton* block_add; 00065 QToolButton* block_del; 00066 QToolButton* block_up; 00067 QToolButton* block_down; 00068 QListBox* block_rules; 00069 QCheckBox* block_active_check; 00070 QWidget* tab_2; 00071 QLineEdit* line_regexp; 00072 QLineEdit* line_name; 00073 QTextEdit* line_result; 00074 QLabel* TextLabel9_3; 00075 QLabel* TextLabel8; 00076 QLabel* textLabel3; 00077 QCheckBox* line_active_check; 00078 QToolButton* line_subs; 00079 QToolButton* line_add; 00080 QToolButton* line_del; 00081 QToolButton* line_up; 00082 QToolButton* line_down; 00083 QListBox* line_rules; 00084 QCheckBox* line_subrules_check; 00085 QWidget* tab_3; 00086 QLineEdit* item_regexp; 00087 QTextEdit* item_result; 00088 QLabel* TextLabel8_2; 00089 QLabel* TextLabel9_4; 00090 QLabel* textLabel4; 00091 QLineEdit* item_name; 00092 QCheckBox* item_active_check; 00093 QListBox* item_rules; 00094 QToolButton* item_subs; 00095 QToolButton* item_add; 00096 QToolButton* item_del; 00097 QToolButton* item_up; 00098 QToolButton* item_down; 00099 QWidget* tab_4; 00100 QLineEdit* input_regexp; 00101 QTextEdit* input_result; 00102 QLabel* TextLabel8_2_2; 00103 QLabel* TextLabel9_4_2; 00104 QLabel* textLabel4_2; 00105 QLineEdit* input_name; 00106 QListBox* input_rules; 00107 QCheckBox* input_active_check; 00108 QToolButton* input_subs; 00109 QToolButton* input_add; 00110 QToolButton* input_del; 00111 QToolButton* input_up; 00112 QToolButton* input_down; 00113 00114 void setDom( QDomDocument * dom ); 00115 virtual void updateList( QListBox * box, const QString & path ); 00116 virtual void up( QListBox * box ); 00117 virtual void down( QListBox * box ); 00118 00119 public slots: 00120 void displayGlobal( const QString & name ); 00121 virtual void displayBlock( const QString & name ); 00122 virtual void displayLine( const QString & name ); 00123 virtual void displayItem( const QString & name ); 00124 virtual void displayInput( const QString & name ); 00125 virtual void changedBlock(); 00126 virtual void changedItem(); 00127 virtual void changedGlobal(); 00128 virtual void changedLine(); 00129 virtual void changedInput(); 00130 virtual void addGlobal(); 00131 virtual void addBlock(); 00132 virtual void addLine(); 00133 virtual void addItem(); 00134 virtual void addInput(); 00135 virtual void delGlobal(); 00136 virtual void delBlock(); 00137 virtual void delLine(); 00138 virtual void delItem(); 00139 virtual void delInput(); 00140 virtual void upGlobal(); 00141 virtual void downGlobal(); 00142 virtual void upBlock(); 00143 virtual void downBlock(); 00144 virtual void upLine(); 00145 virtual void downLine(); 00146 virtual void upItem(); 00147 virtual void downItem(); 00148 virtual void upInput(); 00149 virtual void downInput(); 00150 00151 protected: 00152 QGridLayout* MtpFiltersSettingsLayout; 00153 QGridLayout* Widget8Layout; 00154 QGridLayout* layout16; 00155 QGridLayout* layout17; 00156 QVBoxLayout* layout16_2; 00157 QGridLayout* Widget9Layout; 00158 QGridLayout* layout24; 00159 QGridLayout* layout27; 00160 QVBoxLayout* layout18; 00161 QGridLayout* tabLayout; 00162 QGridLayout* layout21; 00163 QGridLayout* layout21_2; 00164 QVBoxLayout* layout20; 00165 QGridLayout* tabLayout_2; 00166 QGridLayout* layout22; 00167 QGridLayout* layout23; 00168 QVBoxLayout* layout22_2; 00169 QGridLayout* tabLayout_3; 00170 QGridLayout* layout22_2_2; 00171 QGridLayout* layout26; 00172 QVBoxLayout* layout24_2; 00173 00174 protected slots: 00175 virtual void languageChange(); 00176 00177 private: 00178 QDomDocument* m_dom; 00179 00180 }; 00181 00182 #endif // MTPFILTERSSETTINGS_H