GSI Object Oriented Online Offline (Go4)  GO4-6.3.0
QFitNamedWidget.h
Go to the documentation of this file.
1 // $Id$
2 //-----------------------------------------------------------------------
3 // The GSI Online Offline Object Oriented (Go4) Project
4 // Experiment Data Processing at EE department, GSI
5 //-----------------------------------------------------------------------
6 // Copyright (C) 2000- GSI Helmholtzzentrum fuer Schwerionenforschung GmbH
7 // Planckstr. 1, 64291 Darmstadt, Germany
8 // Contact: http://go4.gsi.de
9 //-----------------------------------------------------------------------
10 // This software can be used under the license agreements as stated
11 // in Go4License.txt file which is part of the distribution.
12 //-----------------------------------------------------------------------
13 
14 #ifndef QFITNAMEDWIDGET_H
15 #define QFITNAMEDWIDGET_H
16 
17 #include "QFitWidget.h"
18 
19 class QGo4LineEdit;
20 class QLabel;
21 
22 #ifdef __GO4DESIGNER__
23 #include <QtDesigner/QDesignerExportWidget>
24 class QDESIGNER_WIDGET_EXPORT QFitNamedWidget : public QFitWidget {
25 #else
26 class QFitNamedWidget : public QFitWidget {
27 #endif
28 
29  Q_OBJECT
30 
31  public:
32  QFitNamedWidget(QWidget *parent = nullptr, const char *name = nullptr);
33  ~QFitNamedWidget();
34 
35  void FillSpecificData() override;
36 
37  QGo4LineEdit* NameEdt{nullptr};
38  QLabel* ClassNameLbl{nullptr};
39  QLabel* TextLabel2{nullptr};
40  QLabel* TextLabel1{nullptr};
41  QLabel* FullNameLbl{nullptr};
42  QGo4LineEdit* TitleEdt{nullptr};
43 
44  public slots:
45  virtual void ChangeName( const QString & name );
46  virtual void NameEdt_textChanged( const QString & name );
47  virtual void TitleEdt_textChanged( const QString & title );
48 
49 };
50 
51 #endif