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 UIChooserWidget( UIChooserPart * part, QWidget *parent=0, const char *name=0 ); 00018 00019 public slots: 00020 void accept(); 00021 00022 protected slots: 00023 void maybeEnableCloseOnHover( bool ); 00024 00025 private slots: 00026 00027 void load(); 00028 void save(); 00029 00030 private: 00031 UIChooserPart* m_part; 00032 QWidget * _lastMode; 00033 }; 00034 00035 00036 #endif