Changeset a6a9e0b for src/mvc/delegate.h
- Timestamp:
- 05/05/10 15:59:24 (13 years ago)
- Branches:
- master, qt5
- Children:
- 900bcf1
- Parents:
- 525448c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mvc/delegate.h
r525448c ra6a9e0b 54 54 void paint(QPainter* painter, const QRect rect); 55 55 56 bool enabled() const { return mEnabled; } 57 void setEnabled(bool v) { mEnabled = v; } 56 58 private: 57 59 inline QPoint drawPoint(const QRect &aRect = QRect()) const // for painter to draw Control … … 66 68 QImage *mImage; 67 69 QPoint mDrawPoint; // relative 'start-drawing' position (may hold negative values) 70 bool mEnabled; 68 71 }; 69 72
Note: See TracChangeset
for help on using the changeset viewer.