wumu
2024-10-28 aa013c2f4e69e2ba4eb72081dc004d8334d59257
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef FILEDIALOGDELEGATE_H
#define FILEDIALOGDELEGATE_H
 
#include <QItemDelegate>
 
 
 
class FileDialogDelegate : public QItemDelegate
{
    Q_OBJECT
public:
    FileDialogDelegate(QObject *parent=0);
 
    //QWidget* createEditor(QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const;
    void updateEditorGeometry(QWidget *editor, const QStyleOptionViewItem &option, const QModelIndex &index) const;
    void setModelData(QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const;
    void setEditorData(QWidget *editor, const QModelIndex &index) const;
};
 
#endif // FILEDIALOGDELEGATE_H