00001 /*========================================================================= 00002 00003 Program: Medical Imaging & Interaction Toolkit 00004 Language: C++ 00005 Date: $Date$ 00006 Version: $Revision$ 00007 00008 Copyright (c) German Cancer Research Center, Division of Medical and 00009 Biological Informatics. All rights reserved. 00010 See MITKCopyright.txt or https://www.mitk.org/copyright.html for details. 00011 00012 This software is distributed WITHOUT ANY WARRANTY; without even 00013 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00014 PURPOSE. See the above copyright notices for more information. 00015 00016 =========================================================================*/ 00017 #ifndef QMITK_BOOLPROPERTYEDITOR_H_INCLUDED 00018 #define QMITK_BOOLPROPERTYEDITOR_H_INCLUDED 00019 00020 #include "QmitkBoolPropertyView.h" 00021 #include "QmitkExtExports.h" 00022 00024 class QmitkExt_EXPORT QmitkBoolPropertyEditor : public QmitkBoolPropertyView 00025 { 00026 Q_OBJECT 00027 00028 public: 00029 00030 QmitkBoolPropertyEditor( const mitk::BoolProperty*, QWidget* parent ); 00031 virtual ~QmitkBoolPropertyEditor(); 00032 00033 protected: 00034 00035 virtual void PropertyRemoved(); 00036 00037 protected slots: 00038 00039 void onToggle(bool on); 00040 00041 }; 00042 00043 #endif 00044