Numworks Epsilon
1.4.1
Graphing Calculator Operating System
|
#include <message_table_cell.h>
Public Member Functions | |
MessageTableCell (I18n::Message label=(I18n::Message) 0, KDText::FontSize size=KDText::FontSize::Small, Layout layout=Layout::Horizontal) | |
View * | labelView () const override |
virtual void | setHighlighted (bool highlight) override |
void | setMessage (I18n::Message message) |
virtual void | setTextColor (KDColor color) |
void | setMessageFontSize (KDText::FontSize fontSize) |
Public Member Functions inherited from TableCell | |
TableCell (Layout layout=Layout::Horizontal) | |
virtual View * | accessoryView () const |
virtual View * | subAccessoryView () const |
void | drawRect (KDContext *ctx, KDRect rect) const override |
Public Member Functions inherited from HighlightCell | |
HighlightCell () | |
bool | isHighlighted () const |
virtual void | reloadCell () |
virtual Responder * | responder () |
Public Member Functions inherited from View | |
View () | |
virtual | ~View () |
View (const View &other)=delete | |
View (View &&other)=delete | |
View & | operator= (const View &other)=delete |
View & | operator= (View &&other)=delete |
void | resetSuperview () |
void | setSize (KDSize size) |
void | setFrame (KDRect frame) |
KDPoint | pointFromPointInView (View *view, KDPoint point) |
KDRect | bounds () const |
View * | subview (int index) |
virtual KDSize | minimalSizeForOptimalDisplay () const |
Additional Inherited Members | |
Public Types inherited from TableCell | |
enum | Layout { Layout::Vertical, Layout::Horizontal } |
Protected Member Functions inherited from TableCell | |
int | numberOfSubviews () const override |
View * | subviewAtIndex (int index) override |
void | layoutSubviews () override |
Protected Member Functions inherited from View | |
void | markRectAsDirty (KDRect rect) |
Protected Attributes inherited from HighlightCell | |
bool | m_highlighted |
Protected Attributes inherited from View | |
KDRect | m_frame |
Static Protected Attributes inherited from TableCell | |
static constexpr KDCoordinate | k_separatorThickness = 1 |
static constexpr KDCoordinate | k_labelMargin = 10 |
static constexpr KDCoordinate | k_accessoryMargin = 10 |
Definition at line 8 of file message_table_cell.h.
MessageTableCell::MessageTableCell | ( | I18n::Message | label = (I18n::Message)0 , |
KDText::FontSize | size = KDText::FontSize::Small , |
||
Layout | layout = Layout::Horizontal |
||
) |
Definition at line 5 of file message_table_cell.cpp.
|
overridevirtual |
Reimplemented from TableCell.
Definition at line 11 of file message_table_cell.cpp.
|
overridevirtual |
Reimplemented from HighlightCell.
Reimplemented in MessageTableCellWithEditableText, MessageTableCellWithBuffer, MessageTableCellWithChevronAndExpression, MessageTableCellWithGauge, MessageTableCellWithChevronAndMessage, and MessageTableCellWithMessage.
Definition at line 15 of file message_table_cell.cpp.
void MessageTableCell::setMessage | ( | I18n::Message | message | ) |
Definition at line 21 of file message_table_cell.cpp.
void MessageTableCell::setMessageFontSize | ( | KDText::FontSize | fontSize | ) |
Definition at line 31 of file message_table_cell.cpp.
|
virtual |
Reimplemented in MessageTableCellWithEditableText, MessageTableCellWithBuffer, and MessageTableCellWithMessage.
Definition at line 27 of file message_table_cell.cpp.