1 |
// qsamplerOptions.h |
// qsamplerOptions.h |
2 |
// |
// |
3 |
/**************************************************************************** |
/**************************************************************************** |
4 |
Copyright (C) 2004-2009, rncbc aka Rui Nuno Capela. All rights reserved. |
Copyright (C) 2004-2014, 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 |
48 |
// The settings object accessor. |
// The settings object accessor. |
49 |
QSettings& settings(); |
QSettings& settings(); |
50 |
|
|
51 |
|
// explicit I/O methods. |
52 |
|
void loadOptions(); |
53 |
|
void saveOptions(); |
54 |
|
|
55 |
// Command line arguments parser. |
// Command line arguments parser. |
56 |
bool parse_args(const QStringList& args); |
bool parse_args(const QStringList& args); |
57 |
// Command line usage helper. |
// Command line usage helper. |
111 |
QStringList recentFiles; |
QStringList recentFiles; |
112 |
|
|
113 |
// Widget geometry persistence helper prototypes. |
// Widget geometry persistence helper prototypes. |
114 |
void saveWidgetGeometry(QWidget *pWidget); |
void saveWidgetGeometry(QWidget *pWidget, bool bVisible = false); |
115 |
void loadWidgetGeometry(QWidget *pWidget); |
void loadWidgetGeometry(QWidget *pWidget, bool bVisible = false); |
116 |
|
|
117 |
// Combo box history persistence helper prototypes. |
// Combo box history persistence helper prototypes. |
118 |
void loadComboBoxHistory(QComboBox *pComboBox, int iLimit = 8); |
void loadComboBoxHistory(QComboBox *pComboBox, int iLimit = 8); |