0000923: Split shape color setting from current preference page into a separate page

This commit is contained in:
wmayer
2013-07-10 14:45:06 +02:00
parent f878f630a9
commit f388e0001b
7 changed files with 515 additions and 324 deletions

View File

@@ -50,6 +50,7 @@
#include "ViewProviderRuledSurface.h"
#include "DlgSettingsGeneral.h"
#include "DlgSettingsObjectColor.h"
#include "DlgSettings3DViewPartImp.h"
#include "Workbench.h"
@@ -146,6 +147,7 @@ void PartGuiExport initPartGui()
// register preferences pages
(void)new Gui::PrefPageProducer<PartGui::DlgSettingsGeneral> ( QT_TRANSLATE_NOOP("QObject","Part design") );
(void)new Gui::PrefPageProducer<PartGui::DlgSettings3DViewPart> ( QT_TRANSLATE_NOOP("QObject","Part design") );
(void)new Gui::PrefPageProducer<PartGui::DlgSettingsObjectColor> ( QT_TRANSLATE_NOOP("QObject","Display") );
Gui::ViewProviderBuilder::add(
Part::PropertyPartShape::getClassTypeId(),
PartGui::ViewProviderPart::getClassTypeId());