29 #include <QDockWidget>
55 class Dock :
public QObject,
public MemTrack {
66 # define DOCK_ADD_IPROP(id,name) \
67 d_->props_[id] = d_->intManager->addProperty(name); \
68 d_->props_[id]->setEnabled( false ); \
69 d_->tree_->addProperty( d_->props_[id] );
72 # define DOCK_ADD_IPROP_B(id,name,i_min,i_max) \
73 d_->props_[id] = d_->intManager->addProperty( name ); \
74 d_->props_[id]->setEnabled( false ); \
75 d_->tree_->addProperty( d_->props_[id] ); \
76 d_->intManager->setMinimum( d_->props_[id], i_min ); \
77 d_->intManager->setMaximum( d_->props_[id], i_max );
99 Qt::DockWidgetArea side_;
120 Dock ( MW *
mw,
const QString & s_text );
126 virtual ~Dock (
void );
137 QDockWidget *
dock (
void )
const
145 void changeVisibility (
bool b_vis );
148 void saveDockLoc ( Qt::DockWidgetArea );
151 void dockVisibilityChanged (
bool b );
156 void timerEvent ( QTimerEvent * );
183 #endif // __DOCK_INC__