property - first attempt
This commit is contained in:
@@ -140,7 +140,7 @@ QVariant ContextModel::data(const QModelIndex& index, int role) const {
|
||||
|
||||
QVariant ContextModel::headerData(int section, Qt::Orientation orientation, int role) const {
|
||||
if (orientation == Qt::Horizontal && role == Qt::DisplayRole && section == 0) {
|
||||
return "Object Type";
|
||||
return "Object Context";
|
||||
}
|
||||
return QVariant();
|
||||
}
|
||||
|
||||
@@ -8,6 +8,8 @@ class QTreeView;
|
||||
class QVBoxLayout;
|
||||
class QLabel;
|
||||
class ContextModel;
|
||||
class QSplitter;
|
||||
|
||||
|
||||
namespace uLib {
|
||||
class Object;
|
||||
@@ -18,8 +20,6 @@ namespace uLib {
|
||||
}
|
||||
}
|
||||
|
||||
class QSplitter;
|
||||
|
||||
class ContextPanel : public QWidget {
|
||||
Q_OBJECT
|
||||
public:
|
||||
@@ -41,6 +41,7 @@ private:
|
||||
QTreeView* m_treeView;
|
||||
ContextModel* m_model;
|
||||
QSplitter* m_splitter;
|
||||
|
||||
uLib::Vtk::QViewport* m_vtkView;
|
||||
uLib::Vtk::vtkObjectsContext* m_vtkContext;
|
||||
uLib::ObjectsContext* m_context;
|
||||
|
||||
Reference in New Issue
Block a user