vtkProperties
This commit is contained in:
@@ -2,6 +2,13 @@
|
||||
#define VIEWPORTPANE_H
|
||||
|
||||
#include <QWidget>
|
||||
#include <QFrame>
|
||||
#include <QPushButton>
|
||||
|
||||
namespace uLib {
|
||||
class Object;
|
||||
namespace Qt { class PropertyEditor; }
|
||||
}
|
||||
|
||||
class QVBoxLayout;
|
||||
class QLabel;
|
||||
@@ -16,10 +23,14 @@ public:
|
||||
void addRootCanvas();
|
||||
|
||||
QWidget* currentViewport() const { return m_viewport; }
|
||||
|
||||
/** @brief Update the display properties for the given object. */
|
||||
void setObject(uLib::Object* obj);
|
||||
|
||||
private slots:
|
||||
void onCloseRequested();
|
||||
void showContextMenu(const QPoint& pos);
|
||||
void toggleDisplayPanel();
|
||||
|
||||
private:
|
||||
void AttemptSplit(Qt::Orientation orientation);
|
||||
@@ -29,6 +40,11 @@ private:
|
||||
QWidget* m_titleBar;
|
||||
QLabel* m_titleLabel;
|
||||
QWidget* m_viewport;
|
||||
|
||||
// Display Properties Overlay
|
||||
QFrame* m_displayPanel;
|
||||
uLib::Qt::PropertyEditor* m_displayEditor;
|
||||
QPushButton* m_toggleBtn;
|
||||
};
|
||||
|
||||
#endif // VIEWPORTPANE_H
|
||||
|
||||
Reference in New Issue
Block a user