/[svn]/qsampler/trunk/src/qsamplerOptions.h
ViewVC logotype

Diff of /qsampler/trunk/src/qsamplerOptions.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 119 by capela, Wed Jun 9 20:24:48 2004 UTC revision 1499 by capela, Tue Nov 20 16:48:04 2007 UTC
# Line 1  Line 1 
1  // qsamplerOptions.h  // qsamplerOptions.h
2  //  //
3  /****************************************************************************  /****************************************************************************
4     Copyright (C) 2003-2004, rncbc aka Rui Nuno Capela. All rights reserved.     Copyright (C) 2004-2007, rncbc aka Rui Nuno Capela. All rights reserved.
5       Copyright (C) 2007, Christian Schoenebeck
6    
7     This program is free software; you can redistribute it and/or     This program is free software; you can redistribute it and/or
8     modify it under the terms of the GNU General Public License     modify it under the terms of the GNU General Public License
# Line 13  Line 14 
14     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15     GNU General Public License for more details.     GNU General Public License for more details.
16    
17     You should have received a copy of the GNU General Public License     You should have received a copy of the GNU General Public License along
18     along with this program; if not, write to the Free Software     with this program; if not, write to the Free Software Foundation, Inc.,
19     Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.     51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20    
21  *****************************************************************************/  *****************************************************************************/
22    
23  #ifndef __qsamplerOptions_h  #ifndef __qsamplerOptions_h
24  #define __qsamplerOptions_h  #define __qsamplerOptions_h
25    
26  #include <qsettings.h>  #include <QSettings>
27    #include <QStringList>
28    
29    
30  class QWidget;  class QWidget;
31  class QComboBox;  class QComboBox;
# Line 62  public: Line 65  public:
65    
66      // Display options...      // Display options...
67      QString sDisplayFont;      QString sDisplayFont;
68        bool    bDisplayEffect;
69      bool    bAutoRefresh;      bool    bAutoRefresh;
70      int     iAutoRefreshTime;      int     iAutoRefreshTime;
71      int     iMaxVolume;      int     iMaxVolume;
# Line 69  public: Line 73  public:
73      bool    bMessagesLimit;      bool    bMessagesLimit;
74      int     iMessagesLimitLines;      int     iMessagesLimitLines;
75      bool    bConfirmRemove;      bool    bConfirmRemove;
76        bool    bKeepOnTop;
77      bool    bStdoutCapture;      bool    bStdoutCapture;
78      bool    bCompletePath;      bool    bCompletePath;
79        bool    bInstrumentNames;
80    
81      // View options...      // View options...
82      bool    bMenubar;      bool    bMenubar;
# Line 81  public: Line 87  public:
87      // Default options...      // Default options...
88      QString sSessionDir;      QString sSessionDir;
89      QString sInstrumentDir;      QString sInstrumentDir;
90        QString sEngineName;
91        QString sAudioDriver;
92        QString sMidiDriver;
93            int     iMidiMap;
94            int     iMidiBank;
95            int     iMidiProg;
96            int     iVolume;
97            int     iLoadMode;
98    
99      // Recent file list.      // Recent file list.
100      int     iMaxRecentFiles;      int     iMaxRecentFiles;
# Line 91  public: Line 105  public:
105      void loadWidgetGeometry(QWidget *pWidget);      void loadWidgetGeometry(QWidget *pWidget);
106    
107      // Combo box history persistence helper prototypes.      // Combo box history persistence helper prototypes.
     void add2ComboBoxHistory(QComboBox *pComboBox, const QString& sNewText, int iLimit = 8, int iIndex = -1);  
108      void loadComboBoxHistory(QComboBox *pComboBox, int iLimit = 8);      void loadComboBoxHistory(QComboBox *pComboBox, int iLimit = 8);
109      void saveComboBoxHistory(QComboBox *pComboBox, int iLimit = 8);      void saveComboBoxHistory(QComboBox *pComboBox, int iLimit = 8);
110    

Legend:
Removed from v.119  
changed lines
  Added in v.1499

  ViewVC Help
Powered by ViewVC