Mercurial > hg > svgui
comparison view/View.h @ 630:c3593bb2de6b
Use italic for value labels (as opposed to label labels)
author | Chris Cannam |
---|---|
date | Tue, 16 Apr 2013 10:06:10 +0100 |
parents | 4c484636d5ec |
children | 596414d20ef0 |
comparison
equal
deleted
inserted
replaced
629:355fa700ce70 | 630:c3593bb2de6b |
---|---|
188 virtual QColor getForeground() const; | 188 virtual QColor getForeground() const; |
189 virtual QColor getBackground() const; | 189 virtual QColor getBackground() const; |
190 | 190 |
191 enum TextStyle { | 191 enum TextStyle { |
192 BoxedText, | 192 BoxedText, |
193 OutlinedText | 193 OutlinedText, |
194 OutlinedItalicText | |
194 }; | 195 }; |
195 | 196 |
196 virtual void drawVisibleText(QPainter &p, int x, int y, | 197 virtual void drawVisibleText(QPainter &p, int x, int y, |
197 QString text, TextStyle style) const; | 198 QString text, TextStyle style) const; |
198 | 199 |