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.
44 lines
593 B
44 lines
593 B
#ifndef __UICHOOSER_WIDGET_H__
|
|
#define __UICHOOSER_WIDGET_H__
|
|
|
|
|
|
#include <tqwidget.h>
|
|
|
|
|
|
#include "uichooser.h"
|
|
|
|
class UIChooserPart;
|
|
|
|
class UIChooserWidget : public UIChooser
|
|
{
|
|
TQ_OBJECT
|
|
|
|
|
|
public:
|
|
|
|
enum TabWidgetVisibility {
|
|
_AlwaysShowTabs = 0,
|
|
_NeverShowTabs = 2
|
|
};
|
|
|
|
UIChooserWidget( UIChooserPart * part, TQWidget *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;
|
|
TQWidget * _lastMode;
|
|
};
|
|
|
|
|
|
#endif
|