OpenHantek
DsoSettingsView Struct Reference

Holds all view settings. More...

#include <viewsettings.h>

Public Member Functions

unsigned digitalPhosphorDraws () const
 

Data Fields

DsoSettingsColorValues screen
 
DsoSettingsColorValues print
 
bool antialiasing = true
 Antialiasing for the graphs. More...
 
bool digitalPhosphor = false
 true slowly fades out the previous graphs More...
 
unsigned digitalPhosphorDepth = 8
 Number of channels shown at one time. More...
 
Dso::InterpolationMode interpolation = Dso::INTERPOLATION_LINEAR
 Interpolation mode for the graph. More...
 
bool printerColorImages = true
 Exports images with screen colors. More...
 
bool zoomImage = true
 Export zoomed images with double height. More...
 
bool zoom = false
 true if the magnified scope is enabled More...
 
Qt::ToolBarArea cursorGridPosition = Qt::RightToolBarArea
 
bool cursorsVisible = false
 
DsoSettingsColorValuescolors = &screen
 
int fontSize = defaultFontSize
 
bool styleFusion = false
 
int theme = 0
 
unsigned screenHeight = 0
 
unsigned screenWidth = 0
 

Detailed Description

Holds all view settings.

Member Function Documentation

◆ digitalPhosphorDraws()

unsigned DsoSettingsView::digitalPhosphorDraws ( ) const
inline

Field Documentation

◆ antialiasing

bool DsoSettingsView::antialiasing = true

Antialiasing for the graphs.

◆ colors

DsoSettingsColorValues* DsoSettingsView::colors = &screen

◆ cursorGridPosition

Qt::ToolBarArea DsoSettingsView::cursorGridPosition = Qt::RightToolBarArea

◆ cursorsVisible

bool DsoSettingsView::cursorsVisible = false

◆ digitalPhosphor

bool DsoSettingsView::digitalPhosphor = false

true slowly fades out the previous graphs

◆ digitalPhosphorDepth

unsigned DsoSettingsView::digitalPhosphorDepth = 8

Number of channels shown at one time.

◆ fontSize

int DsoSettingsView::fontSize = defaultFontSize

◆ interpolation

Dso::InterpolationMode DsoSettingsView::interpolation = Dso::INTERPOLATION_LINEAR

Interpolation mode for the graph.

◆ print

DsoSettingsColorValues DsoSettingsView::print
Initial value:
= { QColor( 0x40, 0x40, 0x40, 0xff ), QColor( 0xff, 0xff, 0xff, 0xff ),
QColor( 0x00, 0x00, 0x00, 0xff ), QColor( 0x40, 0x40, 0x40, 0xff ),
QColor( 0x40, 0x40, 0x40, 0xff ), QColor( 0x00, 0x00, 0x00, 0xff ),
std::vector< QColor >(), std::vector< QColor >() }

◆ printerColorImages

bool DsoSettingsView::printerColorImages = true

Exports images with screen colors.

◆ screen

DsoSettingsColorValues DsoSettingsView::screen
Initial value:
= { QColor( 0x7f, 0x7f, 0x7f, 0xff ), QColor( 0x00, 0x00, 0x00, 0xff ),
QColor( 0xff, 0xff, 0xff, 0xff ), QColor( 0xc0, 0xc0, 0xc0, 0xff ),
QColor( 0xc0, 0xc0, 0xc0, 0xff ), QColor( 0xff, 0xff, 0xff, 0xff ),
std::vector< QColor >(), std::vector< QColor >() }

◆ screenHeight

unsigned DsoSettingsView::screenHeight = 0

◆ screenWidth

unsigned DsoSettingsView::screenWidth = 0

◆ styleFusion

bool DsoSettingsView::styleFusion = false

◆ theme

int DsoSettingsView::theme = 0

◆ zoom

bool DsoSettingsView::zoom = false

true if the magnified scope is enabled

◆ zoomImage

bool DsoSettingsView::zoomImage = true

Export zoomed images with double height.


The documentation for this struct was generated from the following file: