april  1.0.0
...
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
dock.h File Reference

Contains the definition for Dock class. More...

#include <april/april.h>
#include <QDockWidget>
#include <QAction>

Go to the source code of this file.

Classes

class  april::Gui::Dock
 Represents the base class for a docking panel. More...

Macros

#define DOCK_ADD_IPROP(id, name)
 add an integer unbounded property
#define DOCK_ADD_IPROP_B(id, name, i_min, i_max)
 add an integer bounded property

Detailed Description

Contains the definition for Dock class.

Date
Apr 2013
Author
TNick

Macro Definition Documentation

#define DOCK_ADD_IPROP (   id,
  name 
)
Value:
d_->props_[id] = d_->intManager->addProperty(name); \
d_->props_[id]->setEnabled( false ); \
d_->tree_->addProperty( d_->props_[id] );

add an integer unbounded property

#define DOCK_ADD_IPROP_B (   id,
  name,
  i_min,
  i_max 
)
Value:
d_->props_[id] = d_->intManager->addProperty( name ); \
d_->props_[id]->setEnabled( false ); \
d_->tree_->addProperty( d_->props_[id] ); \
d_->intManager->setMinimum( d_->props_[id], i_min ); \
d_->intManager->setMaximum( d_->props_[id], i_max );

add an integer bounded property