+ Code cleanup:
+ do not include header of itself + do not include unneeded header files + removed unneeded forward declarations + do not translate C string to get a QString + break too long lines + replace tabs with spaces + use virtual keyword on destructors
This commit is contained in:
@@ -24,34 +24,19 @@
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#ifndef _PreComp_
|
||||
# include <Standard_math.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
#include "ViewProviderResult.h"
|
||||
#include <Gui/Command.h>
|
||||
#include <Gui/Document.h>
|
||||
#include <Gui/Control.h>
|
||||
|
||||
#include <Mod/Fem/App/FemAnalysis.h>
|
||||
|
||||
#include "TaskDlgAnalysis.h"
|
||||
|
||||
using namespace FemGui;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
PROPERTY_SOURCE(FemGui::ViewProviderResult, Gui::ViewProviderDocumentObject)
|
||||
|
||||
|
||||
ViewProviderResult::ViewProviderResult()
|
||||
{
|
||||
sPixmap = "fem-result";
|
||||
|
||||
sPixmap = "fem-result";
|
||||
}
|
||||
|
||||
ViewProviderResult::~ViewProviderResult()
|
||||
@@ -59,8 +44,6 @@ ViewProviderResult::~ViewProviderResult()
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Python feature -----------------------------------------------------------------------
|
||||
|
||||
namespace Gui {
|
||||
|
||||
Reference in New Issue
Block a user