Хранилища Subversion OpenInventory

Редакция

Редакция 138 | Редакция 180 | К новейшей редакции | Весь файл | Не учитывать пробелы | Содержимое файла | Авторство | Последнее изменение | Открыть журнал | RSS

Редакция 138 Редакция 158
Строка 88... Строка 88...
88
         //QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const;
88
         //QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const;
89
};
89
};
90
90
91
91
92
92
-
 
93
-
 
94
-
 
95
class TimeEditDelegate : public QItemDelegate
-
 
96
 {
-
 
97
     Q_OBJECT
-
 
98
-
 
99
 public:
-
 
100
     TimeEditDelegate(const QString timeFormat = "dd.MM.yyyy hh:mm:ss",QObject *parent = 0) : QItemDelegate(parent) {this->timeformat = timeFormat;};
-
 
101
     void paint(QPainter *painter, const QStyleOptionViewItem &option,
-
 
102
               const QModelIndex &index) const;
-
 
103
-
 
104
 private:
-
 
105
     QString timeformat;
-
 
106
 };
-
 
107
-
 
108
93
#endif // DELEGATE_H
109
#endif // DELEGATE_H