Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

profileeditordialog.h

Go to the documentation of this file.
00001 #ifndef PROFILE_EDITOR_DIALOG
00002 #define PROFILE_EDITOR_DIALOG
00003 
00004 #include <qdialog.h>
00005 #include <opie2/otabwidget.h>
00006 
00007 #include "profile.h"
00008 
00009 class MetaFactory;
00010 class EditBase;
00011 class QTabWidget;
00012 class QHBoxLayout;
00013 class QLineEdit;
00014 class QComboBox;
00015 class QCheckBox;
00016 class QLabel;
00017 class QScrollView;
00018 class ProfileDialogWidget;
00019 
00020 class ProfileEditorDialog : public QDialog {
00021     Q_OBJECT
00022 public:
00023     ProfileEditorDialog(MetaFactory* fact,
00024                         const Profile& prof );
00025     ProfileEditorDialog(MetaFactory* fact );
00026     ~ProfileEditorDialog();
00027     Profile profile()const;
00028 
00029 
00030 
00031 public slots:
00032     void accept();
00033 
00034 private slots:
00035     void slotConActivated(const QString& );
00036     void slotTermActivated( const QString& );
00037     void slotKeyActivated(const QString&);
00038 private:
00039     void initUI();
00040     QString profName()const;
00041     QCString profType()const;
00042 
00043     MetaFactory* m_fact;
00044     QHBoxLayout* m_lay;
00045     Profile m_prof;
00046 
00047     QLineEdit *m_name;
00048     QComboBox *m_conCmb, *m_termCmb;
00049     QCheckBox *m_autoConnect;
00050 
00051     QScrollView *m_svCon, *m_svTerm;
00052 
00053     QWidget *m_tabCon, *m_tabTerm, *m_tabKey;
00054     ProfileDialogWidget* m_con, *m_term, *m_key;
00055     QHBoxLayout *m_layCon, *m_layTerm, *m_layKey;
00056     Opie::Ui::OTabWidget *tabWidget;
00057     QWidget *tabprof;
00058     int m_showconntab;
00059 };
00060 
00061 #endif

Generated on Sat Nov 5 16:16:50 2005 for OPIE by  doxygen 1.4.2