renamings.
This commit is contained in:
@@ -19,8 +19,8 @@
|
||||
#include <xqappdata.h>
|
||||
|
||||
class XQItem;
|
||||
class XQTreeView;
|
||||
class XQModel;
|
||||
class XQTreeTable;
|
||||
class XQViewModel;
|
||||
|
||||
/**
|
||||
* @brief A specialized QItemDelegate class to draw different XQItem styles.
|
||||
@@ -32,9 +32,9 @@ class XQItemDelegate : public QStyledItemDelegate
|
||||
|
||||
public:
|
||||
|
||||
explicit XQItemDelegate(XQModel& modelView);
|
||||
explicit XQItemDelegate(XQViewModel& modelView);
|
||||
|
||||
XQTreeView* treeView() const;
|
||||
XQTreeTable* treeView() const;
|
||||
XQItem& xqItemFromIndex( const QModelIndex& index ) const;
|
||||
|
||||
void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override;
|
||||
@@ -53,7 +53,7 @@ protected:
|
||||
void drawComboBoxStyle(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const;
|
||||
void drawSpinBoxStyle(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const;
|
||||
|
||||
XQModel& _modelView;
|
||||
XQViewModel& _modelView;
|
||||
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user