ScalingModeControls
ScalingModeControls
Widget for selecting a ScalingMode via combo box. More…
#include <ScalingModeControls.hpp>
Inherits from QWidget
Public Signals
| Name | |
|---|---|
| void | scalingModeChanged(Neuralyzer::Plots::ScalingMode mode) Emitted when the user selects a different scaling mode. |
Public Functions
| Name | |
|---|---|
| ScalingModeControls(QWidget * parent =[nullptr], bool show_label =true) Construct scaling mode controls. |
|
| ~ScalingModeControls() override =default | |
| Neuralyzer::Plots::ScalingMode | scalingMode() const Get the currently selected scaling mode. |
| void | setScalingMode(Neuralyzer::Plots::ScalingMode mode) Set the scaling mode (updates combo box without emitting signal). |
| QComboBox * | comboBox() const Get the underlying combo box for custom styling or placement. |
Detailed Description
class ScalingModeControls;Widget for selecting a ScalingMode via combo box.
Compact widget: optional label + combo box populated with all ScalingMode values. Emits [scalingModeChanged](/api_generated/Classes/classScalingModeControls.md#signal-scalingmodechanged) when the user selects a different mode.
Public Signals Documentation
signal scalingModeChanged
void scalingModeChanged(
Neuralyzer::Plots::ScalingMode mode
)Emitted when the user selects a different scaling mode.
Parameters:
- mode The newly selected ScalingMode
Public Functions Documentation
function ScalingModeControls
explicit ScalingModeControls(
QWidget * parent =nullptr,
bool show_label =true
)Construct scaling mode controls.
Parameters:
- parent Parent widget
- show_label Whether to show a “Scaling” label above the combo box
function ~ScalingModeControls
~ScalingModeControls() override =defaultfunction scalingMode
Neuralyzer::Plots::ScalingMode scalingMode() constGet the currently selected scaling mode.
function setScalingMode
void setScalingMode(
Neuralyzer::Plots::ScalingMode mode
)Set the scaling mode (updates combo box without emitting signal).
function comboBox
inline QComboBox * comboBox() constGet the underlying combo box for custom styling or placement.
Updated on 2026-11-13 at 20:25:40 +0000