CARMA C++
|
A panel with time strings. More...
#include <carma/ui/rtd/common/RtDisplay.h>
Public Member Functions | |
void | change (const char *ut, const char *lst, bool visible=true) |
Change time strings and visibility. More... | |
virtual std::string | getUpdate () |
Get the update string. More... | |
RtTimePanel (const char *ut, const char *lst) | |
Constructor. More... | |
RtTimePanel (const char *ut, const char *lst, bool visible) | |
Constructor. More... | |
virtual void | serialize (bool initialize, int fontSize,::rtdproto::RtObject *rtobj) |
Create the static description of this object to stdout. More... | |
virtual void | update () |
Update the time string. 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 | |
![]() | |
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 panel with time strings.
Definition at line 2254 of file RtDisplay.h.
carma::ui::rtd::RtTimePanel::RtTimePanel | ( | const char * | ut, |
const char * | lst | ||
) |
Constructor.
ut | pointer to string for ut |
lst | pointer to string for lst |
carma::ui::rtd::RtTimePanel::RtTimePanel | ( | const char * | ut, |
const char * | lst, | ||
bool | visible | ||
) |
Constructor.
ut | pointer to string for ut |
lst | pointer to string for lst |
visible | a flag indicating whether the panel is initially visible |
void carma::ui::rtd::RtTimePanel::change | ( | const char * | ut, |
const char * | lst, | ||
bool | visible = true |
||
) |
Change time strings and visibility.
ut | pointer to string for ut |
lst | pointer to string for lst |
visible | a flag indicating whether the panel is initially visible |
|
virtual |
Get the update string.
|
virtual |
Create the static description of this object to stdout.
Implements carma::ui::rtd::RtObject.
|
virtual |
Update the time string.
Implements carma::ui::rtd::RtObject.