VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtBaseSoundSelectionDialog.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 
14 #include <QtGui/QDialog>
15 
16 class QDialogButtonBox;
17 class QGridLayout;
18 
19 
20 namespace makVrv
21 {
22 
23  class DtDe;
24 
28  {
29  Q_OBJECT;
30 
31  protected:
34  typedef enum
35  {
39  ChannelRow
40  } DataRow;
41 
42  public:
47  DtBaseSoundSelectionDialog( DtDe& de, QWidget* parent = NULL,
48  Qt::WindowFlags flags = Qt::Widget | Qt::Tool );
49 
51  virtual ~DtBaseSoundSelectionDialog();
52 
53  protected:
57  void setSelectionEnabled( bool enable );
58 
62  bool selectionEnabled() const;
63 
67  QString titleCreateNew( const QString& name = QString("") );
68 
72  QString titleCopyNew( const QString& name = QString("") );
73 
74  signals:
77  void signal_AcceptingSelections( bool enable );
78 
79  protected slots:
82  virtual void onFileBrowser();
83 
84  private:
86  void setupGui();
87 
88  protected:
91 
93  QGridLayout* myWidgetLayout;
94 
95  private:
97  QDialogButtonBox* mySelectionButtons;
98  };
99 
100 
105  {
106  Q_OBJECT;
107 
108  public:
114  const QString& identifier = QString(""),
115  QWidget* parent = NULL,
116  Qt::WindowFlags flags = Qt::Widget | Qt::Tool );
117 
120  };
121 }

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)