CARMA C++
|
A static component that provides spacing inside of boxes (with BoxLayout). More...
#include <carma/ui/rtd/common/RtDisplay.h>
Public Member Functions | |
RtSpacer (int minWidth, int prefWidth, double weight) | |
Constructor. More... | |
RtSpacer (int minWidth, int prefWidth) | |
Constructor. More... | |
RtSpacer (int minWidth, double weight) | |
Constructor. More... | |
RtSpacer (int minWidth) | |
Constructor. More... | |
virtual void | serialize (bool initialize, int fontSize,::rtdproto::RtObject *rtobj) |
Describe this component to stdout. More... | |
![]() | |
virtual void | update () |
A null update routine. 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 | |
![]() | |
RtStatic () | |
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... | |
A static component that provides spacing inside of boxes (with BoxLayout).
Definition at line 2157 of file RtDisplay.h.
carma::ui::rtd::RtSpacer::RtSpacer | ( | int | minWidth, |
int | prefWidth, | ||
double | weight | ||
) |
Constructor.
minWidth | minimum width for the spacer, in pixels |
prefWidth | preferred width for the spacer, in pixels |
weight | weight to use when splitting space with other spacers |
carma::ui::rtd::RtSpacer::RtSpacer | ( | int | minWidth, |
int | prefWidth | ||
) |
Constructor.
Weight defaults to unity.
minWidth | minimum width for the spacer, in pixels |
prefWidth | preferred width for the spacer, in pixels |
carma::ui::rtd::RtSpacer::RtSpacer | ( | int | minWidth, |
double | weight | ||
) |
Constructor.
Preferred width defaults to minimum width.
minWidth | minimum width for the spacer, in pixels |
weight | weight to use when splitting space with other spacers |
carma::ui::rtd::RtSpacer::RtSpacer | ( | int | minWidth | ) |
Constructor.
Preferred width defaults to minimum width and weight defaults to 1.
|
virtual |
Describe this component to stdout.
Implements carma::ui::rtd::RtStatic.