VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtFireSoundSelectionDialog.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 
12 #include <vrvAudioQt/dllExport.h>
14 
15 #include <QtGui/QStyledItemDelegate>
16 
17 class QSpinBox;
18 class QModelIndex;
19 class QString;
20 class QStyleOptionViewItem;
21 
22 
23 namespace makVrv
24 {
25 
26 
31  {
32  Q_OBJECT;
33 
34  public:
43  DtDe& de,
44  const QString& entity = QString("-1:-1:-1:-1:-1:-1:-1"),
45  const QString& filename = QString(""),
46  int chan = 0,
47  QWidget* parent = NULL,
48  Qt::WindowFlags flags = Qt::Widget | Qt::Tool );
49 
51  virtual ~DtFireSoundSelectionDialog();
52 
55  void setChannel( int chan );
56 
59  int channel() const;
60 
63  static const QString& channelTooltip();
64 
65  private:
67  void setupGui();
68 
69  private:
72  };
73 
74 
79  {
82 
83  protected:
90  virtual QWidget* createEditor( QWidget* parent,
91  const QStyleOptionViewItem& option, const QModelIndex& index ) const;
92 
93  public:
95  static const int MinimumChannel;
96 
98  static const int MaximumChannel;
99 
100  };
101 }
102 

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)