CARMA C++
|
Base class for RtObjects with titles, such as a container. More...
#include <carma/ui/rtd/common/RtDisplay.h>
Public Member Functions | |
std::string | getTitle () |
Get title. More... | |
virtual void | serialize (bool initialize, int fontSize,::rtdproto::RtObject *rtobj)=0 |
Create the static description of this object to standard out. More... | |
void | setTitle (const std::string &title) |
Set title for object. More... | |
virtual void | update () |
Update the 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... | |
Protected Member Functions | |
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... | |
Protected Attributes | |
std::string | title_ |
Object title. More... | |
Base class for RtObjects with titles, such as a container.
Definition at line 1299 of file RtDisplay.h.
|
protected |
Constructor.
title | title for the object |
std::string carma::ui::rtd::RtTitledObj::getTitle | ( | ) |
Get title.
|
pure virtual |
Create the static description of this object to standard out.
Implements carma::ui::rtd::RtObject.
Implemented in carma::ui::rtd::RtDisplay, carma::ui::rtd::RtBox, carma::ui::rtd::RtTable, carma::ui::rtd::RtArea, carma::ui::rtd::RtContainer, carma::ui::rtd::RtColumn, carma::ui::rtd::RtRow, and carma::ui::rtd::RtMenu.
void carma::ui::rtd::RtTitledObj::setTitle | ( | const std::string & | title | ) |
Set title for object.
title | title for the object |
|
virtual |
Update the object.
Implements carma::ui::rtd::RtObject.
Reimplemented in carma::ui::rtd::RtContainer.
|
protected |
Object title.
Definition at line 1324 of file RtDisplay.h.