QtPdWidgets  2.3.1
Classes | Macros
Digital.cpp File Reference
#include "Digital.h"
#include "Widget.h"
#include <QtGui>
#include <cmath>
Include dependency graph for Digital.cpp:

Classes

struct  Pd::Digital::Impl
 

Macros

#define DEFAULT_ALIGNMENT   (Qt::AlignRight | Qt::AlignVCenter)
 
#define DEFAULT_DECIMALS   0
 
#define DEFAULT_SUFFIX   ""
 
#define DEFAULT_TIME_DISPLAY   (None)
 
#define DEFAULT_BASE   (10)
 
#define SECONDS_PER_MINUTE   (60.0)
 
#define SECONDS_PER_HOUR   (SECONDS_PER_MINUTE * 60.0)
 

Macro Definition Documentation

◆ DEFAULT_ALIGNMENT

#define DEFAULT_ALIGNMENT   (Qt::AlignRight | Qt::AlignVCenter)

◆ DEFAULT_BASE

#define DEFAULT_BASE   (10)

Referenced by Pd::Digital::resetBase().

◆ DEFAULT_DECIMALS

#define DEFAULT_DECIMALS   0

◆ DEFAULT_SUFFIX

#define DEFAULT_SUFFIX   ""

◆ DEFAULT_TIME_DISPLAY

#define DEFAULT_TIME_DISPLAY   (None)

◆ SECONDS_PER_HOUR

#define SECONDS_PER_HOUR   (SECONDS_PER_MINUTE * 60.0)

◆ SECONDS_PER_MINUTE

#define SECONDS_PER_MINUTE   (60.0)