Reorganize project structure and update .pro file

This commit is contained in:
2026-06-10 12:58:23 +02:00
parent d900ecb313
commit 5475fc301d
26 changed files with 22 additions and 432 deletions
+26
View File
@@ -0,0 +1,26 @@
#ifndef ITEMTEXTPOPUPDELEGATE_H
#define ITEMTEXTPOPUPDELEGATE_H
#include <QItemDelegate>
#include <QWidget>
class ItemTextPopupDelegate : public QItemDelegate
{
Q_OBJECT
public:
ItemTextPopupDelegate(QObject *parent = Q_NULLPTR);
QWidget *createEditor(QWidget *parent, const QStyleOptionViewItem &option,
const QModelIndex &index) const;
void setEditorData(QWidget *editor, const QModelIndex &index) const;
void setModelData (QWidget *editor, QAbstractItemModel *model,
const QModelIndex &index) const;
void updateEditorGeometry(QWidget *editor, const QStyleOptionViewItem &opcion,
const QModelIndex &index) const;
QString mInitialValue;
private:
};
#endif // ITEMTEXTPOPUPDELEGATE_H