VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtVideoStreamEditPage.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2012 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
13 
14 #include <vrvUtil/DtUnicode.h>
15 
16 class QVBoxLayout;
17 class QLabel;
18 
19 namespace makVrv
20 {
21  class DtDe;
22  class DtSelectInstanceWidget;
23  class DtVideoStreamEditLogic;
24  class DtPersistenceToolbarWidget;
25  class DtVideoStreamConfigurationInterface;
26 
33  {
34  Q_OBJECT
35 
36  public:
37 
39  DtVideoStreamEditPage(DtDe& de, QWidget* parent, Qt::WindowFlags f = 0);
40 
42  virtual ~DtVideoStreamEditPage();
43 
45  virtual void addVideoStream(const DtUnicode& videoStreamName);
46 
48  virtual void removeVideoStream(const DtUnicode& videoStreamName);
49 
52  virtual void setAutoStart( const DtUnicode& streamName, bool autoStart );
53 
56  virtual void requestVideoStreamEdit( const DtUnicode& videoStreamName );
57 
59  virtual QIcon icon();
60 
62  virtual QString title();
63 
65  virtual const std::string& pageClassName() const;
66 
68  static const std::string& thePageClassName();
69 
70  protected slots:
71 
73  virtual void onCurrentInstanceChanged(QString definition);
74 
76  virtual void onNewInstanceRequested();
77 
79  virtual void onDeleteInstanceRequested();
80 
82  virtual void onRenameInstanceRequested();
83 
84  protected:
85 
87  void setupGui();
88 
90  virtual void activate();
91 
93  virtual void deactivate();
94 
97  void setupVideoStreamTypeSpecificWidget();
98 
99  protected:
103  QVBoxLayout* myContentsLayout;
105  QVBoxLayout* myMainLayout;
108  };
109 
114 }

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)