Хранилища Subversion OpenInventory

Сравнить редакции

Не учитывать пробелы Редакция 158 → Редакция 157

/trunk/DBViewer/delegate.h
90,20 → 90,4
 
 
 
 
 
class TimeEditDelegate : public QItemDelegate
{
Q_OBJECT
 
public:
TimeEditDelegate(const QString timeFormat = "dd.MM.yyyy hh:mm:ss",QObject *parent = 0) : QItemDelegate(parent) {this->timeformat = timeFormat;};
void paint(QPainter *painter, const QStyleOptionViewItem &option,
const QModelIndex &index) const;
 
private:
QString timeformat;
};
 
 
#endif // DELEGATE_H