VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtEntitySoundSelectionDialog.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 
16 
17 #include <QtGui/QStyledItemDelegate>
18 
19 class QLineEdit;
20 class QModelIndex;
21 class QString;
22 class QStyleOptionViewItem;
23 
24 namespace makVrv
25 {
26 
27  class DtBaseSoundEditorWidget;
28 
33  {
34  Q_OBJECT;
35 
36  public:
44  DtDe& de,
45  const QString& entity = QString("-1:-1:-1:-1:-1:-1:-1"),
46  const QString& filename = QString(""),
47  QWidget* parent = NULL,
48  Qt::WindowFlags flags = Qt::Widget | Qt::Tool );
49 
52 
55  static const QString& browserCaption();
56 
59  void setEntityType( QString entity );
60 
63  QString entityType() const;
64 
67  static const QString& entityTypeTooltip();
68 
72  void setSoundFile( const QString& filename );
73 
77  QString soundFile() const;
78 
81  static const QString& soundFileTooltip();
82 
83  protected slots:
86  virtual void onUpdateEntityType( const QString& entity );
87 
90  void onUpdateSoundFile( QString filename );
91 
93  virtual void onFileBrowser();
94 
95  private:
97  void setupGui();
98 
99  private:
103 
107  };
108 
109 
115  {
116  public:
120  DtSoundFileWidgetDelegate( DtDe& de, QObject* parent = NULL );
121 
123  virtual ~DtSoundFileWidgetDelegate();
124  };
125 }
126 

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)