Mesh: Apply clang-format
This commit is contained in:
@@ -28,25 +28,31 @@
|
||||
#include <Gui/TaskView/TaskDialog.h>
|
||||
#include <Gui/TaskView/TaskView.h>
|
||||
#ifndef MESH_GLOBAL_H
|
||||
# include <Mod/Mesh/MeshGlobal.h>
|
||||
#include <Mod/Mesh/MeshGlobal.h>
|
||||
#endif
|
||||
|
||||
|
||||
// forward declarations
|
||||
namespace Mesh { class Feature; }
|
||||
namespace Mesh
|
||||
{
|
||||
class Feature;
|
||||
}
|
||||
|
||||
namespace MeshGui {
|
||||
namespace MeshGui
|
||||
{
|
||||
class Ui_Segmentation;
|
||||
|
||||
class MeshGuiExport Segmentation : public QWidget
|
||||
class MeshGuiExport Segmentation: public QWidget
|
||||
{
|
||||
public:
|
||||
explicit Segmentation(Mesh::Feature* mesh, QWidget* parent = nullptr, Qt::WindowFlags fl = Qt::WindowFlags());
|
||||
explicit Segmentation(Mesh::Feature* mesh,
|
||||
QWidget* parent = nullptr,
|
||||
Qt::WindowFlags fl = Qt::WindowFlags());
|
||||
~Segmentation() override;
|
||||
void accept();
|
||||
|
||||
protected:
|
||||
void changeEvent(QEvent *e) override;
|
||||
void changeEvent(QEvent* e) override;
|
||||
|
||||
private:
|
||||
Ui_Segmentation* ui;
|
||||
@@ -56,7 +62,7 @@ private:
|
||||
/**
|
||||
* Embed the panel into a task dialog.
|
||||
*/
|
||||
class TaskSegmentation : public Gui::TaskView::TaskDialog
|
||||
class TaskSegmentation: public Gui::TaskView::TaskDialog
|
||||
{
|
||||
public:
|
||||
explicit TaskSegmentation(Mesh::Feature* mesh);
|
||||
@@ -65,13 +71,15 @@ public:
|
||||
bool accept() override;
|
||||
|
||||
QDialogButtonBox::StandardButtons getStandardButtons() const override
|
||||
{ return QDialogButtonBox::Ok | QDialogButtonBox::Cancel; }
|
||||
{
|
||||
return QDialogButtonBox::Ok | QDialogButtonBox::Cancel;
|
||||
}
|
||||
|
||||
private:
|
||||
Segmentation* widget;
|
||||
Gui::TaskView::TaskBox* taskbox;
|
||||
};
|
||||
|
||||
}
|
||||
} // namespace MeshGui
|
||||
|
||||
#endif // MESHGUI_SEGMENTATION_H
|
||||
#endif // MESHGUI_SEGMENTATION_H
|
||||
|
||||
Reference in New Issue
Block a user