VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
designerEditor.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2017 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
10 
11 #pragma once
12 
13 #include <vrvUtil/signalslib.h>
17 
18 namespace makVrv
19 {
20  class DtDe;
21 }
22 
23 class DtSimMessage;
24 
25 namespace makVrf
26 {
30  {
31  Q_OBJECT
32 
33  public:
36 
38  virtual ~DtDesignerEditor();
39 
43  virtual bool editUi(const std::string& scriptId, const std::string& uiLayout, const std::string& defaultUi = "", bool adding = false);
44 
46  static DtDesignerEditor& instance(makVrv::DtDe&);
47 
49  static void registerInstance(makVrv::DtDe&, DtDesignerEditor*);
50 
51  boost::signal<void (const std::string&, const std::string&, const std::vector<DtScriptedTaskVariable>&)> signal_layoutModified;
52 
53  protected:
54  virtual void receivedScript(DtSimMessage* msg);
55  virtual void scriptBeingRemoved();
56 
57  virtual void editLayout(const std::string& scriptId, const std::string& uiLayout,bool readOnly = false, bool adding = false);
58  virtual void checkNeedsUpdate(const std::string& file);
59  };
60 }

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)