21 lines
323 B
C
21 lines
323 B
C
|
|
#ifndef STATUSBAR_H
|
||
|
|
#define STATUSBAR_H
|
||
|
|
|
||
|
|
#include <QStatusBar>
|
||
|
|
|
||
|
|
class QLabel;
|
||
|
|
|
||
|
|
class StatusBar : public QStatusBar
|
||
|
|
{
|
||
|
|
Q_OBJECT
|
||
|
|
|
||
|
|
public:
|
||
|
|
explicit StatusBar(QWidget *parent = nullptr);
|
||
|
|
~StatusBar();
|
||
|
|
public slots:
|
||
|
|
void onScaleLevelChanged(double f);
|
||
|
|
private:
|
||
|
|
QLabel *m_pScaleLevel;
|
||
|
|
};
|
||
|
|
#endif // STATUSBAR_H
|