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

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

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

revision 1738 by capela, Wed May 14 15:24:22 2008 UTC revision 3760 by capela, Mon Mar 30 16:38:22 2020 UTC
# Line 1  Line 1 
1  // qsamplerOptionsForm.h  // qsamplerOptionsForm.h
2  //  //
3  /****************************************************************************  /****************************************************************************
4     Copyright (C) 2004-2008, rncbc aka Rui Nuno Capela. All rights reserved.     Copyright (C) 2004-2020, rncbc aka Rui Nuno Capela. All rights reserved.
5     Copyright (C) 2007, Christian Schoenebeck     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
# Line 40  class OptionsForm : public QDialog Line 40  class OptionsForm : public QDialog
40    
41  public:  public:
42    
43          OptionsForm(QWidget *pParent = NULL);          OptionsForm(QWidget *pParent = nullptr);
44          ~OptionsForm();          ~OptionsForm();
45    
46          void setup(Options* pOptions);          void setup(Options* pOptions);
# Line 49  protected slots: Line 49  protected slots:
49    
50          void accept();          void accept();
51          void reject();          void reject();
52    
53          void optionsChanged();          void optionsChanged();
54          void stabilizeForm();  
55          void browseMessagesLogPath();          void browseMessagesLogPath();
56          void chooseDisplayFont();          void chooseDisplayFont();
57          void chooseMessagesFont();          void chooseMessagesFont();
58          void toggleDisplayEffect(bool bOn);          void toggleDisplayEffect(bool bOn);
59    
60            void editCustomColorThemes();
61    
62            void maxVoicesChanged(int iMaxVoices);
63            void maxStreamsChanged(int iMaxStreams);
64    
65    protected:
66    
67            // Custom color/style themes settlers.
68            void resetCustomColorThemes(const QString& sCustomColorTheme);
69            void resetCustomStyleThemes(const QString& sCustomStyleTheme);
70    
71            void stabilizeForm();
72    
73  private:  private:
74    
75          Ui::qsamplerOptionsForm m_ui;          Ui::qsamplerOptionsForm m_ui;
76    
77          Options* m_pOptions;          Options* m_pOptions;
78    
79          int m_iDirtySetup;          int m_iDirtySetup;
80          int m_iDirtyCount;          int m_iDirtyCount;
81    
82            bool bMaxVoicesModified;
83            bool bMaxStreamsModified;
84  };  };
85    
86  } // namespace QSampler  } // namespace QSampler

Legend:
Removed from v.1738  
changed lines
  Added in v.3760

  ViewVC Help
Powered by ViewVC