Entropy Piano Tuner  1.1.3 (documentation not yet complete)
An open-source experimental software for piano tuning by entropy minimization
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
DisplaySizeDefines Class Reference

#include <displaysize.h>

Public Member Functions

 DisplaySizeDefines (double displaySizeInInch, double fontPointSize)
bool isLEq (DisplaySize ds) const
bool isGEq (DisplaySize ds) const
double getSmallIconSize ()
double getMediumIconSize ()
double getLargeIconSize ()
Qt::ToolButtonStyle optionsDialogToolButtonStyle () const
bool showVolumeGroupBoxInTuningMode () const
bool keepKeyboardRatioFixed () const
GraphDisplayMode getGraphDisplayMode () const
KeyboardDisplayMode getKeyboardDisplayMode () const
MainGroupBoxDisplayStyle getMainGroupBoxDisplayStyle () const
bool showPlotNavigationVertical () const
bool abbrevPlotLabels () const
bool showMuteOutputButton () const

Static Public Member Functions

static DisplaySize inchToDisplaySize (double inch)
static const std::unique_ptr
< DisplaySizeDefines > & 
getSingleton ()

Private Attributes

const DisplaySize mDisplaySize
const double mFontPointSize

Static Private Attributes

static std::unique_ptr
< DisplaySizeDefines

Detailed Description

Definition at line 49 of file displaysize.h.

Constructor & Destructor Documentation

DisplaySizeDefines::DisplaySizeDefines ( double  displaySizeInInch,
double  fontPointSize 

Definition at line 34 of file displaysize.cpp.

Member Function Documentation

bool DisplaySizeDefines::abbrevPlotLabels ( ) const

Definition at line 109 of file displaysize.cpp.

GraphDisplayMode DisplaySizeDefines::getGraphDisplayMode ( ) const

Definition at line 81 of file displaysize.cpp.

KeyboardDisplayMode DisplaySizeDefines::getKeyboardDisplayMode ( ) const

Definition at line 89 of file displaysize.cpp.

double DisplaySizeDefines::getLargeIconSize ( )

Definition at line 61 of file displaysize.cpp.

+ Here is the call graph for this function:

MainGroupBoxDisplayStyle DisplaySizeDefines::getMainGroupBoxDisplayStyle ( ) const

Definition at line 97 of file displaysize.cpp.

double DisplaySizeDefines::getMediumIconSize ( )

Definition at line 57 of file displaysize.cpp.

+ Here is the call graph for this function:

const std::unique_ptr< DisplaySizeDefines > & DisplaySizeDefines::getSingleton ( )

Definition at line 29 of file displaysize.cpp.

double DisplaySizeDefines::getSmallIconSize ( )

Definition at line 53 of file displaysize.cpp.

DisplaySize DisplaySizeDefines::inchToDisplaySize ( double  inch)

Definition at line 41 of file displaysize.cpp.

bool DisplaySizeDefines::isGEq ( DisplaySize  ds) const

Definition at line 62 of file displaysize.h.

bool DisplaySizeDefines::isLEq ( DisplaySize  ds) const

Definition at line 61 of file displaysize.h.

bool DisplaySizeDefines::keepKeyboardRatioFixed ( ) const

Definition at line 77 of file displaysize.cpp.

Qt::ToolButtonStyle DisplaySizeDefines::optionsDialogToolButtonStyle ( ) const

Definition at line 65 of file displaysize.cpp.

bool DisplaySizeDefines::showMuteOutputButton ( ) const

Definition at line 113 of file displaysize.cpp.

bool DisplaySizeDefines::showPlotNavigationVertical ( ) const

Definition at line 105 of file displaysize.cpp.

bool DisplaySizeDefines::showVolumeGroupBoxInTuningMode ( ) const

Definition at line 73 of file displaysize.cpp.

Member Data Documentation

const DisplaySize DisplaySizeDefines::mDisplaySize

Definition at line 52 of file displaysize.h.

const double DisplaySizeDefines::mFontPointSize

Definition at line 53 of file displaysize.h.

std::unique_ptr< DisplaySizeDefines > DisplaySizeDefines::mSingleton

Definition at line 51 of file displaysize.h.

The documentation for this class was generated from the following files: