OpenHantek
Loading...
Searching...
No Matches
enums.h File Reference
#include "utils/enumclass.h"
#include <QMetaType>
#include <QString>

Go to the source code of this file.

Namespaces

namespace  Dso

Enumerations

enum class  Dso::ChannelMode { Dso::Voltage , Dso::Spectrum }
 The channel display modes. More...
enum  Dso::GraphFormat { Dso::TY , Dso::XY }
 The possible viewing formats for the graphs on the scope. More...
enum class  Dso::Coupling { Dso::DC , Dso::AC , Dso::GND }
 The coupling modes for the channels. More...
enum class  Dso::TriggerMode { Dso::AUTO , Dso::NORMAL , Dso::SINGLE , Dso::ROLL }
 The different triggering modes. More...
enum class  Dso::Slope : uint8_t { Dso::Positive = 0 , Dso::Negative = 1 , Dso::Both = 2 }
 The slope that causes a trigger. More...
enum  Dso::InterpolationMode {
  Dso::INTERPOLATION_OFF = 0 , Dso::INTERPOLATION_LINEAR , Dso::INTERPOLATION_STEP , Dso::INTERPOLATION_SINC ,
  Dso::INTERPOLATION_COUNT
}
 The different interpolation modes for the graphs. More...
enum  Dso::Themes { Dso::THEME_AUTO = 0 , Dso::THEME_LIGHT , Dso::THEME_DARK }
 The different themes for display. More...

Functions

QString Dso::graphFormatString (GraphFormat format)
 Return string representation of the given graph format.
QString Dso::couplingString (Coupling coupling)
 Return string representation of the given channel coupling.
QString Dso::triggerModeString (TriggerMode mode)
 Return string representation of the given trigger mode.
QString Dso::slopeString (Slope slope)
 Return string representation of the given trigger slope.