UASQuickViewTextItem.h 434 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11
#ifndef UASQUICKVIEWTEXTITEM_H
#define UASQUICKVIEWTEXTITEM_H

#include "UASQuickViewItem.h"
#include <QLabel>
class UASQuickViewTextItem : public UASQuickViewItem
{
public:
    UASQuickViewTextItem(QWidget *parent=0);
    void setValue(double value);
    void setTitle(QString title);
12 13
protected:
    void resizeEvent(QResizeEvent *event);
14 15 16 17 18 19
private:
    QLabel *titleLabel;
    QLabel *valueLabel;
};

#endif // UASQUICKVIEWTEXTITEM_H