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
qMRMLSequenceBrowserToolBar.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 __qMRMLSequenceBrowserToolBar_h
19#define __qMRMLSequenceBrowserToolBar_h
20
21// Qt includes
22//#include <QSignalMapper>
23#include <QToolBar>
24
25// CTK includes
26#include <ctkPimpl.h>
27// no ui begin
28#include <ctkVTKObject.h>
29// no ui end
30
31// qMRMLWidget includes
32#include "qMRMLWidget.h"
33#include "qSlicerSequencesModuleWidgetsExport.h"
34
35class qMRMLSequenceBrowserToolBarPrivate;
36class vtkMRMLNode;
37class vtkMRMLScene;
39
40class Q_SLICER_MODULE_SEQUENCES_WIDGETS_EXPORT qMRMLSequenceBrowserToolBar : public QToolBar
41{
42 Q_OBJECT
43 QVTK_OBJECT
44
45public:
46 typedef QToolBar Superclass;
47
50 qMRMLSequenceBrowserToolBar(const QString& title, QWidget* parent = 0);
51 qMRMLSequenceBrowserToolBar(QWidget* parent = 0);
53
55
56public slots:
57 virtual void setMRMLScene(vtkMRMLScene* newScene);
59
60signals:
63
64protected:
65 QScopedPointer<qMRMLSequenceBrowserToolBarPrivate> d_ptr;
66
67private:
68 Q_DECLARE_PRIVATE(qMRMLSequenceBrowserToolBar);
69 Q_DISABLE_COPY(qMRMLSequenceBrowserToolBar);
70};
71
72#endif
qMRMLSequenceBrowserToolBar(const QString &title, QWidget *parent=0)
virtual void setMRMLScene(vtkMRMLScene *newScene)
void activeBrowserNodeChanged(vtkMRMLNode *activeBrowserNode)
Q_INVOKABLE vtkMRMLSequenceBrowserNode * activeBrowserNode()
qMRMLSequenceBrowserToolBar(QWidget *parent=0)
~qMRMLSequenceBrowserToolBar() override
void setActiveBrowserNode(vtkMRMLSequenceBrowserNode *newActiveBrowserNode)
QScopedPointer< qMRMLSequenceBrowserToolBarPrivate > d_ptr
void mrmlSceneChanged(vtkMRMLScene *)
Abstract Superclass for all specific types of MRML nodes.
A set of MRML Nodes that supports serialization and undo/redo.