Mesh: Apply clang-format

This commit is contained in:
wmayer
2023-09-23 00:29:09 +02:00
committed by wwmayer
parent 4e328682d9
commit 15b11bc360
78 changed files with 4221 additions and 3294 deletions

View File

@@ -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