[apps/sequence] Create a class sequence title cell

Change-Id: I2a891e6a47ec742cedfa6780ee1a50eb3df24085
This commit is contained in:
Émilie Feral
2017-02-07 14:31:33 +01:00
parent 7b9dbb88a5
commit f76b603c67
7 changed files with 140 additions and 9 deletions

View File

@@ -10,9 +10,14 @@ FunctionTitleCell::FunctionTitleCell(Orientation orientation, KDText::FontSize s
{
}
void FunctionTitleCell::reloadCell() {
EvenOddCell::reloadCell();
m_bufferTextView.setBackgroundColor(backgroundColor());
void FunctionTitleCell::setHighlighted(bool highlight) {
EvenOddCell::setHighlighted(highlight);
m_bufferTextView.setHighlighted(highlight);
}
void FunctionTitleCell::setEven(bool even) {
EvenOddCell::setEven(even);
m_bufferTextView.setEven(even);
}
void FunctionTitleCell::setText(const char * title) {