CARMA C++
|
RtBox with vertical layout. More...
#include <carma/ui/rtd/common/RtDisplay.h>
Public Member Functions | |
RtVBox (const std::string &title) | |
Constructor. More... | |
RtVBox (Border border) | |
Constructor. More... | |
RtVBox (const std::string &title, Border border) | |
Constructor. More... | |
![]() | |
virtual void | serialize (bool initialize, int fontSize,::rtdproto::RtObject *rtobj) |
Creates static description of container to stdout. More... | |
void | setProp () |
Set stretchType to proportional. More... | |
void | setSpring () |
Set stretchType to SPRING. More... | |
void | setStretchFactor (double stretchFactor) |
Set stretch factor. More... | |
![]() | |
RtObjectPtr | add (RtObjectPtr rtObject) |
Insert an object into the container. More... | |
Border | getBorder () const |
::size_t | getNumObjects () const |
Get the number of objects in the container. More... | |
RtObjectPtr | getObj (::size_t index) const |
Get object from the container by index. More... | |
RtObjectPtr | replace (unsigned int i, RtObjectPtr rtObject) |
Replace an object in the container. More... | |
RtObjectPtr | replace (RtObjectPtr oldObj, RtObjectPtr newObj) |
void | setBorder (Border border) |
Set the border code. More... | |
virtual void | update () |
Update all objects contained by container. More... | |
virtual | ~RtContainer () |
Destructor. More... | |
![]() | |
std::string | getTitle () |
Get title. More... | |
void | setTitle (const std::string &title) |
Set title for object. More... | |
![]() | |
void | appendToolTipText (const std::string &text) |
Append more text to the existing tool tip text. More... | |
Layout | getLayout () const |
Get the layout for this object. More... | |
std::string | getToolTipText () |
void | setFontSize (int fontSize) |
Set the absolute font size for this object. More... | |
void | setLayout (Layout layout) |
Set the layout for this object. More... | |
void | setToolTipText (const std::string &text) |
Set the tool tip text for this RtObject. More... | |
virtual | ~RtObject () |
Destructor. More... | |
Additional Inherited Members | |
![]() | |
enum | BoxType { BOX_HORIZONTAL, BOX_VERTICAL, BOX_FOLDER } |
enum | StretchType { STRETCH_PROPORTIONAL, STRETCH_SPRING } |
![]() | |
typedef ::std::vector < RtObjectPtr > | ObjectContainerType |
![]() | |
RtBox (BoxType type, const std::string &title) | |
Constructor. More... | |
RtBox (BoxType type, Border border) | |
Constructor. More... | |
RtBox (BoxType type, const std::string &title, Border border) | |
Constructor. More... | |
![]() | |
RtContainer () | |
Constructor. More... | |
RtContainer (const ::std::string &title) | |
Constructor. More... | |
RtContainer (Border border) | |
Constructor. More... | |
RtContainer (const ::std::string &title, Border border) | |
Constructor. More... | |
![]() | |
RtTitledObj (const std::string &title) | |
Constructor. More... | |
![]() | |
int | getFontSize (int parentFontSize) const |
Get the absolute font size for this object. More... | |
int | getFontSize () const |
Get the absolute font size for this object. More... | |
RtObject () | |
Constructor. More... | |
![]() | |
size_t | numObjects_ |
ObjectContainerType | objects_ |
![]() | |
std::string | title_ |
Object title. More... | |
RtBox with vertical layout.
Definition at line 1979 of file RtDisplay.h.
|
explicit |
|
explicit |
carma::ui::rtd::RtVBox::RtVBox | ( | const std::string & | title, |
Border | border | ||
) |
Constructor.
title | title for box |
border | single character codes for the border. |