/[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 267 by capela, Wed Oct 6 15:42:59 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 70  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 85  public: Line 90  public:
90      QString sEngineName;      QString sEngineName;
91      QString sAudioDriver;      QString sAudioDriver;
92      QString sMidiDriver;      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 95  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.267  
changed lines
  Added in v.1499

  ViewVC Help
Powered by ViewVC