SketcherGui: apply clang-format
This commit is contained in:
committed by
abdullahtahiriyo
parent
fd8b50d23f
commit
ec899d75c6
@@ -22,34 +22,34 @@
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
# include <QDialog>
|
||||
#include <QDialog>
|
||||
#endif
|
||||
|
||||
#include <Gui/MainWindow.h>
|
||||
|
||||
#include "ui_SketchRectangularArrayDialog.h"
|
||||
#include "SketchRectangularArrayDialog.h"
|
||||
#include "ui_SketchRectangularArrayDialog.h"
|
||||
|
||||
|
||||
using namespace SketcherGui;
|
||||
|
||||
SketchRectangularArrayDialog::SketchRectangularArrayDialog()
|
||||
: QDialog(Gui::getMainWindow()), ui(new Ui_SketchRectangularArrayDialog)
|
||||
: QDialog(Gui::getMainWindow())
|
||||
, ui(new Ui_SketchRectangularArrayDialog)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
|
||||
|
||||
ui->RowsQuantitySpinBox->onRestore();
|
||||
ui->ColsQuantitySpinBox->onRestore();
|
||||
ui->ConstraintSeparationCheckBox->onRestore();
|
||||
ui->EqualVerticalHorizontalSpacingCheckBox->onRestore();
|
||||
ui->CloneCheckBox->onRestore();
|
||||
|
||||
|
||||
updateValues();
|
||||
}
|
||||
|
||||
SketchRectangularArrayDialog::~SketchRectangularArrayDialog()
|
||||
{
|
||||
}
|
||||
{}
|
||||
|
||||
void SketchRectangularArrayDialog::accept()
|
||||
{
|
||||
@@ -58,9 +58,9 @@ void SketchRectangularArrayDialog::accept()
|
||||
ui->ConstraintSeparationCheckBox->onSave();
|
||||
ui->EqualVerticalHorizontalSpacingCheckBox->onSave();
|
||||
ui->CloneCheckBox->onSave();
|
||||
|
||||
|
||||
updateValues();
|
||||
|
||||
|
||||
QDialog::accept();
|
||||
}
|
||||
|
||||
@@ -70,7 +70,7 @@ void SketchRectangularArrayDialog::updateValues()
|
||||
Cols = ui->ColsQuantitySpinBox->value();
|
||||
ConstraintSeparation = ui->ConstraintSeparationCheckBox->isChecked();
|
||||
EqualVerticalHorizontalSpacing = ui->EqualVerticalHorizontalSpacingCheckBox->isChecked();
|
||||
Clone = ui->CloneCheckBox->isChecked();
|
||||
Clone = ui->CloneCheckBox->isChecked();
|
||||
}
|
||||
|
||||
#include "moc_SketchRectangularArrayDialog.cpp"
|
||||
|
||||
Reference in New Issue
Block a user