Skip to main content

FilterSettingsView

Namespace: DISPLIB  ·  Library: Display Library

#include <disp/filtersettingsview.h>

class DISPLIB::FilterSettingsView

Compact filter on / off + bandwidth panel that opens the full FilterDesignView on demand.

Houses an activation QCheckBox, from / to frequency labels and an Edit button; the two widgets stay in sync via filterChannelTypeChanged and filterChanged signals.

Inheritance​


Public Methods​

FilterSettingsView(sSettingsPath, parent, f)​

Constructs a FilterSettingsView which is a child of parent.

Parameters:

  • sSettingsPath : const QString & Settings path under which the widget persists its state (empty = no persistence).

  • parent : *QWidget ** parent of widget.

  • f : Qt::WindowFlags Qt window flags passed to the QWidget constructor.


~FilterSettingsView()​

Destroys the FilterSettingsView.


getFilterView()​

Returns the filter design view used to design filters.

Returns:


getFilterActive()​

Returns true if the filters a set as active.

Returns:

  • bool — True if the activate-filter check box is checked.

setSamplingRate(dSFreq)​

Sets the sampling frequency and setups this view accrodingly.

Parameters:

  • dSFreq : double the new sampling frequency.

saveSettings()​

Saves all important settings of this view via QSettings.


loadSettings()​

Loads and inits all important settings of this view via QSettings.


clearView()​

Clears the view.


Authors of this file​