change: change code style to Linux style except indent.
This commit is contained in:
@@ -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_;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user