GSI Object Oriented Online Offline (Go4)  GO4-6.3.0
TGo4ConnectServer.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 TGO4CONNECTSERVER_H
15 #define TGO4CONNECTSERVER_H
16 
17 #include <QDialog>
18 #include "ui_TGo4ConnectServer.h"
19 
20 class TGo4ConnectServer : public QDialog, public Ui::TGo4ConnectServer
21 {
22  Q_OBJECT
23 
24 public:
25  TGo4ConnectServer(QWidget *parent = nullptr);
26 
27  void setPassword(const char *pass);
28 
29  QString getInput();
30 
31 public slots:
32 
33  virtual void DefaultPassCheck_toggled(bool on);
34 
35  virtual void SelectAccount_changed(int index);
36 
37  virtual void SelectConnection_changed(int index);
38 
39 protected:
40 
41  QString fLastAccount;
42 
43  };
44 
45 #endif
virtual void SelectAccount_changed(int index)
virtual void DefaultPassCheck_toggled(bool on)
TGo4ConnectServer(QWidget *parent=nullptr)
virtual void SelectConnection_changed(int index)
void setPassword(const char *pass)