Numworks Epsilon  1.4.1
Graphing Calculator Operating System
message_table_cell.h
Go to the documentation of this file.
1 #ifndef ESCHER_MESSAGE_TABLE_CELL_H
2 #define ESCHER_MESSAGE_TABLE_CELL_H
3 
5 #include <escher/i18n.h>
6 #include <escher/table_cell.h>
7 
8 class MessageTableCell : public TableCell {
9 public:
10  MessageTableCell(I18n::Message label = (I18n::Message)0, KDText::FontSize size = KDText::FontSize::Small, Layout layout = Layout::Horizontal);
11  View * labelView() const override;
12  virtual void setHighlighted(bool highlight) override;
13  void setMessage(I18n::Message message);
14  virtual void setTextColor(KDColor color);
15  void setMessageFontSize(KDText::FontSize fontSize);
16 private:
17  MessageTextView m_messageTextView;
18 };
19 
20 #endif
View * labelView() const override
virtual void setTextColor(KDColor color)
virtual void setHighlighted(bool highlight) override
void setMessageFontSize(KDText::FontSize fontSize)
void setMessage(I18n::Message message)
Definition: color.h:6
Definition: view.h:23
FontSize
Definition: text.h:10
MessageTableCell(I18n::Message label=(I18n::Message) 0, KDText::FontSize size=KDText::FontSize::Small, Layout layout=Layout::Horizontal)