00001 /**************************************************************************** 00002 ** Form interface generated from reading ui file 'common/ChannelEditor.ui' 00003 ** 00004 ** Created: Thu Jan 12 01:29:20 2006 00005 ** by: The User Interface Compiler ($Id: _channel_editor_8h-source.html,v 1.2 2006/12/17 03:51:11 nemosoft Exp $) 00006 ** 00007 ** WARNING! All changes made in this file will be lost! 00008 ****************************************************************************/ 00009 00010 #ifndef FREQUENCYSELECTION_H 00011 #define FREQUENCYSELECTION_H 00012 00013 #include <qvariant.h> 00014 #include <qpixmap.h> 00015 #include <qdialog.h> 00016 00017 class QVBoxLayout; 00018 class QHBoxLayout; 00019 class QGridLayout; 00020 class QSpacerItem; 00021 class QListView; 00022 class QListViewItem; 00023 class QPushButton; 00024 class QLabel; 00025 class QLineEdit; 00026 class QComboBox; 00027 class QListBox; 00028 class QListBoxItem; 00029 class QSlider; 00030 class QLCDNumber; 00031 00032 class CChannelEditor : public QDialog 00033 { 00034 Q_OBJECT 00035 00036 public: 00037 CChannelEditor( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); 00038 ~CChannelEditor(); 00039 00040 QListView* m_PresetList; 00041 QPushButton* m_NewButton; 00042 QPushButton* m_DeleteButton; 00043 QPushButton* m_UpButton; 00044 QPushButton* m_DownButton; 00045 QLabel* TextLabel1_2; 00046 QLineEdit* m_NameLineEdit; 00047 QLabel* TextLabel1; 00048 QComboBox* m_FrequencySystemDropdown; 00049 QLabel* TextLabel2; 00050 QListBox* m_SystemChannels; 00051 QLabel* TextLabel3; 00052 QSlider* m_FinetuningSlider; 00053 QLCDNumber* m_FrequencyLCD; 00054 QLabel* TextLabel4; 00055 QComboBox* m_ColorSystemDropdown; 00056 QPushButton* buttonHelp; 00057 QPushButton* buttonApply; 00058 QPushButton* buttonOk; 00059 QPushButton* buttonCancel; 00060 00061 protected: 00062 QVBoxLayout* FrequencySelectionLayout; 00063 QHBoxLayout* Layout15; 00064 QVBoxLayout* Layout14; 00065 QHBoxLayout* Layout26; 00066 QHBoxLayout* Layout13; 00067 QHBoxLayout* Layout17; 00068 QHBoxLayout* Layout20; 00069 QVBoxLayout* Layout19; 00070 QVBoxLayout* Layout18; 00071 QHBoxLayout* Layout21; 00072 QHBoxLayout* Layout1; 00073 QSpacerItem* Horizontal_Spacing2; 00074 00075 protected slots: 00076 virtual void languageChange(); 00077 00078 virtual void ColorSystemChanged(int); 00079 virtual void DeleteClicked(); 00080 virtual void FinetuningMoved(int); 00081 virtual void FrequencySystemChanged(int); 00082 virtual void NameChanged(const QString &); 00083 virtual void NewClicked(); 00084 virtual void PresetClicked(QListViewItem *); 00085 virtual void SystemChannelClicked(int); 00086 virtual void UpClicked(); 00087 virtual void DownClicked(); 00088 00089 00090 private: 00091 QPixmap image0; 00092 QPixmap image1; 00093 00094 }; 00095 00096 #endif // FREQUENCYSELECTION_H