Logo Search packages:      
Sourcecode: kbruch version File versions  Download package

Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions

FractionBaseWidget Class Reference

#include <fractionbasewidget.h>

Inheritance diagram for FractionBaseWidget:
Inheritance graph

List of all members.

Public Member Functions

 FractionBaseWidget (QWidget *parent)
void updateAndRepaint ()
 ~FractionBaseWidget ()

Protected Member Functions

virtual QSize minimumSizeHint () const
void paintMiddle (QPainter &paint, const QString &paint_str, int &x_pos, int &y_pos, QFontMetrics &fm, const QColor &color, bool addMargin=true)
void paintRatio (QPainter &paint, ratio tmp_ratio, int &x_pos, int &y_pos, QFontMetrics &fm, bool addMargin=true, bool show_mixed=true, bool show_center=false)

Protected Attributes

QColor m_colorLine
QColor m_colorNumber
QColor m_colorOperation
QFont m_font

Private Member Functions

void setColorAndFont ()

Detailed Description

base class for painting fractions

Sebastian Stein

Definition at line 42 of file fractionbasewidget.h.

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

Generated by  Doxygen 1.6.0   Back to index