23#ifndef PREFERENCES_DIALOG_H
24#define PREFERENCES_DIALOG_H
42#include <QColorDialog>
83 ColorTreeItem(
int nId, QTreeWidgetItem* pParent, QString sLabel );
84 ColorTreeItem(
int nId, QTreeWidget* pParent, QString sLabel );
91#include "ui_PreferencesDialog_UI.h"
162 QColor*
getColorById(
int nId, std::shared_ptr<H2Core::ColorTheme> uiStyle )
const;
163 void setColorById(
int nId,
const QColor& color, std::shared_ptr<H2Core::ColorTheme> uiStyle );
Node in the Color tree of the appearance tab.
ColorTreeItem(int nId, QTreeWidgetItem *pParent, QString sLabel)
Combo box showing a list of available devices for a given driver.
DeviceComboBox(QWidget *pParent)
void setHostAPI(QString sHostAPI)
void setDriver(QString sDriver)
Set the driver name to use.
Changes
Bitwise or-able options showing which part of the Preferences were altered using the PreferencesDialo...
Combo box showing a list of HostAPIs.
HostAPIComboBox(QWidget *pParent)
void setValue(QString sHostAPI)
static QString m_sColorRed
void portaudioHostAPIComboBoxActivated(int index)
void onColorSelectionClicked()
void midiPortComboBoxActivated(int index)
void setColorTreeItemDirty(ColorTreeItem *pItem)
void triggerColorSliderTimer()
Introduce a temporal smoothing.
void onUILayoutChanged(int nIndex)
void toggleTrackOutsCheckBox(bool toggled)
void on_useLashCheckbox_clicked()
bool m_bNeedDriverRestart
void toggleOscCheckBox(bool toggled)
void setDriverInfoCoreAudio()
void latencyTargetSpinBoxValueChanged(int i)
void audioDeviceTxtChanged(const QString &)
QTimer * m_pColorSliderTimer
void mixerFalloffComboBoxCurrentIndexChanged(int)
void on_cancelBtn_clicked()
void onColoringMethodChanged(int nIndex)
void onLevel3FontChanged(const QFont &font)
void bufferSizeSpinBoxValueChanged(int i)
void onLevel2FontChanged(const QFont &font)
void onApplicationFontChanged(const QFont &font)
PreferencesDialog(QWidget *parent)
void updateDriverPreferences()
void onMidiDriverComboBoxIndexChanged(int index)
std::shared_ptr< H2Core::Theme > m_pCurrentTheme
void onIconColorChanged(int)
void setColorById(int nId, const QColor &color, std::shared_ptr< H2Core::ColorTheme > uiStyle)
void onFontSizeChanged(int nIndex)
void updateAppearanceTab(const std::shared_ptr< H2Core::Theme > pTheme)
void driverComboBoxActivated(int index)
void updateDriverInfoLabel()
void uiScalingPolicyComboBoxCurrentIndexChanged(int)
std::vector< ColorSelectionButton * > m_colorSelectionButtons
QString m_sInitialLanguage
void setDriverInfoPortAudio()
H2Core::Preferences::Changes m_changes
Stores which part of the dialog was altered.
void styleComboBoxActivated(int index)
void onColorNumberChanged(int nIndex)
void midiOutportComboBoxActivated(int index)
std::shared_ptr< H2Core::Theme > m_pPreviousTheme
void setDriverInfoPulseAudio()
void sampleRateComboBoxEditTextChanged(const QString &text)
void colorButtonChanged()
void on_restartDriverBtn_clicked()
void colorTreeSelectionChanged()
QColor * getColorById(int nId, std::shared_ptr< H2Core::ColorTheme > uiStyle) const