Changeset a6a9e0b for src/mvc/delegate.h


Ignore:
Timestamp:
05/05/10 15:59:24 (12 years ago)
Author:
kirilma <kirilma@…>
Branches:
master, qt5
Children:
900bcf1
Parents:
525448c
Message:

add enabled flag

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mvc/delegate.h

    r525448c ra6a9e0b  
    5454                void paint(QPainter* painter, const QRect rect);
    5555
     56                bool enabled() const { return mEnabled; }
     57                void setEnabled(bool v) { mEnabled = v; }
    5658            private:
    5759                inline QPoint drawPoint(const QRect &aRect = QRect()) const // for painter to draw Control
     
    6668                QImage *mImage;
    6769                QPoint mDrawPoint; // relative 'start-drawing' position (may hold negative values)
     70                bool mEnabled;
    6871        };
    6972
Note: See TracChangeset for help on using the changeset viewer.