MainPage   Related pages 
NavigatorProjectAPI.h
1 
2 //
3 // $Id: NavigatorProjectAPI.h 4226 2020-11-25 15:22:10Z ansgar.horstmann $
4 // (c) ceapoint aec technologies GmbH
5 //
6 
7 
8 #pragma once
9 
10 
11 #include "ProjectAPI.h"
12 
13 #include <domainActivitiesGui/ActivitiesWidget.h>
14 
15 
16 
17 
18 namespace desiteCore
19 {
20 
35  {
36 
37  Q_OBJECT
38 
39 
40  public:
41 
42 
44  NavigatorProjectAPI(NavigatorProject* np, QObject* parent = 0);
45  virtual ~NavigatorProjectAPI();
47 
48  void forwardSimulationActivated(bool);
49  void forwardSimulationDateChanged(QDateTime);
50 
51  public slots:
52 
57  QVariant callScriptByName( QString scriptName, QString code_prefix = QString() );
58 
66  QVariantMap tpApiAuth();
67 
93  void blockSignals(bool block, int msecsDelay = 0);
94 
95  signals:
96 
113  void selectionChanged();
114 
132  void selectionChangedByDomain(QString domain);
133 
150  void visibilityChanged();
151 
169  void visibilityChangedByDomain(QString domain);
170 
175  void dataUpdated();
176 
181  void simulationDateChanged(QDateTime);
182 
187  void simulationActivated(bool);
188 
189 
190  private slots:
191 
192  void onSelectionChanged();
193  void onVisibilityChanged();
194  void onUpdateFinished();
195 
196  void onSelectionChangedGeometry();
197  void onSelectionChangedActivities();
198  void onSelectionChangedPc();
199  void onSelectionChangedBs();
200  void onSelectionChangedDoc();
201  void onSelectionChangedBoQ();
202  void onSelectionChangedTypes();
203  void onSelectionChangedRes();
204 
205  void onVisibilityChangedGeometry();
206  void onVisibilityChangedActivities();
207  void onVisibilityChangedPc();
208  void onVisibilityChangedBs();
209  void onVisibilityChangedDoc();
210  void onVisibilityChangedBoQ();
211  void onVisibilityChangedTypes();
212  void onVisibilityChangedRes();
213 
214  void _blockSignals();
215  void _unblockSignals();
216  };
217 
218 }
Definition: ProjectAPI.h:39
void simulationDateChanged(QDateTime)
void selectionChangedByDomain(QString domain)
void visibilityChangedByDomain(QString domain)
Definition: NavigatorProjectAPI.h:34
Definition: ProjectAPI.h:16
void blockSignals(bool block, int msecsDelay=0)
QVariant callScriptByName(QString scriptName, QString code_prefix=QString())

Created: Mon Feb 8 2021 03:23:24