change: change code style to Linux style except indent.
This commit is contained in:
@@ -27,42 +27,42 @@
|
||||
#include "common/debug.h"
|
||||
#include "widget/taskview/elapsedcounterwidget.h"
|
||||
|
||||
namespace olive {
|
||||
|
||||
class ProgressDialog : public QDialog
|
||||
namespace olive
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
class ProgressDialog : public QDialog {
|
||||
Q_OBJECT
|
||||
public:
|
||||
ProgressDialog(const QString &message, const QString &title, QWidget* parent = nullptr);
|
||||
ProgressDialog(const QString &message, const QString &title,
|
||||
QWidget *parent = nullptr);
|
||||
|
||||
protected:
|
||||
virtual void showEvent(QShowEvent* e) override;
|
||||
virtual void showEvent(QShowEvent *e) override;
|
||||
|
||||
virtual void closeEvent(QCloseEvent *) override;
|
||||
virtual void closeEvent(QCloseEvent *) override;
|
||||
|
||||
public slots:
|
||||
void SetProgress(double value);
|
||||
void SetProgress(double value);
|
||||
|
||||
signals:
|
||||
void Cancelled();
|
||||
void Cancelled();
|
||||
|
||||
protected:
|
||||
void ShowErrorMessage(const QString& title, const QString& message);
|
||||
void ShowErrorMessage(const QString &title, const QString &message);
|
||||
|
||||
private:
|
||||
QProgressBar* bar_;
|
||||
QProgressBar *bar_;
|
||||
|
||||
ElapsedCounterWidget* elapsed_timer_lbl_;
|
||||
ElapsedCounterWidget *elapsed_timer_lbl_;
|
||||
|
||||
bool show_progress_;
|
||||
bool show_progress_;
|
||||
|
||||
bool first_show_;
|
||||
bool first_show_;
|
||||
|
||||
private slots:
|
||||
void DisableSenderWidget();
|
||||
|
||||
void DisableProgressWidgets();
|
||||
void DisableSenderWidget();
|
||||
|
||||
void DisableProgressWidgets();
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user