Added Drawing_OpenBrowserView command

While the Drawing viewer is still based on QtSvg,
I added this little button to make it handy to
check how a page renders in the webkit window.
This commit is contained in:
Yorik van Havre
2012-01-19 21:01:57 -02:00
parent d02c928b4b
commit 7b6eab3781
5 changed files with 771 additions and 0 deletions

View File

@@ -61,6 +61,7 @@ Gui::MenuItem* Workbench::setupMenuBar() const
*part << "Drawing_NewPage";
*part << "Drawing_NewView";
*part << "Drawing_OrthoViews";
*part << "Drawing_OpenBrowserView";
*part << "Drawing_ExportPage";
return root;
@@ -76,6 +77,7 @@ Gui::ToolBarItem* Workbench::setupToolBars() const
*part << "Drawing_NewPage";
*part << "Drawing_NewView";
*part << "Drawing_OrthoViews";
*part << "Drawing_OpenBrowserView";
*part << "Drawing_ExportPage";
return root;
}
@@ -92,6 +94,7 @@ Gui::ToolBarItem* Workbench::setupCommandBars() const
//*img << "Drawing_NewA3Landscape";
*img << "Drawing_NewPage";
*img << "Drawing_OrthoViews";
*img << "Drawing_OpenBrowserView";
img = new Gui::ToolBarItem(root);
img->setCommand("Views");
*img << "Drawing_NewView";