parts/uimode/uichooser_widget.h
Go to the documentation of this file.00001 #ifndef __UICHOOSER_WIDGET_H__ 00002 #define __UICHOOSER_WIDGET_H__ 00003 00004 00005 #include <qwidget.h> 00006 00007 00008 #include "uichooser.h" 00009 00010 class UIChooserPart; 00011 00012 class UIChooserWidget : public UIChooser 00013 { 00014 Q_OBJECT 00015 00016 public: 00017 00018 UIChooserWidget(QWidget *parent=0, const char *name=0); 00019 void setPart(UIChooserPart* pPart); 00020 00021 private slots: 00022 00023 void load(); 00024 void save(); 00025 00026 void accept(); 00027 00028 private: 00029 UIChooserPart* m_pMyPart; 00030 QWidget * _lastMode; 00031 }; 00032 00033 00034 #endif