MuseScore  3.4
Music composition and notation
Public Slots | Signals | Public Member Functions | Properties | Private Member Functions | Private Attributes | List of all members
Awl::PosEdit Class Reference

#include <posedit.h>

Inheritance diagram for Awl::PosEdit:
Inheritance graph
[legend]
Collaboration diagram for Awl::PosEdit:
Collaboration graph
[legend]

Public Slots

void setValue (const Pos &time)
 
void setValue (int t)
 
void setValue (const QString &s)
 

Signals

void valueChanged (const Pos &)
 

Public Member Functions

 PosEdit (QWidget *parent=0)
 
 ~PosEdit ()
 
QSize sizeHint () const
 
Pos pos () const
 
void setSmpte (bool)
 
bool smpte () const
 
void * operator new (size_t)
 

Properties

bool smpte
 

Private Member Functions

virtual void paintEvent (QPaintEvent *event)
 
virtual void stepBy (int steps)
 
virtual StepEnabled stepEnabled () const
 
virtual void fixup (QString &input) const
 
virtual QValidator::State validate (QString &, int &) const
 
void updateValue ()
 
int curSegment () const
 
virtual bool event (QEvent *)
 

Private Attributes

bool _smpte
 
Pos _pos
 
bool initialized
 

Constructor & Destructor Documentation

◆ PosEdit()

Awl::PosEdit::PosEdit ( QWidget *  parent = 0)

◆ ~PosEdit()

Awl::PosEdit::~PosEdit ( )

Member Function Documentation

◆ curSegment()

int Awl::PosEdit::curSegment ( ) const
private

◆ event()

bool Awl::PosEdit::event ( QEvent *  event)
privatevirtual

◆ fixup()

void Awl::PosEdit::fixup ( QString &  input) const
privatevirtual

◆ operator new()

void * Awl::PosEdit::operator new ( size_t  n)

◆ paintEvent()

void Awl::PosEdit::paintEvent ( QPaintEvent *  event)
privatevirtual

◆ pos()

Pos Awl::PosEdit::pos ( ) const
inline

◆ setSmpte()

void Awl::PosEdit::setSmpte ( bool  f)

◆ setValue [1/3]

void Awl::PosEdit::setValue ( const Pos time)
slot

◆ setValue [2/3]

void Awl::PosEdit::setValue ( int  t)
slot

◆ setValue [3/3]

void Awl::PosEdit::setValue ( const QString &  s)
slot

◆ sizeHint()

QSize Awl::PosEdit::sizeHint ( ) const

◆ smpte()

bool Awl::PosEdit::smpte ( ) const
inline

◆ stepBy()

void Awl::PosEdit::stepBy ( int  steps)
privatevirtual

◆ stepEnabled()

QAbstractSpinBox::StepEnabled Awl::PosEdit::stepEnabled ( ) const
privatevirtual

◆ updateValue()

void Awl::PosEdit::updateValue ( )
private

◆ validate()

QValidator::State Awl::PosEdit::validate ( QString &  ,
int &   
) const
privatevirtual

◆ valueChanged

void Awl::PosEdit::valueChanged ( const Pos )
signal

Member Data Documentation

◆ _pos

Pos Awl::PosEdit::_pos
private

◆ _smpte

bool Awl::PosEdit::_smpte
private

◆ initialized

bool Awl::PosEdit::initialized
private

Property Documentation

◆ smpte

bool Awl::PosEdit::smpte
readwrite

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