change: change code style to Linux style except indent.

This commit is contained in:
Mike Solar
2025-08-03 03:09:40 +08:00
parent 65ab76edc8
commit 74f73ab3be
789 changed files with 77113 additions and 68888 deletions
+16 -19
View File
@@ -27,42 +27,39 @@
#include "widget/colorwheel/colorpreviewbox.h"
namespace olive {
class PixelSamplerWidget : public QGroupBox
namespace olive
{
Q_OBJECT
class PixelSamplerWidget : public QGroupBox {
Q_OBJECT
public:
PixelSamplerWidget(QWidget* parent = nullptr);
PixelSamplerWidget(QWidget *parent = nullptr);
public slots:
void SetValues(const Color& color);
void SetValues(const Color &color);
private:
void UpdateLabelInternal();
void UpdateLabelInternal();
Color color_;
Color color_;
ColorPreviewBox *box_;
QLabel* label_;
ColorPreviewBox *box_;
QLabel *label_;
};
class ManagedPixelSamplerWidget : public QWidget
{
Q_OBJECT
class ManagedPixelSamplerWidget : public QWidget {
Q_OBJECT
public:
ManagedPixelSamplerWidget(QWidget* parent = nullptr);
ManagedPixelSamplerWidget(QWidget *parent = nullptr);
public slots:
void SetValues(const Color& reference, const Color& display);
void SetValues(const Color &reference, const Color &display);
private:
PixelSamplerWidget* reference_view_;
PixelSamplerWidget* display_view_;
PixelSamplerWidget *reference_view_;
PixelSamplerWidget *display_view_;
};
}