mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Add method to bold slider/spin labels when a user game ini setting is being used
This commit is contained in:
@ -3,6 +3,9 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <QLabel>
|
||||
#include <QPointer>
|
||||
|
||||
#include "DolphinQt/Config/ConfigControls/ConfigControl.h"
|
||||
#include "DolphinQt/Config/ToolTipControls/ToolTipSpinBox.h"
|
||||
|
||||
@ -28,3 +31,14 @@ protected:
|
||||
private:
|
||||
const Config::Info<int>& m_setting;
|
||||
};
|
||||
|
||||
class ConfigIntegerLabel final : public QLabel
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
ConfigIntegerLabel(const QString& text, ConfigInteger* widget);
|
||||
|
||||
private:
|
||||
QPointer<ConfigInteger> m_widget;
|
||||
};
|
||||
|
Reference in New Issue
Block a user