PulseView  unreleased development snapshot
A Qt-based sigrok GUI
pv::views::trace::ViewItemPaintParams Class Reference

#include <viewitempaintparams.hpp>

Collaboration diagram for pv::views::trace::ViewItemPaintParams:

Public Member Functions

 ViewItemPaintParams (const QRect &rect, double scale, const pv::util::Timestamp &offset)
 
QRect rect () const
 
double scale () const
 
const pv::util::Timestampoffset () const
 
int left () const
 
int right () const
 
int top () const
 
int bottom () const
 
int width () const
 
int height () const
 
double pixels_offset () const
 
bool next_bg_color_state ()
 

Static Public Member Functions

static QFont font ()
 
static int text_height ()
 

Private Attributes

QRect rect_
 
double scale_
 
pv::util::Timestamp offset_
 
bool bg_color_state_
 

Detailed Description

Definition at line 32 of file viewitempaintparams.hpp.

Constructor & Destructor Documentation

pv::views::trace::ViewItemPaintParams::ViewItemPaintParams ( const QRect &  rect,
double  scale,
const pv::util::Timestamp offset 
)

Definition at line 31 of file viewitempaintparams.cpp.

Member Function Documentation

int pv::views::trace::ViewItemPaintParams::bottom ( ) const
inline

Definition at line 62 of file viewitempaintparams.hpp.

Here is the caller graph for this function:

QFont pv::views::trace::ViewItemPaintParams::font ( )
static

Definition at line 41 of file viewitempaintparams.cpp.

Here is the caller graph for this function:

int pv::views::trace::ViewItemPaintParams::height ( ) const
inline

Definition at line 70 of file viewitempaintparams.hpp.

Here is the caller graph for this function:

int pv::views::trace::ViewItemPaintParams::left ( ) const
inline

Definition at line 50 of file viewitempaintparams.hpp.

Here is the caller graph for this function:

bool pv::views::trace::ViewItemPaintParams::next_bg_color_state ( )
inline

Definition at line 78 of file viewitempaintparams.hpp.

Here is the call graph for this function:

Here is the caller graph for this function:

const pv::util::Timestamp& pv::views::trace::ViewItemPaintParams::offset ( ) const
inline

Definition at line 46 of file viewitempaintparams.hpp.

Here is the caller graph for this function:

double pv::views::trace::ViewItemPaintParams::pixels_offset ( ) const
inline

Definition at line 74 of file viewitempaintparams.hpp.

Here is the caller graph for this function:

QRect pv::views::trace::ViewItemPaintParams::rect ( ) const
inline

Definition at line 38 of file viewitempaintparams.hpp.

int pv::views::trace::ViewItemPaintParams::right ( ) const
inline

Definition at line 54 of file viewitempaintparams.hpp.

Here is the caller graph for this function:

double pv::views::trace::ViewItemPaintParams::scale ( ) const
inline

Definition at line 42 of file viewitempaintparams.hpp.

Here is the caller graph for this function:

int pv::views::trace::ViewItemPaintParams::text_height ( )
static

Definition at line 46 of file viewitempaintparams.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

int pv::views::trace::ViewItemPaintParams::top ( ) const
inline

Definition at line 58 of file viewitempaintparams.hpp.

Here is the caller graph for this function:

int pv::views::trace::ViewItemPaintParams::width ( ) const
inline

Definition at line 66 of file viewitempaintparams.hpp.

Here is the caller graph for this function:

Member Data Documentation

bool pv::views::trace::ViewItemPaintParams::bg_color_state_
private

Definition at line 93 of file viewitempaintparams.hpp.

pv::util::Timestamp pv::views::trace::ViewItemPaintParams::offset_
private

Definition at line 92 of file viewitempaintparams.hpp.

QRect pv::views::trace::ViewItemPaintParams::rect_
private

Definition at line 90 of file viewitempaintparams.hpp.

double pv::views::trace::ViewItemPaintParams::scale_
private

Definition at line 91 of file viewitempaintparams.hpp.


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