VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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 <QtGui/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 }

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)