You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
586 B
43 lines
586 B
#ifndef __UICHOOSER_WIDGET_H__
|
|
#define __UICHOOSER_WIDGET_H__
|
|
|
|
|
|
#include <qwidget.h>
|
|
|
|
|
|
#include "uichooser.h"
|
|
|
|
class UIChooserPart;
|
|
|
|
class UIChooserWidget : public UIChooser
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
enum TabWidgetVisibility {
|
|
_AlwaysShowTabs = 0,
|
|
_NeverShowTabs = 2
|
|
};
|
|
|
|
UIChooserWidget( UIChooserPart * part, QWidget *parent=0, const char *name=0 );
|
|
|
|
public slots:
|
|
void accept();
|
|
|
|
protected slots:
|
|
void maybeEnableCloseOnHover( bool );
|
|
|
|
private slots:
|
|
|
|
void load();
|
|
void save();
|
|
|
|
private:
|
|
UIChooserPart* m_part;
|
|
QWidget * _lastMode;
|
|
};
|
|
|
|
|
|
#endif
|