InterfacePane: Add BalloonTip to cursor visible radio buttons

This commit is contained in:
Dentomologist
2023-11-13 15:04:12 -08:00
committed by Admiral H. Curtiss
parent a581fa2bfa
commit 33b64d6c91
6 changed files with 49 additions and 55 deletions

View File

@ -13,6 +13,12 @@ class ConfigRadioInt : public ToolTipRadioButton
public:
ConfigRadioInt(const QString& label, const Config::Info<int>& setting, int value);
signals:
// Since selecting a new radio button deselects the old one, ::toggled will generate two signals.
// These are convenience functions so you can receive only one signal if desired.
void OnSelected(int new_value);
void OnDeselected(int old_value);
private:
void Update();