change: change code style to Linux style except indent.
This commit is contained in:
@@ -27,37 +27,36 @@
|
||||
|
||||
#include "common/define.h"
|
||||
|
||||
namespace olive {
|
||||
|
||||
class ElapsedCounterWidget : public QWidget
|
||||
namespace olive
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
class ElapsedCounterWidget : public QWidget {
|
||||
Q_OBJECT
|
||||
public:
|
||||
ElapsedCounterWidget(QWidget* parent = nullptr);
|
||||
ElapsedCounterWidget(QWidget *parent = nullptr);
|
||||
|
||||
void SetProgress(double d);
|
||||
void SetProgress(double d);
|
||||
|
||||
public slots:
|
||||
void Start(qint64 start_time);
|
||||
void Start();
|
||||
void Start(qint64 start_time);
|
||||
void Start();
|
||||
|
||||
public slots:
|
||||
void Stop();
|
||||
void Stop();
|
||||
|
||||
private:
|
||||
QLabel* elapsed_lbl_;
|
||||
QLabel *elapsed_lbl_;
|
||||
|
||||
QLabel* remaining_lbl_;
|
||||
QLabel *remaining_lbl_;
|
||||
|
||||
double last_progress_;
|
||||
double last_progress_;
|
||||
|
||||
QTimer elapsed_timer_;
|
||||
QTimer elapsed_timer_;
|
||||
|
||||
qint64 start_time_;
|
||||
qint64 start_time_;
|
||||
|
||||
private slots:
|
||||
void UpdateTimers();
|
||||
|
||||
void UpdateTimers();
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user