VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtDetonationSoundEditorWidget.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>
13 
15 
16 namespace makVrv
17 {
22  {
23  Q_OBJECT;
24 
26  enum Columns
27  {
32  NumColumns
33  };
34 
35  public:
40  DtDetonationSoundEditorWidget( DtDe& de, QWidget* parent = 0,
41  Qt::WindowFlags f = Qt::Widget );
42 
45 
47  virtual void clearMap();
48 
53  virtual int addRecord( const DtEntitySoundMapRecord& rec, int err = 0 );
54 
59  virtual int changeRecord( const DtEntitySoundMapRecord& rec, int err = 0 );
60 
63  virtual void removeRecord( const DtEntitySoundMapRecord& rec );
64 
65  protected slots:
67  virtual void onAddEntityClicked();
68 
70  virtual void onDeleteEntityClicked();
71 
75  virtual void onItemChanged( QStandardItem* item );
76 
77  protected:
82  virtual int rowIndex( const QString& key, int detonation );
83 
89  virtual bool getRecordFromRow( int row, DtEntitySoundMapRecord* rec );
90 
94  virtual RowData createRowData(
96  };
97 }

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)