|
Slicer 4.2
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
00001 /*============================================================================== 00002 00003 Program: 3D Slicer 00004 00005 Copyright (c) Kitware Inc. 00006 00007 See COPYRIGHT.txt 00008 or http://www.slicer.org/copyright/copyright.txt for details. 00009 00010 Unless required by applicable law or agreed to in writing, software 00011 distributed under the License is distributed on an "AS IS" BASIS, 00012 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00013 See the License for the specific language governing permissions and 00014 limitations under the License. 00015 00016 This file was originally developed by Julien Finet, Kitware Inc. 00017 and was partially funded by NIH grant 3P41RR013218-12S1 00018 00019 ==============================================================================*/ 00020 00021 #ifndef __qSlicerSettingsGeneralPanel_h 00022 #define __qSlicerSettingsGeneralPanel_h 00023 00024 // Qt includes 00025 #include <QWidget> 00026 00027 // CTK includes 00028 #include <ctkSettingsPanel.h> 00029 00030 // QtGUI includes 00031 #include "qSlicerBaseQTGUIExport.h" 00032 00033 class QSettings; 00034 class qSlicerSettingsGeneralPanelPrivate; 00035 00036 class Q_SLICER_BASE_QTGUI_EXPORT qSlicerSettingsGeneralPanel 00037 : public ctkSettingsPanel 00038 { 00039 Q_OBJECT 00040 public: 00042 typedef ctkSettingsPanel Superclass; 00043 00045 explicit qSlicerSettingsGeneralPanel(QWidget* parent = 0); 00046 00048 virtual ~qSlicerSettingsGeneralPanel(); 00049 00050 protected slots: 00051 void onFontChanged(const QFont& font); 00052 void onShowToolTipsToggled(bool); 00053 void onShowToolButtonTextToggled(bool enable); 00054 00055 protected: 00056 QScopedPointer<qSlicerSettingsGeneralPanelPrivate> d_ptr; 00057 00058 private: 00059 Q_DECLARE_PRIVATE(qSlicerSettingsGeneralPanel); 00060 Q_DISABLE_COPY(qSlicerSettingsGeneralPanel); 00061 }; 00062 00063 #endif
1.7.4