17 #include <QtWidgets/QStyledItemDelegate>
22 class QStyleOptionViewItem;
27 class DtBaseSoundEditorWidget;
46 const QString& entity = QString(
"-1:-1:-1:-1:-1:-1:-1"),
47 const QString&
filename = QString(
""),
48 float decibels = 60.0,
49 QWidget* parent = NULL,
50 Qt::WindowFlags flags = Qt::Widget | Qt::Tool );
57 static const QString& browserCaption();
61 void setEntityType( QString entity );
65 QString entityType()
const;
69 static const QString& entityTypeTooltip();
74 void setSoundFile(
const QString&
filename );
79 QString soundFile()
const;
83 static const QString& soundFileTooltip();
87 void setSoundDecibels(
const float decibels );
91 float soundDecibels()
const;
95 static const QString& soundDecibelsTip();
101 virtual void onUpdateEntityType(
const QString& entity );
105 void onUpdateSoundFile( QString filename );
108 virtual void onFileBrowser();
110 virtual void onUpdateDecibels( QString decibels ) ;