cleanups.
This commit is contained in:
@@ -30,8 +30,8 @@
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef BCVALUEDELEGATE_H
|
||||
#define BCVALUEDELEGATE_H
|
||||
#ifndef BC_VALUEDELEGATE_H
|
||||
#define BC_VALUEDELEGATE_H
|
||||
|
||||
#include <QStyledItemDelegate>
|
||||
|
||||
@@ -69,9 +69,8 @@ protected:
|
||||
|
||||
void updateRow(int row);
|
||||
void paintHighlightRow(QPainter* painter, const QStyleOptionViewItem& option, int row) const;
|
||||
void paintSliderIndicator(QPainter* painter, const QRect &rect, double ratio) const;
|
||||
void paintButtonIndicator(QPainter* painter, const QStyleOptionViewItem& option, const BCValue& bcValue) const;
|
||||
|
||||
void paintToggleSwitch(QPainter* painter, const QStyleOptionViewItem& option, const BCValue& bcValue) const;
|
||||
void paintSlider(QPainter* painter, const QRect& rect, double ratio ) const;
|
||||
// Das ist ein Quickhack, der Delegate sollte
|
||||
// nichts über die Originaldaten wissen. Die
|
||||
// Datenbeschaffung ist alleine Sache des Models.
|
||||
@@ -88,4 +87,4 @@ protected:
|
||||
};
|
||||
|
||||
|
||||
#endif // BCVALUEDELEGATE_H
|
||||
#endif // BC_VALUEDELEGATE_H
|
||||
|
||||
Reference in New Issue
Block a user