All: Reformat according to new standard
This commit is contained in:
committed by
Kacper Donat
parent
eafd18dac0
commit
25c3ba7338
@@ -22,8 +22,7 @@
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
|
||||
# include <QMessageBox>
|
||||
#include <QMessageBox>
|
||||
|
||||
|
||||
#include <App/Document.h>
|
||||
@@ -46,14 +45,13 @@ using namespace Gui::TaskView;
|
||||
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
|
||||
TaskDialog::TaskDialog()
|
||||
: QObject(nullptr), pos(North)
|
||||
: QObject(nullptr)
|
||||
, pos(North)
|
||||
, escapeButton(true)
|
||||
, autoCloseTransaction(false)
|
||||
, autoCloseDeletedDocument(false)
|
||||
, autoCloseClosedView(false)
|
||||
{
|
||||
|
||||
}
|
||||
{}
|
||||
|
||||
TaskDialog::~TaskDialog()
|
||||
{
|
||||
@@ -70,10 +68,7 @@ QWidget* TaskDialog::addTaskBox(QWidget* widget, bool expandable, QWidget* paren
|
||||
return addTaskBox(QPixmap(), widget, expandable, parent);
|
||||
}
|
||||
|
||||
QWidget* TaskDialog::addTaskBox(const QPixmap& icon,
|
||||
QWidget* widget,
|
||||
bool expandable,
|
||||
QWidget* parent)
|
||||
QWidget* TaskDialog::addTaskBox(const QPixmap& icon, QWidget* widget, bool expandable, QWidget* parent)
|
||||
{
|
||||
auto taskbox = new Gui::TaskView::TaskBox(icon, widget->windowTitle(), expandable, parent);
|
||||
taskbox->groupLayout()->addWidget(widget);
|
||||
@@ -89,7 +84,7 @@ QWidget* TaskDialog::addTaskBoxWithoutHeader(QWidget* widget)
|
||||
return taskbox;
|
||||
}
|
||||
|
||||
const std::vector<QWidget*> &TaskDialog::getDialogContent() const
|
||||
const std::vector<QWidget*>& TaskDialog::getDialogContent() const
|
||||
{
|
||||
return Content;
|
||||
}
|
||||
@@ -127,34 +122,22 @@ void TaskDialog::associateToObject3dView(App::DocumentObject* obj)
|
||||
//==== calls from the TaskView ===============================================================
|
||||
|
||||
void TaskDialog::open()
|
||||
{
|
||||
|
||||
}
|
||||
{}
|
||||
|
||||
void TaskDialog::closed()
|
||||
{
|
||||
|
||||
}
|
||||
{}
|
||||
|
||||
void TaskDialog::autoClosedOnTransactionChange()
|
||||
{
|
||||
|
||||
}
|
||||
{}
|
||||
|
||||
void TaskDialog::autoClosedOnDeletedDocument()
|
||||
{
|
||||
|
||||
}
|
||||
{}
|
||||
|
||||
void TaskDialog::autoClosedOnClosedView()
|
||||
{
|
||||
|
||||
}
|
||||
{}
|
||||
|
||||
void TaskDialog::clicked(int)
|
||||
{
|
||||
|
||||
}
|
||||
{}
|
||||
|
||||
bool TaskDialog::accept()
|
||||
{
|
||||
@@ -167,21 +150,13 @@ bool TaskDialog::reject()
|
||||
}
|
||||
|
||||
void TaskDialog::helpRequested()
|
||||
{
|
||||
|
||||
}
|
||||
{}
|
||||
|
||||
void TaskDialog::onUndo()
|
||||
{
|
||||
|
||||
}
|
||||
{}
|
||||
|
||||
void TaskDialog::onRedo()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
{}
|
||||
|
||||
|
||||
#include "moc_TaskDialog.cpp"
|
||||
|
||||
Reference in New Issue
Block a user