API Documentation
Loading...
Searching...
No Matches
LayerEditor.h
Go to the documentation of this file.
1#pragma once
2#include <NDEVR/Editor.h>
3namespace NDEVR
4{
5 class MaterialWidget;
6 class DesignObjectStringWidget;
7 class Toggle;
8 /**--------------------------------------------------------------------------------------------------
9 \brief A popup Editor dialog for showing options or information related to Layer model objects.
10 **/
12 {
13 Q_OBJECT
14 public:
15 LayerEditor(const DynamicPointer<QTDesignObject>& layer, QWidget* parent = nullptr);
16 virtual ~LayerEditor();
17 virtual void updateValues() override;
18 virtual bool fullscreenTouch() const override
19 {
20 return true;
21 }
22 protected slots:
24 protected:
29 };
30}
#define NDEVR_API
Definition DLLInfo.h:50
A widget allowing easy access to change the properties of a designObject by taking user string input.
Definition DesignObjectStringWidget.h:43
Provides a modifiable pointer that has shared ownership of a dynamically allocated object.
Definition Pointer.hpp:320
A base class for displaying options for editing a single DesignObject, typically a Model.
Definition Editor.h:48
A popup Editor dialog for showing options or information related to Layer model objects.
Definition LayerEditor.h:12
DesignObjectStringWidget * m_name_widget
Definition LayerEditor.h:26
LayerEditor(const DynamicPointer< QTDesignObject > &layer, QWidget *parent=nullptr)
MaterialWidget * m_material_widget
Definition LayerEditor.h:25
Toggle * m_auto_scale_toggle
Definition LayerEditor.h:27
virtual bool fullscreenTouch() const override
Definition LayerEditor.h:18
virtual ~LayerEditor()
virtual void updateValues() override
Toggle * m_orient_to_camera_toggle
Definition LayerEditor.h:28
A simple widget showing some visual properties of a Material or Model.
Definition MaterialWidget.h:47
A Button that toggles between on and off. In desktop mode this looks like a checkbox and in touch mod...
Definition Toggle.h:49
Definition ACIColor.h:37