Slicer 5.9
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
qMRMLColorLegendDisplayNodeWidgetPlugin.h
Go to the documentation of this file.
1/*==============================================================================
2
3 Program: 3D Slicer
4
5 Copyright (c) Kitware Inc.
6
7 See COPYRIGHT.txt
8 or http://www.slicer.org/copyright/copyright.txt for details.
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15
16==============================================================================*/
17
18#ifndef __qMRMLColorLegendDisplayNodeWidgetPlugin_h
19#define __qMRMLColorLegendDisplayNodeWidgetPlugin_h
20
21#include <QtGlobal>
23#include "qSlicerColorsModuleWidgetsPluginsExport.h"
24
25class Q_SLICER_QTMODULES_COLORS_WIDGETS_PLUGINS_EXPORT qMRMLColorLegendDisplayNodeWidgetPlugin
26 : public QObject, public qSlicerColorsModuleWidgetsAbstractPlugin
27{
28 Q_OBJECT
29
30public:
31 qMRMLColorLegendDisplayNodeWidgetPlugin(QObject * newParent = nullptr);
32
33 // Don't reimplement this method.
34 QString group() const override;
35
36 // You can reimplement these methods
37 QString toolTip() const override;
38 QString whatsThis() const override;
39
40 QWidget *createWidget(QWidget *newParent) override;
41 QString domXml() const override;
42 QIcon icon() const override;
43 QString includeFile() const override;
44 bool isContainer() const override;
45 QString name() const override;
46};
47
48#endif
QWidget * createWidget(QWidget *newParent) override
qMRMLColorLegendDisplayNodeWidgetPlugin(QObject *newParent=nullptr)
QString toolTip() const override
QString whatsThis() const override
QString includeFile() const override