You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
396 B
25 lines
396 B
#ifndef UBANGLEWIDGET_H
|
|
#define UBANGLEWIDGET_H
|
|
|
|
#include <QWidget>
|
|
#include <QBitmap>
|
|
|
|
class UBAngleWidget : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
UBAngleWidget(QWidget *parent = 0);
|
|
~UBAngleWidget();
|
|
|
|
void setText(QString);
|
|
|
|
protected:
|
|
void paintEvent(QPaintEvent *event);
|
|
|
|
private:
|
|
QString text;
|
|
QBitmap bmpMask;
|
|
};
|
|
|
|
#endif // UBANGLEWIDGET_H
|
|
|