PulseView  unreleased development snapshot
A Qt-based sigrok GUI
pv::widgets::TimestampSpinBox Class Reference

#include <timestampspinbox.hpp>

Inheritance diagram for pv::widgets::TimestampSpinBox:
Collaboration diagram for pv::widgets::TimestampSpinBox:

Public Slots

void setValue (const pv::util::Timestamp &val)
 

Signals

void valueChanged (const pv::util::Timestamp &)
 

Public Member Functions

 TimestampSpinBox (QWidget *parent=nullptr)
 
void stepBy (int steps) override
 
StepEnabled stepEnabled () const override
 
unsigned precision () const
 
void setPrecision (unsigned precision)
 
const pv::util::TimestampsingleStep () const
 
void setSingleStep (const pv::util::Timestamp &step)
 
const pv::util::Timestampvalue () const
 
QSize minimumSizeHint () const override
 

Properties

unsigned precision READ
 
Timestamp singleStep
 
Timestamp value
 

Private Types

typedef pv::util::Timestamp Timestamp
 

Private Slots

void on_editingFinished ()
 

Private Member Functions

void updateEdit ()
 

Private Attributes

unsigned precision_
 
pv::util::Timestamp stepsize_
 
pv::util::Timestamp value_
 

Detailed Description

Definition at line 30 of file timestampspinbox.hpp.

Member Typedef Documentation

Constructor & Destructor Documentation

pv::widgets::TimestampSpinBox::TimestampSpinBox ( QWidget *  parent = nullptr)

Definition at line 32 of file timestampspinbox.cpp.

Here is the call graph for this function:

Member Function Documentation

QSize pv::widgets::TimestampSpinBox::minimumSizeHint ( ) const
override

Definition at line 79 of file timestampspinbox.cpp.

Here is the call graph for this function:

void pv::widgets::TimestampSpinBox::on_editingFinished ( )
privateslot

Definition at line 98 of file timestampspinbox.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

unsigned pv::widgets::TimestampSpinBox::precision ( ) const

Definition at line 53 of file timestampspinbox.cpp.

Here is the caller graph for this function:

void pv::widgets::TimestampSpinBox::setPrecision ( unsigned  precision)

Definition at line 58 of file timestampspinbox.cpp.

Here is the call graph for this function:

void pv::widgets::TimestampSpinBox::setSingleStep ( const pv::util::Timestamp step)

Definition at line 69 of file timestampspinbox.cpp.

Here is the call graph for this function:

void pv::widgets::TimestampSpinBox::setValue ( const pv::util::Timestamp val)
slot

Definition at line 88 of file timestampspinbox.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

const pv::util::Timestamp& pv::widgets::TimestampSpinBox::singleStep ( ) const

Here is the caller graph for this function:

void pv::widgets::TimestampSpinBox::stepBy ( int  steps)
override

Definition at line 43 of file timestampspinbox.cpp.

Here is the call graph for this function:

QAbstractSpinBox::StepEnabled pv::widgets::TimestampSpinBox::stepEnabled ( ) const
override

Definition at line 48 of file timestampspinbox.cpp.

void pv::widgets::TimestampSpinBox::updateEdit ( )
private

Definition at line 129 of file timestampspinbox.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

const pv::util::Timestamp& pv::widgets::TimestampSpinBox::value ( ) const

Here is the caller graph for this function:

void pv::widgets::TimestampSpinBox::valueChanged ( const pv::util::Timestamp _t1)
signal

Definition at line 211 of file moc_timestampspinbox.cpp.

Here is the caller graph for this function:

Member Data Documentation

unsigned pv::widgets::TimestampSpinBox::precision_
private

Definition at line 82 of file timestampspinbox.hpp.

pv::util::Timestamp pv::widgets::TimestampSpinBox::stepsize_
private

Definition at line 83 of file timestampspinbox.hpp.

pv::util::Timestamp pv::widgets::TimestampSpinBox::value_
private

Definition at line 84 of file timestampspinbox.hpp.

Property Documentation

unsigned precision pv::widgets::TimestampSpinBox::READ
write

Definition at line 36 of file timestampspinbox.hpp.

const pv::util::Timestamp & pv::widgets::TimestampSpinBox::singleStep
readwrite

Definition at line 47 of file timestampspinbox.hpp.

const pv::util::Timestamp & pv::widgets::TimestampSpinBox::value
readwrite

Definition at line 53 of file timestampspinbox.hpp.


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