VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtBaseConnectionPage.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtBaseConnectionPage.h,v $ $Revision: 1.11 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #pragma once
14 #include <vrvVrlQt/vrvVrlQt.h>
17 
18 class QVBoxLayout;
19 class QLabel;
20 
21 namespace makVrv
22 {
23  class DtDe;
24  class DtSelectInstanceWidget;
25  class DtSimulationSettingsLogic;
26  class DtPersistenceToolbarWidget;
27 
34  {
35  Q_OBJECT;
36  public:
37 
39  DtBaseConnectionPage(DtDe& de, const std::string& driverClassName,
40  const std::string& connectionName, QWidget* parent,
41  Qt::WindowFlags f = 0);
42 
44  virtual ~DtBaseConnectionPage();
45 
47  virtual void addSimulationDriver(const std::string& simulationDriver);
48 
50  virtual void removeSimulationDriver(const std::string& simulationDriver);
51 
52  virtual void setAutoDriver(const std::string& simulationDriver);
53 
54  protected slots:
55 
56  virtual void onInstancesChanged();
57  virtual void onNewInstanceRequested();
58  virtual void onDeleteInstanceRequested();
59  virtual void onRenameInstanceRequested();
60 
61  protected:
62 
64  void setupGui(QWidget* connectionWidget);
65 
67  virtual void activate();
68 
70  virtual void deactivate();
71 
73  virtual void onCurrentInstanceChanged(QString definition);
74 
75  protected:
77  std::string myClassName;
78  std::string myConnectionName;
79  QVBoxLayout* myContentsLayout;
81  };
82 }

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)