Slicer 5.4
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Loading...
Searching...
No Matches
qSlicerSettingsUserInformationPanel.h
Go to the documentation of this file.
1/*=auto=========================================================================
2
3 Portions (c) Copyright 2005 Brigham and Women's Hospital (BWH) All Rights Reserved.
4
5 See COPYRIGHT.txt
6 or http://www.slicer.org/copyright/copyright.txt for details.
7
8=========================================================================auto=*/
9
10#ifndef qSlicerSettingsUserInformationPanel_h
11#define qSlicerSettingsUserInformationPanel_h
12
13// Qt includes
14#include <QWidget>
15
16// CTK includes
17#include <ctkSettingsPanel.h>
18#include <ctkVTKObject.h>
19
20// QtGUI includes
21#include "qSlicerBaseQTGUIExport.h"
22
23class qSlicerSettingsUserInformationPanelPrivate;
24class vtkPersonInformation;
25
26class Q_SLICER_BASE_QTGUI_EXPORT qSlicerSettingsUserInformationPanel
27 : public ctkSettingsPanel
28{
29 Q_OBJECT
30 QVTK_OBJECT
31public:
33 typedef ctkSettingsPanel Superclass;
34
36 explicit qSlicerSettingsUserInformationPanel(QWidget* parent = nullptr);
37
40
41 Q_INVOKABLE virtual void setUserInformation(vtkPersonInformation* userInfo);
42
43public Q_SLOTS:
44 void resetSettings() override;
45 void applySettings() override;
46
50 void onEmailChanged(const QString& value);
54
55protected:
56
58
60 QScopedPointer<qSlicerSettingsUserInformationPanelPrivate> d_ptr;
61
62private:
63 Q_DECLARE_PRIVATE(qSlicerSettingsUserInformationPanel);
65};
66
67#endif
virtual Q_INVOKABLE void setUserInformation(vtkPersonInformation *userInfo)
qSlicerSettingsUserInformationPanel(QWidget *parent=nullptr)
Constructor.
QScopedPointer< qSlicerSettingsUserInformationPanelPrivate > d_ptr
void onEmailChanged(const QString &value)
~qSlicerSettingsUserInformationPanel() override
Destructor.