00001 // $Id: QFitNamedWidget.h 490 2009-11-04 12:30:14Z linev $ 00002 //----------------------------------------------------------------------- 00003 // The GSI Online Offline Object Oriented (Go4) Project 00004 // Experiment Data Processing at EE department, GSI 00005 //----------------------------------------------------------------------- 00006 // Copyright (C) 2000- GSI Helmholtzzentrum für Schwerionenforschung GmbH 00007 // Planckstr. 1, 64291 Darmstadt, Germany 00008 // Contact: http://go4.gsi.de 00009 //----------------------------------------------------------------------- 00010 // This software can be used under the license agreements as stated 00011 // in Go4License.txt file which is part of the distribution. 00012 //----------------------------------------------------------------------- 00013 00014 #ifndef QFITNAMEDWIDGET_H 00015 #define QFITNAMEDWIDGET_H 00016 00017 #include "QFitWidget.h" 00018 00019 class QGo4LineEdit; 00020 class QLabel; 00021 00022 #ifdef WIN32 00023 class QFitNamedWidget : public QFitWidget { 00024 #else 00025 #include <QtDesigner/QDesignerExportWidget> 00026 class QDESIGNER_WIDGET_EXPORT QFitNamedWidget : public QFitWidget { 00027 #endif 00028 00029 Q_OBJECT 00030 00031 public: 00032 QFitNamedWidget( QWidget* parent = 0, const char* name = 0 ); 00033 ~QFitNamedWidget(); 00034 00035 virtual void FillSpecificData(); 00036 00037 QGo4LineEdit* NameEdt; 00038 QLabel* ClassNameLbl; 00039 QLabel* TextLabel2; 00040 QLabel* TextLabel1; 00041 QLabel* FullNameLbl; 00042 QGo4LineEdit* TitleEdt; 00043 00044 public slots: 00045 virtual void ChangeName( const QString & name ); 00046 virtual void NameEdt_textChanged( const QString & name ); 00047 virtual void TitleEdt_textChanged( const QString & title ); 00048 00049 }; 00050 00051 #endif // QFITNAMEDWIDGET_H