VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtVideoStreamListWidget.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
11 
13 
14 #include <QtWidgets/QWidget>
15 
16 class QTreeWidget;
17 class QTreeWidgetItem;
18 class QPushButton;
19 class QComboBox;
20 
21 namespace makVrv
22 {
23 
24  class DtVideoStreamListLogic;
25 
31  : public QWidget, public DtVideoStreamListInterface
32  {
33  Q_OBJECT;
34 
35  public:
36 
38  DtVideoStreamListWidget( DtDe& de, QWidget* parent );
39 
41  virtual ~DtVideoStreamListWidget();
42 
44  void activate();
45 
47  void deactivate();
48 
51  QSize sizeHint() const;
52 
54  virtual void addVideoStream( const DtUnicode& streamName,
56 
58  virtual void removeVideoStream( const DtUnicode& streamName );
59 
61  virtual void setCurrentVideoStream( const DtUnicode& streamName );
62 
64  virtual void setVideoStreamState( const DtUnicode& streamName,
66 
68  virtual void setVideoStreamAutoStartState(
69  const DtUnicode& streamName, bool autoStart );
70 
72  virtual void setActionButtonState(
74 
75  protected slots:
76 
78  virtual void onVideoStreamItemSelectionChanged();
79 
81  virtual void onActionButtonClicked();
82 
84  virtual void onEditButtonClicked();
85 
87  virtual void onAutoStartButtonClicked();
88 
89  protected:
90 
92  void setupGui();
93 
95  void setItemState( QTreeWidgetItem* item,
97 
99  void setItemAutoStart( QTreeWidgetItem* item, bool isAutoStart );
100 
101  protected:
102 
105 
110  };
111 }
DtVideoStreamListWidget is used by the DtVideoStreamListPage to display a list of all the existing vi...
Definition: DtVideoStreamListWidget.h:30
QPushButton * myEditButton
Definition: DtVideoStreamListWidget.h:108
DtVideoStreamListLogic * myLogic
Definition: DtVideoStreamListWidget.h:104
A unicode string.
Definition: DtUnicode.h:33
DtVideoStreamListLogic is the logic element for the DtVideoStreamListWidget.
Definition: DtVideoStreamListLogic.h:24
DtVideoStreamListInterface defines the interface to the video stream list.
Definition: DtVideoStreamListInterface.h:22
QPushButton * myAutoStartButton
Definition: DtVideoStreamListWidget.h:109
DtDe & myDe
Definition: DtVideoStreamListWidget.h:103
#define DT_DLL_VRVVIDEOSTREAMQT
Definition: vrvVideoStreamQt.h:20
VideoStreamState
Enumerate possible video stream states.
Definition: DtVideoStreamListInterface.h:33
QTreeWidget * myVideoStreams
Definition: DtVideoStreamListWidget.h:106
QPushButton * myActionButton
Definition: DtVideoStreamListWidget.h:107
Contains makVrv::DtVideoStreamListInterface class.
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)