+ unify DLL export defines to namespace names

git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
This commit is contained in:
wmayer
2011-10-10 13:44:52 +00:00
commit 120ca87015
4155 changed files with 2965978 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
if(FREECAD_BUILD_GUI)
add_subdirectory(Gui)
endif(FREECAD_BUILD_GUI)
install(
FILES
Init.py
InitGui.py
DESTINATION
Mod/Web
)

View File

@@ -0,0 +1,73 @@
/***************************************************************************
* Copyright (c) 2008 Jürgen Riegel (juergen.riegel@web.de) *
* *
* This file is part of the FreeCAD CAx development system. *
* *
* This library is free software; you can redistribute it and/or *
* modify it under the terms of the GNU Library General Public *
* License as published by the Free Software Foundation; either *
* version 2 of the License, or (at your option) any later version. *
* *
* This library is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU Library General Public License for more details. *
* *
* You should have received a copy of the GNU Library General Public *
* License along with this library; see the file COPYING.LIB. If not, *
* write to the Free Software Foundation, Inc., 59 Temple Place, *
* Suite 330, Boston, MA 02111-1307, USA *
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
# include <Python.h>
#endif
#include <Base/Console.h>
#include <Base/Interpreter.h>
#include <Gui/Application.h>
#include <Gui/WorkbenchManager.h>
#include <Gui/Language/Translator.h>
#include "Workbench.h"
// use a different name to CreateCommand()
void CreateWebCommands(void);
void loadWebResource()
{
// add resources and reloads the translators
Q_INIT_RESOURCE(Web);
Gui::Translator::instance()->refresh();
}
/* registration table */
extern struct PyMethodDef WebGui_Import_methods[];
/* Python entry */
extern "C" {
void WebGuiExport initWebGui()
{
if (!Gui::Application::Instance) {
PyErr_SetString(PyExc_ImportError, "Cannot load Gui module in console application.");
return;
}
(void) Py_InitModule("WebGui", WebGui_Import_methods); /* mod name, table ptr */
Base::Console().Log("Loading GUI of Web module... done\n");
// instantiating the commands
CreateWebCommands();
WebGui::Workbench::init();
// add resources and reloads the translators
loadWebResource();
}
} // extern "C" {

View File

@@ -0,0 +1,85 @@
/***************************************************************************
* Copyright (c) 2008 Werner Mayer <wmayer[at]users.sourceforge.net> *
* *
* This file is part of the FreeCAD CAx development system. *
* *
* This library is free software; you can redistribute it and/or *
* modify it under the terms of the GNU Library General Public *
* License as published by the Free Software Foundation; either *
* version 2 of the License, or (at your option) any later version. *
* *
* This library is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU Library General Public License for more details. *
* *
* You should have received a copy of the GNU Library General Public *
* License along with this library; see the file COPYING.LIB. If not, *
* write to the Free Software Foundation, Inc., 59 Temple Place, *
* Suite 330, Boston, MA 02111-1307, USA *
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
# include <Python.h>
# include <QUrl>
#endif
#include "BrowserView.h"
#include <Gui/Application.h>
#include <Gui/MainWindow.h>
/* module functions */
static PyObject *
openBrowser(PyObject *self, PyObject *args)
{
const char* Url;
if (! PyArg_ParseTuple(args, "s",&Url))
return NULL;
PY_TRY {
WebGui::BrowserView* pcBrowserView;
pcBrowserView = new WebGui::BrowserView(Gui::getMainWindow());
pcBrowserView->setWindowTitle(QObject::tr("Browser"));
pcBrowserView->resize(400, 300);
pcBrowserView->load(Url);
Gui::getMainWindow()->addWindow(pcBrowserView);
} PY_CATCH;
Py_Return;
}
static PyObject *
openBrowserHTML(PyObject *self, PyObject *args)
{
const char* HtmlCode;
const char* BaseUrl;
const char* TabName = "Browser";
if (! PyArg_ParseTuple(args, "ss|s",&HtmlCode,&BaseUrl,&TabName))
return NULL;
PY_TRY {
WebGui::BrowserView* pcBrowserView;
pcBrowserView = new WebGui::BrowserView(Gui::getMainWindow());
pcBrowserView->resize(400, 300);
pcBrowserView->setHtml(QString::fromUtf8(HtmlCode),QUrl(QString::fromAscii(BaseUrl)),QString::fromUtf8(TabName));
Gui::getMainWindow()->addWindow(pcBrowserView);
} PY_CATCH;
Py_Return;
}
/* registration table */
struct PyMethodDef WebGui_Import_methods[] = {
{"openBrowser" ,openBrowser , 1}, /* method name, C func ptr, always-tuple */
{"openBrowserHTML" ,openBrowserHTML , 1}, /* method name, C func ptr, always-tuple */
{NULL, NULL} /* end of table marker */
};

View File

@@ -0,0 +1,268 @@
/***************************************************************************
* Copyright (c) 2009 Jürgen Riegel <juergen.riegel@web.de> *
* *
* This file is part of the FreeCAD CAx development system. *
* *
* This library is free software; you can redistribute it and/or *
* modify it under the terms of the GNU Library General Public *
* License as published by the Free Software Foundation; either *
* version 2 of the License, or (at your option) any later version. *
* *
* This library is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU Library General Public License for more details. *
* *
* You should have received a copy of the GNU Library General Public *
* License along with this library; see the file COPYING.LIB. If not, *
* write to the Free Software Foundation, Inc., 59 Temple Place, *
* Suite 330, Boston, MA 02111-1307, USA *
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
# include <QAbstractTextDocumentLayout>
# include <QApplication>
# include <QClipboard>
# include <QDateTime>
# include <QHBoxLayout>
# include <QMessageBox>
# include <QPainter>
# include <QPrinter>
# include <QPrintDialog>
# include <QScrollBar>
# if QT_VERSION >= 0x040400
# include <QWebFrame>
# include <QWebView>
# include <QWebSettings>
# endif
# include <QStatusBar>
# include <QTextBlock>
# include <QTextCodec>
# include <QTextStream>
# include <QTimer>
# include <QFileInfo>
#endif
#include "BrowserView.h"
#include <Gui/Application.h>
#include <Gui/MainWindow.h>
#include <Gui/ProgressBar.h>
#include <Gui/DownloadDialog.h>
#include <Gui/Command.h>
#include <Gui/OnlineDocumentation.h>
#include <Base/Parameter.h>
#include <Base/Exception.h>
using namespace WebGui;
using namespace Gui;
/* TRANSLATOR Gui::BrowserView */
/**
* Constructs a BrowserView which is a child of 'parent', with the
* name 'name'.
*/
BrowserView::BrowserView(QWidget* parent)
: MDIView(0,parent,0),
WindowParameter( "Browser" ),
isLoading(false),
textSizeMultiplier(1.0)
{
WebView = new QWebView(this);
setCentralWidget(WebView);
WebView->page()->setLinkDelegationPolicy(QWebPage::DelegateAllLinks);
connect(WebView, SIGNAL(loadStarted()),
this, SLOT(onLoadStarted()));
connect(WebView, SIGNAL(loadProgress(int)),
this, SLOT(onLoadProgress(int)));
connect(WebView, SIGNAL(loadFinished(bool)),
this, SLOT(onLoadFinished()));
connect(WebView, SIGNAL(linkClicked(const QUrl &)),
this, SLOT(onLinkClicked(const QUrl &)));
}
/** Destroys the object and frees any allocated resources */
BrowserView::~BrowserView()
{
delete WebView;
}
void BrowserView::onLinkClicked (const QUrl & url)
{
QString scheme = url.scheme();
QString host = url.host();
// path handling
QString path = url.path();
QFileInfo fi(path);
QString ext = fi.completeSuffix();
//QString fragment = url. fragment();
if(scheme==QString::fromLatin1("http")){
/* Dialog::DownloadDialog Dlg (url,QString::fromLatin1("c:/temp/test.fcstd"));
int result = Dlg.exec();
if(ext ==QString::fromLatin1("fcstd") )
Gui::Command::doCommand(Gui::Command::Gui,"Gui.open('%s')",);
load(url);*/
OpenURLInBrowser(url.toString().toLatin1());
}
// run scripts if not from somewhere else!
if((scheme.size() < 2 || scheme==QString::fromLatin1("file"))&& host.isEmpty()){
QFileInfo fi(path);
if(fi.exists()){
QString ext = fi.completeSuffix();
if (ext == QString::fromLatin1("py")) {
try {
Gui::Command::doCommand(Gui::Command::Gui,"execfile('%s')",(const char*) fi.absoluteFilePath(). toLocal8Bit());
}
catch (const Base::Exception& e) {
QMessageBox::critical(this, tr("Error"), QString::fromUtf8(e.what()));
}
}
}
else {
QMessageBox::warning(Gui::getMainWindow(), QObject::tr("File does not exist!"),
fi.absoluteFilePath ());
}
}
}
bool BrowserView::chckHostAllowed(const QString& host)
{
// only check if a local file, later we can do here a dialog to ask the user if
return host.isEmpty();
}
void BrowserView::load(const char* URL)
{
QUrl url = QUrl(QString::fromUtf8(URL));
load(url);
}
void BrowserView::load(const QUrl & url)
{
if(isLoading)
stop();
WebView->load(url);
WebView->setUrl(url);
if(url.scheme().size() < 2){
QString path = url.path();
QFileInfo fi(path);
QString name = fi.baseName();
setWindowTitle(name);
}else
setWindowTitle(url.host());
setWindowIcon(QWebSettings::iconForUrl(url));
}
void BrowserView::setHtml(const QString& HtmlCode,const QUrl & BaseUrl,const QString& TabName)
{
if(isLoading)
stop();
WebView->setHtml(HtmlCode,BaseUrl);
setWindowTitle(TabName);
setWindowIcon(QWebSettings::iconForUrl(BaseUrl));
}
void BrowserView::stop(void)
{
WebView->stop();
}
void BrowserView::onLoadStarted()
{
QProgressBar* bar = Gui::Sequencer::instance()->getProgressBar();
bar->setRange(0, 100);
bar->show();
Gui::getMainWindow()->statusBar()->showMessage(tr("Loading %1...").arg(WebView->url().toString()));
isLoading = true;
}
void BrowserView::onLoadProgress(int step)
{
QProgressBar* bar = Gui::Sequencer::instance()->getProgressBar();
bar->setValue(step);
}
void BrowserView::onLoadFinished()
{
QProgressBar* bar = Sequencer::instance()->getProgressBar();
bar->setValue(100);
bar->hide();
getMainWindow()->statusBar()->showMessage(QString());
isLoading = false;
}
void BrowserView::OnChange(Base::Subject<const char*> &rCaller,const char* rcReason)
{
}
/**
* Runs the action specified by \a pMsg.
*/
bool BrowserView::onMsg(const char* pMsg,const char** ppReturn)
{
if (strcmp(pMsg,"Back")==0){
WebView->back();
return true;
} else if (strcmp(pMsg,"Next")==0){
WebView->forward();
return true;
} else if (strcmp(pMsg,"Refresh")==0){
WebView->reload();
return true;
} else if (strcmp(pMsg,"Stop")==0){
stop();
return true;
} else if (strcmp(pMsg,"ZoomIn")==0){
textSizeMultiplier += 0.2f;
WebView->setTextSizeMultiplier(textSizeMultiplier);
return true;
} else if (strcmp(pMsg,"ZoomOut")==0){
textSizeMultiplier -= 0.2f;
WebView->setTextSizeMultiplier(textSizeMultiplier);
return true;
}
return false;
}
/**
* Checks if the action \a pMsg is available. This is for enabling/disabling
* the corresponding buttons or menu items for this action.
*/
bool BrowserView::onHasMsg(const char* pMsg) const
{
if (strcmp(pMsg,"Back")==0) return true;
if (strcmp(pMsg,"Next")==0) return true;
if (strcmp(pMsg,"Refresh")==0) return !isLoading;
if (strcmp(pMsg,"Stop")==0) return isLoading;
if (strcmp(pMsg,"ZoomIn")==0) return true;
if (strcmp(pMsg,"ZoomOut")==0) return true;
return false;
}
/** Checking on close state. */
bool BrowserView::canClose(void)
{
return true;
}
#include "moc_BrowserView.cpp"

View File

@@ -0,0 +1,95 @@
/***************************************************************************
* Copyright (c) 2009 Jürgen Riegel <juergen.riegel@web.de> *
* *
* This file is part of the FreeCAD CAx development system. *
* *
* This library is free software; you can redistribute it and/or *
* modify it under the terms of the GNU Library General Public *
* License as published by the Free Software Foundation; either *
* version 2 of the License, or (at your option) any later version. *
* *
* This library is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU Library General Public License for more details. *
* *
* You should have received a copy of the GNU Library General Public *
* License along with this library; see the file COPYING.LIB. If not, *
* write to the Free Software Foundation, Inc., 59 Temple Place, *
* Suite 330, Boston, MA 02111-1307, USA *
* *
***************************************************************************/
#ifndef GUI_BROWSERVIEW_H
#define GUI_BROWSERVIEW_H
#include <Gui/MDIView.h>
#include <Gui/Window.h>
class QWebView;
class QUrl;
namespace WebGui {
/**
* A special view class which sends the messages from the application to
* the editor and embeds it in a window.
*/
class WebGuiExport BrowserView : public Gui::MDIView, public Gui::WindowParameter
{
Q_OBJECT
public:
BrowserView(QWidget* parent);
~BrowserView();
void load(const char* URL);
void load(const QUrl & url);
void setHtml(const QString& HtmlCode,const QUrl & BaseUrl,const QString& TabName=QString::fromAscii("Browser"));
void stop(void);
void OnChange(Base::Subject<const char*> &rCaller,const char* rcReason);
const char *getName(void) const {return "BrowserView";}
void onUpdate(void){};
bool onMsg(const char* pMsg,const char** ppReturn);
bool onHasMsg(const char* pMsg) const;
bool canClose(void);
/** @name Standard actions of the editor */
//@{
//bool open (const QString &f);
//bool saveAs ();
//void cut ();
//void copy ();
//void paste ();
//void undo ();
//void redo ();
//void run ();
//void print ();
//void printPdf();
//@}
protected Q_SLOTS:
void onLoadStarted();
void onLoadProgress(int);
void onLoadFinished();
void onLinkClicked ( const QUrl & url ) ;
bool chckHostAllowed(const QString& host);
private:
QWebView* WebView;
bool isLoading;
float textSizeMultiplier;
};
} // namespace WebGui
#endif // GUI_EDITORVIEW_H

View File

@@ -0,0 +1,57 @@
include_directories(
${CMAKE_CURRENT_BINARY_DIR}
${Boost_INCLUDE_DIRS}
${COIN3D_INCLUDE_DIR}
${QT_INCLUDE_DIR}
${ZLIB_INCLUDE_DIR}
${SOQT_INCLUDE_DIR}
${PYTHON_INCLUDE_PATH}
${XERCESC_INCLUDE_DIR}
)
set(WebGui_LIBS
FreeCADGui
)
qt4_add_resources(Web_QRC_SRCS Resources/Web.qrc)
SET(WebGui_SRCS
${Web_QRC_SRCS}
AppWebGui.cpp
AppWebGuiPy.cpp
Command.cpp
PreCompiled.cpp
PreCompiled.h
Workbench.cpp
Workbench.h
BrowserView.h
BrowserView.cpp
)
set(WebGui_MOC_HDRS
BrowserView.h
)
fc_wrap_cpp(WebGui_MOC_SRCS ${WebGui_MOC_HDRS})
SOURCE_GROUP("Moc" FILES ${SketcherGui_MOC_SRCS})
add_library(WebGui SHARED ${WebGui_SRCS})
target_link_libraries(WebGui ${WebGui_LIBS})
fc_copy_script("Mod/Web" "WebGui" InitGui.py)
fc_copy_script("Mod/Web" "WebGui" Init.py)
if(MSVC)
set_target_properties(WebGui PROPERTIES SUFFIX ".pyd")
set_target_properties(WebGui PROPERTIES DEBUG_OUTPUT_NAME "WebGui_d")
set_target_properties(WebGui PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/Mod/Web)
set_target_properties(WebGui PROPERTIES PREFIX "../")
elseif(MINGW)
set_target_properties(WebGui PROPERTIES SUFFIX ".pyd")
set_target_properties(WebGui PROPERTIES DEBUG_OUTPUT_NAME "WebGui_d")
set_target_properties(WebGui PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/Mod/Web)
set_target_properties(WebGui PROPERTIES PREFIX "")
else(MSVC)
set_target_properties(WebGui PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/Mod/Web)
set_target_properties(WebGui PROPERTIES PREFIX "")
endif(MSVC)
install(TARGETS WebGui DESTINATION lib)

245
src/Mod/Web/Gui/Command.cpp Normal file
View File

@@ -0,0 +1,245 @@
/***************************************************************************
* Copyright (c) 2008 Jürgen Riegel (juergen.riegel@web.de) *
* *
* This file is part of the FreeCAD CAx development system. *
* *
* This library is free software; you can redistribute it and/or *
* modify it under the terms of the GNU Library General Public *
* License as published by the Free Software Foundation; either *
* version 2 of the License, or (at your option) any later version. *
* *
* This library is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU Library General Public License for more details. *
* *
* You should have received a copy of the GNU Library General Public *
* License along with this library; see the file COPYING.LIB. If not, *
* write to the Free Software Foundation, Inc., 59 Temple Place, *
* Suite 330, Boston, MA 02111-1307, USA *
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
#endif
#include <Gui/Application.h>
#include <Gui/Command.h>
#include <Gui/MainWindow.h>
#include <Gui/FileDialog.h>
#include "BrowserView.h"
using namespace std;
using namespace Gui;
using namespace WebGui;
//===========================================================================
// CmdWebOpenWebsite
//===========================================================================
DEF_STD_CMD(CmdWebOpenWebsite);
CmdWebOpenWebsite::CmdWebOpenWebsite()
: Command("Web_OpenWebsite")
{
sAppModule = "Web";
sGroup = QT_TR_NOOP("Web");
sMenuText = QT_TR_NOOP("Open website...");
sToolTipText = QT_TR_NOOP("Opens a website in FreeCAD");
sWhatsThis = sToolTipText;
sStatusTip = sToolTipText;
sPixmap = "actions/web-browser";
}
void CmdWebOpenWebsite::activated(int iMsg)
{
doCommand(Doc,"import WebGui");
doCommand(Command::Gui,"WebGui.openBrowser('http://free-cad.sf.net/')");
}
//===========================================================================
// CmdWebBrowserBack
//===========================================================================
DEF_STD_CMD_A(CmdWebBrowserBack);
CmdWebBrowserBack::CmdWebBrowserBack()
: Command("Web_BrowserBack")
{
sAppModule = "Web";
sGroup = QT_TR_NOOP("Web");
sMenuText = QT_TR_NOOP("Previous page");
sToolTipText = QT_TR_NOOP("Go back to the previous page");
sWhatsThis = sToolTipText;
sStatusTip = sToolTipText;
sPixmap = "actions/web-previous";
}
void CmdWebBrowserBack::activated(int iMsg)
{
doCommand(Command::Gui,"Gui.SendMsgToActiveView('Back')");
}
bool CmdWebBrowserBack::isActive(void)
{
return getGuiApplication()->sendHasMsgToActiveView("Back");
}
//===========================================================================
// CmdWebBrowserNext
//===========================================================================
DEF_STD_CMD_A(CmdWebBrowserNext);
CmdWebBrowserNext::CmdWebBrowserNext()
: Command("Web_BrowserNext")
{
sAppModule = "Web";
sGroup = QT_TR_NOOP("Web");
sMenuText = QT_TR_NOOP("Next page");
sToolTipText = QT_TR_NOOP("Go to the next page");
sWhatsThis = sToolTipText;
sStatusTip = sToolTipText;
sPixmap = "actions/web-next";
}
void CmdWebBrowserNext::activated(int iMsg)
{
doCommand(Command::Gui,"Gui.SendMsgToActiveView('Next')");
}
bool CmdWebBrowserNext::isActive(void)
{
return getGuiApplication()->sendHasMsgToActiveView("Next");
}
//===========================================================================
// CmdWebBrowserRefresh
//===========================================================================
DEF_STD_CMD_A(CmdWebBrowserRefresh);
CmdWebBrowserRefresh::CmdWebBrowserRefresh()
: Command("Web_BrowserRefresh")
{
sAppModule = "Web";
sGroup = QT_TR_NOOP("Web");
sMenuText = QT_TR_NOOP("Refresh web page");
sToolTipText = QT_TR_NOOP("Refresh web page");
sWhatsThis = sToolTipText;
sStatusTip = sToolTipText;
sPixmap = "actions/web-refresh";
}
void CmdWebBrowserRefresh::activated(int iMsg)
{
doCommand(Command::Gui,"Gui.SendMsgToActiveView('Refresh')");
}
bool CmdWebBrowserRefresh::isActive(void)
{
return getGuiApplication()->sendHasMsgToActiveView("Refresh");
}
//===========================================================================
// CmdWebBrowserStop
//===========================================================================
DEF_STD_CMD_A(CmdWebBrowserStop);
CmdWebBrowserStop::CmdWebBrowserStop()
:Command("Web_BrowserStop")
{
sAppModule = "Web";
sGroup = QT_TR_NOOP("Web");
sMenuText = QT_TR_NOOP("Stop loading");
sToolTipText = QT_TR_NOOP("Stop the actuall loading");
sWhatsThis = sToolTipText;
sStatusTip = sToolTipText;
sPixmap = "actions/web-stop";
}
void CmdWebBrowserStop::activated(int iMsg)
{
doCommand(Command::Gui,"Gui.SendMsgToActiveView('Stop')");
}
bool CmdWebBrowserStop::isActive(void)
{
return getGuiApplication()->sendHasMsgToActiveView("Stop");
}
//===========================================================================
// CmdWebBrowserZoomIn
//===========================================================================
DEF_STD_CMD_A(CmdWebBrowserZoomIn);
CmdWebBrowserZoomIn::CmdWebBrowserZoomIn()
: Command("Web_BrowserZoomIn")
{
sAppModule = "Web";
sGroup = QT_TR_NOOP("Web");
sMenuText = QT_TR_NOOP("Zoom in");
sToolTipText = QT_TR_NOOP("Zoom into the page");
sWhatsThis = sToolTipText;
sStatusTip = sToolTipText;
sPixmap = "actions/web-zoom-in";
}
void CmdWebBrowserZoomIn::activated(int iMsg)
{
doCommand(Command::Gui,"Gui.SendMsgToActiveView('ZoomIn')");
}
bool CmdWebBrowserZoomIn::isActive(void)
{
return getGuiApplication()->sendHasMsgToActiveView("ZoomIn");
}
//===========================================================================
// CmdWebBrowserZoomOut
//===========================================================================
DEF_STD_CMD_A(CmdWebBrowserZoomOut);
CmdWebBrowserZoomOut::CmdWebBrowserZoomOut()
: Command("Web_BrowserZoomOut")
{
sAppModule = "Web";
sGroup = QT_TR_NOOP("Web");
sMenuText = QT_TR_NOOP("Zoom out");
sToolTipText = QT_TR_NOOP("Zoom out of the page");
sWhatsThis = sToolTipText;
sStatusTip = sToolTipText;
sPixmap = "actions/web-zoom-out";
}
void CmdWebBrowserZoomOut::activated(int iMsg)
{
doCommand(Command::Gui,"Gui.SendMsgToActiveView('ZoomOut')");
}
bool CmdWebBrowserZoomOut::isActive(void)
{
return getGuiApplication()->sendHasMsgToActiveView("ZoomOut");
}
void CreateWebCommands(void)
{
Gui::CommandManager &rcCmdMgr = Gui::Application::Instance->commandManager();
rcCmdMgr.addCommand(new CmdWebOpenWebsite());
rcCmdMgr.addCommand(new CmdWebBrowserBack());
rcCmdMgr.addCommand(new CmdWebBrowserNext());
rcCmdMgr.addCommand(new CmdWebBrowserRefresh());
rcCmdMgr.addCommand(new CmdWebBrowserStop());
rcCmdMgr.addCommand(new CmdWebBrowserZoomIn());
rcCmdMgr.addCommand(new CmdWebBrowserZoomOut());
}

View File

@@ -0,0 +1,74 @@
SUBDIRS=Resources
lib_LTLIBRARIES=libWebGui.la WebGui.la
BUILT_SOURCES=\
moc_BrowserView.cpp
libWebGui_la_SOURCES=\
AppWebGuiPy.cpp \
Command.cpp \
PreCompiled.cpp \
PreCompiled.h \
BrowserView.cpp \
BrowserView.h \
Workbench.cpp \
Workbench.h
# the library search path.
libWebGui_la_LDFLAGS = -L../../../Base -L../../../App -L../../../Gui $(QT_LIBS) $(GL_LIBS) \
$(all_libraries) -version-info @LIB_CURRENT@:@LIB_REVISION@:@LIB_AGE@
libWebGui_la_CPPFLAGS = -DWebAppExport= -DWebGuiExport=
libWebGui_la_LIBADD = \
@BOOST_SYSTEM_LIB@ \
-l@PYTHON_LIB@ \
-lFreeCADBase \
-lFreeCADApp \
-lFreeCADGui
#--------------------------------------------------------------------------------------
# Loader of libWebGui
WebGui_la_SOURCES=\
AppWebGui.cpp
# the library search path.
WebGui_la_LDFLAGS = $(libWebGui_la_LDFLAGS) -module -avoid-version
WebGui_la_CPPFLAGS = $(libWebGui_la_CPPFLAGS)
WebGui_la_LIBADD = \
$(libWebGui_la_LIBADD) \
Resources/libResources.la \
-lWebGui
WebGui_la_DEPENDENCIES = libWebGui.la
#--------------------------------------------------------------------------------------
# rule for Qt MetaObject Compiler:
moc_%.cpp: %.h
$(QT_MOC) $< -o $(@F)
# rule for Qt MetaObject Compiler:
%.moc: %.h
$(QT_MOC) $< -o $(@F)
# rules for Qt User Interface Compiler:
ui_%.h: %.ui
$(QT_UIC) $< -o $(@F)
# rules for Qt Resource Compiler:
qrc_%.cpp: %.qrc
$(QT_RCC) -name $(*F) $< -o $(@F)
# set the include path found by configure
AM_CXXFLAGS = -I$(top_srcdir)/src -I$(top_builddir)/src $(QT_CXXFLAGS) $(all_includes)
libdir = $(prefix)/Mod/Web
CLEANFILES = $(BUILT_SOURCES)
EXTRA_DIST = \
CMakeLists.txt

View File

@@ -0,0 +1,24 @@
/***************************************************************************
* Copyright (c) 2008 Jürgen Riegel (juergen.riegel@web.de) *
* *
* This file is part of the FreeCAD CAx development system. *
* *
* This library is free software; you can redistribute it and/or *
* modify it under the terms of the GNU Library General Public *
* License as published by the Free Software Foundation; either *
* version 2 of the License, or (at your option) any later version. *
* *
* This library is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU Library General Public License for more details. *
* *
* You should have received a copy of the GNU Library General Public *
* License along with this library; see the file COPYING.LIB. If not, *
* write to the Free Software Foundation, Inc., 59 Temple Place, *
* Suite 330, Boston, MA 02111-1307, USA *
* *
***************************************************************************/
#include "PreCompiled.h"

View File

@@ -0,0 +1,75 @@
/***************************************************************************
* Copyright (c) 2008 Jürgen Riegel (juergen.riegel@web.de) *
* *
* This file is part of the FreeCAD CAx development system. *
* *
* This library is free software; you can redistribute it and/or *
* modify it under the terms of the GNU Library General Public *
* License as published by the Free Software Foundation; either *
* version 2 of the License, or (at your option) any later version. *
* *
* This library is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU Library General Public License for more details. *
* *
* You should have received a copy of the GNU Library General Public *
* License along with this library; see the file COPYING.LIB. If not, *
* write to the Free Software Foundation, Inc., 59 Temple Place, *
* Suite 330, Boston, MA 02111-1307, USA *
* *
***************************************************************************/
#ifndef WEBGUI_PRECOMPILED_H
#define WEBGUI_PRECOMPILED_H
#include <FCConfig.h>
// Importing of App classes
#ifdef FC_OS_WIN32
# define WebGuiExport __declspec(dllexport)
#else // for Linux
# define WebGuiExport
#endif
#ifdef _PreComp_
// Python
#include <Python.h>
// standard
#include <iostream>
#include <assert.h>
#include <math.h>
// STL
#include <vector>
#include <map>
#include <string>
#include <list>
#include <set>
#include <algorithm>
#include <stack>
#include <queue>
#include <bitset>
#ifdef FC_OS_WIN32
# include <windows.h>
#endif
// Qt Toolkit
#ifndef __Qt4All__
# include <Gui/Qt4All.h>
#endif
// QtWebKit
#include <QWebFrame>
#include <QWebView>
#include <QWebSettings>
#endif //_PreComp_
#endif // WEBGUI_PRECOMPILED_H

View File

@@ -0,0 +1,38 @@
noinst_LTLIBRARIES=libResources.la
BUILT_SOURCES=\
qrc_Web.cpp
nodist_libResources_la_SOURCES=\
qrc_Web.cpp
EXTRA_DIST = \
icons/actions/web-browser.svg \
icons/actions/web-home.svg \
icons/actions/web-next.svg \
icons/actions/web-previous.svg \
icons/actions/web-refresh.svg \
icons/actions/web-stop.svg \
icons/actions/web-zoom-in.svg \
icons/actions/web-zoom-out.svg \
Web.qrc \
UpdateResources.bat
# rule for Qt MetaObject Compiler:
moc_%.cpp: %.h
$(QT_MOC) $< -o $(@F)
# rule for Qt MetaObject Compiler:
%.moc: %.h
$(QT_MOC) $< -o $(@F)
# rules for Qt Resource Compiler:
qrc_%.cpp: %.qrc
$(QT_RCC) -name $(*F) $< -o $(@F)
# set the include path found by configure
AM_CXXFLAGS = -I$(top_srcdir)/src -I$(top_builddir)/src -I$(srcdir)/.. $(QT_CXXFLAGS) $(all_includes)
CLEANFILES = $(BUILT_SOURCES)

View File

@@ -0,0 +1,2 @@
python ..\..\..\..\Tools\dir2qrc.py -v -o Drawing.qrc
@pause

View File

@@ -0,0 +1,12 @@
<!DOCTYPE RCC><RCC version="1.0">
<qresource>
<file>icons/actions/web-browser.svg</file>
<file>icons/actions/web-home.svg</file>
<file>icons/actions/web-next.svg</file>
<file>icons/actions/web-previous.svg</file>
<file>icons/actions/web-refresh.svg</file>
<file>icons/actions/web-stop.svg</file>
<file>icons/actions/web-zoom-in.svg</file>
<file>icons/actions/web-zoom-out.svg</file>
</qresource>
</RCC>

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 49 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 21 KiB

View File

@@ -0,0 +1,192 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
sodipodi:docname="go-next.svg"
sodipodi:docbase="/home/tigert/cvs/freedesktop.org/tango-icon-theme/scalable/actions"
inkscape:version="0.46"
sodipodi:version="0.32"
id="svg11300"
height="48"
width="48"
inkscape:export-filename="/home/jimmac/Desktop/wi-fi.png"
inkscape:export-xdpi="90.000000"
inkscape:export-ydpi="90.000000"
version="1.0"
inkscape:output_extension="org.inkscape.output.svg.inkscape">
<defs
id="defs3">
<inkscape:perspective
sodipodi:type="inkscape:persp3d"
inkscape:vp_x="0 : 24 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_z="48 : 24 : 1"
inkscape:persp3d-origin="24 : 16 : 1"
id="perspective23" />
<linearGradient
id="linearGradient2591">
<stop
style="stop-color:#73d216"
offset="0"
id="stop2593" />
<stop
style="stop-color:#4e9a06"
offset="1.0000000"
id="stop2595" />
</linearGradient>
<linearGradient
id="linearGradient8662"
inkscape:collect="always">
<stop
id="stop8664"
offset="0"
style="stop-color:#000000;stop-opacity:1;" />
<stop
id="stop8666"
offset="1"
style="stop-color:#000000;stop-opacity:0;" />
</linearGradient>
<linearGradient
id="linearGradient8650"
inkscape:collect="always">
<stop
id="stop8652"
offset="0"
style="stop-color:#ffffff;stop-opacity:1;" />
<stop
id="stop8654"
offset="1"
style="stop-color:#ffffff;stop-opacity:0;" />
</linearGradient>
<radialGradient
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(2.046729,-3.749427e-16,2.853404e-16,1.557610,-19.51799,3.452086)"
r="17.171415"
fy="2.8969381"
fx="19.701141"
cy="2.8969381"
cx="19.701141"
id="radialGradient8656"
xlink:href="#linearGradient8650"
inkscape:collect="always" />
<radialGradient
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.000000,0.000000,0.000000,0.536723,2.511012e-15,16.87306)"
r="15.644737"
fy="36.421127"
fx="24.837126"
cy="36.421127"
cx="24.837126"
id="radialGradient8668"
xlink:href="#linearGradient8662"
inkscape:collect="always" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient2591"
id="radialGradient2597"
cx="22.291636"
cy="32.797512"
fx="22.291636"
fy="32.797512"
r="16.9562"
gradientTransform="matrix(0.843022,1.871885e-16,-2.265228e-16,1.020168,4.499298,1.381992)"
gradientUnits="userSpaceOnUse" />
</defs>
<sodipodi:namedview
inkscape:window-y="30"
inkscape:window-x="0"
inkscape:window-height="818"
inkscape:window-width="1280"
inkscape:showpageshadow="false"
inkscape:document-units="px"
inkscape:grid-bbox="true"
showgrid="false"
inkscape:current-layer="layer1"
inkscape:cy="27.398876"
inkscape:cx="20.508639"
inkscape:zoom="11.313708"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0"
borderopacity="0.25490196"
bordercolor="#666666"
pagecolor="#ffffff"
id="base"
fill="#4e9a06"
stroke="#4e9a06" />
<metadata
id="metadata4">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:creator>
<cc:Agent>
<dc:title>Jakub Steiner</dc:title>
</cc:Agent>
</dc:creator>
<dc:source>http://jimmac.musichall.cz</dc:source>
<cc:license
rdf:resource="http://creativecommons.org/licenses/publicdomain/" />
<dc:title>Go Next</dc:title>
<dc:subject>
<rdf:Bag>
<rdf:li>go</rdf:li>
<rdf:li>next</rdf:li>
<rdf:li>right</rdf:li>
<rdf:li>arrow</rdf:li>
<rdf:li>pointer</rdf:li>
<rdf:li>&gt;</rdf:li>
</rdf:Bag>
</dc:subject>
</cc:Work>
<cc:License
rdf:about="http://creativecommons.org/licenses/publicdomain/">
<cc:permits
rdf:resource="http://creativecommons.org/ns#Reproduction" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#Distribution" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#DerivativeWorks" />
</cc:License>
</rdf:RDF>
</metadata>
<g
inkscape:groupmode="layer"
inkscape:label="Layer 1"
id="layer1">
<path
transform="matrix(1.271186,0.000000,0.000000,1.271186,-8.119376,-15.10179)"
d="M 40.481863 36.421127 A 15.644737 8.3968935 0 1 1 9.1923885,36.421127 A 15.644737 8.3968935 0 1 1 40.481863 36.421127 z"
sodipodi:ry="8.3968935"
sodipodi:rx="15.644737"
sodipodi:cy="36.421127"
sodipodi:cx="24.837126"
id="path8660"
style="opacity:0.29946522;color:#000000;fill:url(#radialGradient8668);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:10;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible"
sodipodi:type="arc" />
<path
sodipodi:nodetypes="cccccccc"
id="path8643"
d="M 8.5541875,15.517348 L 8.5541875,32.511768 L 21.538,32.511768 L 21.538,41.056806 L 41.497835,24.150365 L 21.41919,7.1251168 L 21.41919,15.522652 L 8.5541875,15.517348 z "
style="opacity:1;color:#000000;fill:url(#radialGradient2597);fill-opacity:1;fill-rule:evenodd;stroke:#3a7304;stroke-width:1.00000036;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:10;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible" />
<path
sodipodi:nodetypes="cccccc"
id="path8645"
d="M 21.962385,8.2485033 L 21.962385,16.054978 L 9.1452151,16.054978 L 9.1452151,25.095691 C 26.895215,27.095691 25.778752,17.640403 40.528752,24.140403 L 21.962385,8.2485033 z "
style="opacity:0.5080214;color:#000000;fill:url(#radialGradient8656);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:10;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible" />
<path
style="opacity:0.48128339;color:#000000;fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#ffffff;stroke-width:1.00000036;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:10;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible"
d="M 9.537702,16.561892 L 9.537702,31.546332 L 22.523069,31.546332 L 22.523069,38.941498 L 40.001083,24.145807 L 22.507108,9.3654066 L 22.507108,16.566789 L 9.537702,16.561892 z "
id="path8658"
sodipodi:nodetypes="cccccccc" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 7.7 KiB

View File

@@ -0,0 +1,854 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
sodipodi:docname="go-previous.svg"
sodipodi:docbase="/home/andreas/projekt/tango/scalable"
inkscape:version="0.46"
sodipodi:version="0.32"
id="svg11300"
height="48px"
width="48px"
inkscape:export-filename="/home/jimmac/Desktop/wi-fi.png"
inkscape:export-xdpi="90.000000"
inkscape:export-ydpi="90.000000"
inkscape:output_extension="org.inkscape.output.svg.inkscape">
<defs
id="defs3">
<inkscape:perspective
sodipodi:type="inkscape:persp3d"
inkscape:vp_x="0 : 24 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_z="48 : 24 : 1"
inkscape:persp3d-origin="24 : 16 : 1"
id="perspective128" />
<linearGradient
id="linearGradient2591">
<stop
style="stop-color:#73d216"
offset="0"
id="stop2593" />
<stop
style="stop-color:#4e9a06"
offset="1.0000000"
id="stop2595" />
</linearGradient>
<linearGradient
id="linearGradient10314">
<stop
style="stop-color:#7ea5d6;stop-opacity:1.0000000;"
offset="0.0000000"
id="stop10316" />
<stop
style="stop-color:#467ec5;stop-opacity:1.0000000;"
offset="1.0000000"
id="stop10318" />
</linearGradient>
<linearGradient
id="linearGradient8938">
<stop
id="stop8940"
offset="0.0000000"
style="stop-color:#fdc674;stop-opacity:1.0000000;" />
<stop
id="stop8942"
offset="1.0000000"
style="stop-color:#d88103;stop-opacity:1.0000000;" />
</linearGradient>
<linearGradient
id="linearGradient8662"
inkscape:collect="always">
<stop
id="stop8664"
offset="0"
style="stop-color:#000000;stop-opacity:1;" />
<stop
id="stop8666"
offset="1"
style="stop-color:#000000;stop-opacity:0;" />
</linearGradient>
<linearGradient
id="linearGradient8650"
inkscape:collect="always">
<stop
id="stop8652"
offset="0"
style="stop-color:#ffffff;stop-opacity:1;" />
<stop
id="stop8654"
offset="1"
style="stop-color:#ffffff;stop-opacity:0;" />
</linearGradient>
<linearGradient
id="linearGradient7636"
inkscape:collect="always">
<stop
id="stop7638"
offset="0"
style="stop-color:#000000;stop-opacity:1;" />
<stop
id="stop7640"
offset="1"
style="stop-color:#000000;stop-opacity:0;" />
</linearGradient>
<linearGradient
id="linearGradient7614">
<stop
id="stop7616"
offset="0.0000000"
style="stop-color:#ffffff;stop-opacity:1.0000000;" />
<stop
style="stop-color:#ffffff;stop-opacity:1.0000000;"
offset="0.21590909"
id="stop7649" />
<stop
style="stop-color:#838383;stop-opacity:1.0000000;"
offset="0.50000000"
id="stop7632" />
<stop
id="stop7618"
offset="1"
style="stop-color:#838383;stop-opacity:0;" />
</linearGradient>
<linearGradient
id="linearGradient7608">
<stop
style="stop-color:#ffffff;stop-opacity:1.0000000;"
offset="0.0000000"
id="stop7610" />
<stop
id="stop7622"
offset="0.46022728"
style="stop-color:#e3e3e3;stop-opacity:1.0000000;" />
<stop
style="stop-color:#dadada;stop-opacity:0.67058824;"
offset="0.61970556"
id="stop7624" />
<stop
style="stop-color:#d1d1d1;stop-opacity:0.34285715;"
offset="1.0000000"
id="stop7612" />
</linearGradient>
<linearGradient
id="linearGradient7602">
<stop
id="stop7604"
offset="0.0000000"
style="stop-color:#f6f6f6;stop-opacity:1.0000000;" />
<stop
id="stop7606"
offset="1.0000000"
style="stop-color:#e0e0e0;stop-opacity:1.0000000;" />
</linearGradient>
<linearGradient
id="linearGradient7586">
<stop
id="stop7588"
offset="0.0000000"
style="stop-color:#525252;stop-opacity:1.0000000;" />
<stop
id="stop7590"
offset="1.0000000"
style="stop-color:#000000;stop-opacity:1.0000000;" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient12836">
<stop
style="stop-color:#515152;stop-opacity:1;"
offset="0"
id="stop12838" />
<stop
style="stop-color:#515152;stop-opacity:0;"
offset="1"
id="stop12840" />
</linearGradient>
<linearGradient
id="linearGradient12828">
<stop
style="stop-color:#cccccd;stop-opacity:1.0000000;"
offset="0.0000000"
id="stop12830" />
<stop
id="stop12862"
offset="0.0000000"
style="stop-color:#adadae;stop-opacity:1.0000000;" />
<stop
style="stop-color:#8f8f90;stop-opacity:0.0000000;"
offset="1.0000000"
id="stop12832" />
</linearGradient>
<linearGradient
id="linearGradient12810">
<stop
style="stop-color:#ffffff;stop-opacity:1;"
offset="0"
id="stop12812" />
<stop
style="stop-color:#e5e5e5;stop-opacity:1.0000000;"
offset="1.0000000"
id="stop12814" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient11625">
<stop
style="stop-color:#fce94f;stop-opacity:1;"
offset="0"
id="stop11627" />
<stop
style="stop-color:#fce94f;stop-opacity:0;"
offset="1"
id="stop11629" />
</linearGradient>
<linearGradient
id="linearGradient11615">
<stop
style="stop-color:#636363;stop-opacity:1.0000000;"
offset="0.0000000"
id="stop11617" />
<stop
style="stop-color:#000000;stop-opacity:1.0000000;"
offset="1.0000000"
id="stop11619" />
</linearGradient>
<linearGradient
id="linearGradient11602">
<stop
style="stop-color:#ffffff;stop-opacity:1.0000000;"
offset="0.0000000"
id="stop11604" />
<stop
style="stop-color:#c5c5c5;stop-opacity:1.0000000;"
offset="1.0000000"
id="stop11606" />
</linearGradient>
<linearGradient
id="linearGradient11594">
<stop
style="stop-color:#ffffff;stop-opacity:1;"
offset="0"
id="stop11596" />
<stop
style="stop-color:#d1d1d1;stop-opacity:1.0000000;"
offset="1.0000000"
id="stop11598" />
</linearGradient>
<linearGradient
id="linearGradient11520">
<stop
style="stop-color:#fbfbfb;stop-opacity:1.0000000;"
offset="0.0000000"
id="stop11522" />
<stop
style="stop-color:#dcdcdc;stop-opacity:1.0000000;"
offset="1.0000000"
id="stop11524" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient11508">
<stop
style="stop-color:#000000;stop-opacity:1;"
offset="0"
id="stop11510" />
<stop
style="stop-color:#000000;stop-opacity:0;"
offset="1"
id="stop11512" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient11494">
<stop
style="stop-color:#ef2929;stop-opacity:1;"
offset="0"
id="stop11496" />
<stop
style="stop-color:#ef2929;stop-opacity:0;"
offset="1"
id="stop11498" />
</linearGradient>
<linearGradient
id="linearGradient11415">
<stop
style="stop-color:#204a87;stop-opacity:0.0000000;"
offset="0.0000000"
id="stop11417" />
<stop
id="stop11423"
offset="0.50000000"
style="stop-color:#204a87;stop-opacity:1.0000000;" />
<stop
style="stop-color:#204a87;stop-opacity:0;"
offset="1"
id="stop11419" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient11399">
<stop
style="stop-color:#000000;stop-opacity:1;"
offset="0"
id="stop11401" />
<stop
style="stop-color:#000000;stop-opacity:0;"
offset="1"
id="stop11403" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient11415"
id="linearGradient11425"
gradientUnits="userSpaceOnUse"
x1="15.828360"
y1="3.7744560"
x2="43.615788"
y2="34.462429"
gradientTransform="translate(-60.28571,-0.285714)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient11415"
id="linearGradient11427"
gradientUnits="userSpaceOnUse"
x1="9.6957054"
y1="9.3458843"
x2="35.679932"
y2="39.033859"
gradientTransform="translate(-60.57143,0.000000)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient11415"
id="linearGradient11439"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(-60.85714,0.428571)"
x1="13.267134"
y1="19.774456"
x2="26.758644"
y2="33.462429" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient11399"
id="radialGradient11441"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.000000,0.000000,0.000000,0.487395,0.000000,20.06483)"
cx="12.071428"
cy="39.142857"
fx="12.071428"
fy="39.142857"
r="8.5000000" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient11494"
id="radialGradient11500"
cx="27.577173"
cy="15.048258"
fx="27.577173"
fy="15.048258"
r="3.8335034"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.243453,2.106784e-16,-2.106784e-16,1.243453,-6.713754,-3.742847)" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient11494"
id="radialGradient11504"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.243453,2.106784e-16,-2.106784e-16,1.243453,-6.713754,-3.742847)"
cx="27.577173"
cy="16.049133"
fx="27.577173"
fy="16.049133"
r="3.8335034" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient11508"
id="radialGradient11514"
cx="30.203562"
cy="44.565483"
fx="30.203562"
fy="44.565483"
r="6.5659914"
gradientTransform="matrix(1.000000,0.000000,0.000000,0.338462,2.166583e-14,29.48178)"
gradientUnits="userSpaceOnUse" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient11520"
id="radialGradient11526"
cx="24.445690"
cy="35.878170"
fx="24.445690"
fy="35.878170"
r="20.530962"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.995058,-1.535926e-32,0.000000,1.855412,24.94925,-30.20430)" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient11508"
id="radialGradient11532"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.000000,0.000000,0.000000,0.338462,-5.348412e-14,29.48178)"
cx="30.203562"
cy="44.565483"
fx="30.203562"
fy="44.565483"
r="6.5659914" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient11594"
id="linearGradient11600"
x1="20.092352"
y1="8.9471626"
x2="31.799011"
y2="38.947163"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.045319,0.000000,0.000000,0.957884,48.16627,1.415543)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient11520"
id="linearGradient11608"
x1="24.445671"
y1="0.49847093"
x2="24.445671"
y2="39.447163"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.984324,0.000000,0.000000,0.957884,49.65734,1.415543)" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient11615"
id="radialGradient11621"
cx="25.000000"
cy="27.749998"
fx="25.000000"
fy="27.749998"
r="4.7500000"
gradientTransform="matrix(3.570338,3.171097e-15,-4.005596e-15,4.509900,-64.25843,-94.25499)"
gradientUnits="userSpaceOnUse" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient11625"
id="linearGradient11631"
x1="21.500000"
y1="30.000000"
x2="21.500000"
y2="27.375000"
gradientUnits="userSpaceOnUse" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient11625"
id="linearGradient11635"
gradientUnits="userSpaceOnUse"
x1="21.500000"
y1="30.000000"
x2="21.500000"
y2="27.375000"
gradientTransform="translate(2.000000,0.000000)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient11625"
id="linearGradient11639"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(4.000000,0.000000)"
x1="21.500000"
y1="30.000000"
x2="21.500000"
y2="27.375000" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient11625"
id="linearGradient11643"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(6.000000,0.000000)"
x1="21.500000"
y1="30.000000"
x2="21.500000"
y2="27.375000" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient11625"
id="linearGradient11647"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(8.000000,0.000000)"
x1="21.500000"
y1="30.000000"
x2="21.500000"
y2="27.375000" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient11625"
id="linearGradient11655"
gradientUnits="userSpaceOnUse"
x1="21.500000"
y1="30.000000"
x2="21.500000"
y2="27.375000" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient11625"
id="linearGradient11657"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(2.000000,0.000000)"
x1="21.500000"
y1="30.000000"
x2="21.500000"
y2="27.375000" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient11625"
id="linearGradient11659"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(4.000000,0.000000)"
x1="21.500000"
y1="30.000000"
x2="21.500000"
y2="27.375000" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient11625"
id="linearGradient11661"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(6.000000,0.000000)"
x1="21.500000"
y1="30.000000"
x2="21.500000"
y2="27.375000" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient12810"
id="linearGradient12816"
x1="65.623963"
y1="21.459777"
x2="87.528968"
y2="21.459777"
gradientUnits="userSpaceOnUse" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient12810"
id="linearGradient12818"
gradientUnits="userSpaceOnUse"
x1="84.998962"
y1="25.209778"
x2="62.591469"
y2="12.022278" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient12828"
id="radialGradient12834"
cx="88.593018"
cy="33.398670"
fx="88.593018"
fy="33.398670"
r="7.0056136"
gradientTransform="matrix(0.969219,0.227988,-0.194668,0.827570,9.443870,-15.99848)"
gradientUnits="userSpaceOnUse" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient12836"
id="linearGradient12842"
x1="88.750000"
y1="31.656250"
x2="92.062500"
y2="36.656250"
gradientUnits="userSpaceOnUse" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient12810"
id="linearGradient12878"
gradientUnits="userSpaceOnUse"
x1="65.623963"
y1="21.459777"
x2="87.528968"
y2="21.459777" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient12836"
id="linearGradient12880"
gradientUnits="userSpaceOnUse"
x1="88.750000"
y1="31.656250"
x2="92.062500"
y2="36.656250" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient12828"
id="radialGradient12882"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.969219,0.227988,-0.194668,0.827570,9.443870,-15.99848)"
cx="88.593018"
cy="33.398670"
fx="88.593018"
fy="33.398670"
r="7.0056136" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient12810"
id="linearGradient12884"
gradientUnits="userSpaceOnUse"
x1="84.998962"
y1="25.209778"
x2="62.591469"
y2="12.022278" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient11615"
id="radialGradient12894"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(3.570338,3.171097e-15,-4.005596e-15,4.509900,-64.25843,-94.25499)"
cx="25.000000"
cy="27.749998"
fx="25.000000"
fy="27.749998"
r="4.7500000" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient11625"
id="linearGradient12896"
gradientUnits="userSpaceOnUse"
x1="21.500000"
y1="30.000000"
x2="21.500000"
y2="27.375000"
gradientTransform="translate(7.267442e-2,-0.181686)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient11625"
id="linearGradient12898"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(2.072674,-0.181686)"
x1="21.500000"
y1="30.000000"
x2="21.500000"
y2="27.375000" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient11625"
id="linearGradient12900"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(4.072674,-0.181686)"
x1="21.500000"
y1="30.000000"
x2="21.500000"
y2="27.375000" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient11625"
id="linearGradient12902"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(6.000000,0.000000)"
x1="21.500000"
y1="30.000000"
x2="21.500000"
y2="27.375000" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient11625"
id="linearGradient12911"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(7.267442e-2,-0.181686)"
x1="21.500000"
y1="30.000000"
x2="21.500000"
y2="27.375000" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient11625"
id="linearGradient12913"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(2.072674,-0.181686)"
x1="21.500000"
y1="30.000000"
x2="21.500000"
y2="27.375000" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient11625"
id="linearGradient12915"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(4.072674,-0.181686)"
x1="21.500000"
y1="30.000000"
x2="21.500000"
y2="27.375000" />
<linearGradient
y2="21.067410"
x2="24.445690"
y1="33.447811"
x1="31.597168"
gradientTransform="matrix(0.476329,0.000000,0.000000,0.627721,62.07560,9.156933)"
gradientUnits="userSpaceOnUse"
id="linearGradient7584"
xlink:href="#linearGradient11594"
inkscape:collect="always" />
<radialGradient
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(2.407878,2.776254e-16,-5.900875e-16,1.861050,14.96976,-20.55775)"
r="6.0270013"
fy="29.099535"
fx="24.399090"
cy="29.099535"
cx="24.399090"
id="radialGradient7592"
xlink:href="#linearGradient7586"
inkscape:collect="always" />
<linearGradient
y2="11.042997"
x2="22.585604"
y1="34.149513"
x1="22.585604"
gradientTransform="matrix(1.059222,0.000000,0.000000,0.808101,48.08657,4.001391)"
gradientUnits="userSpaceOnUse"
id="linearGradient7596"
xlink:href="#linearGradient7608"
inkscape:collect="always" />
<linearGradient
gradientTransform="translate(49.32070,0.000000)"
gradientUnits="userSpaceOnUse"
y2="38.454056"
x2="28.284273"
y1="28.554562"
x1="25.279068"
id="linearGradient7642"
xlink:href="#linearGradient7636"
inkscape:collect="always" />
<radialGradient
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(2.777122,-8.126449e-2,6.891211e-2,2.223012,4.035118,-33.24798)"
r="4.4774761"
fy="29.609560"
fx="24.483574"
cy="29.609560"
cx="24.483574"
id="radialGradient7647"
xlink:href="#linearGradient7614"
inkscape:collect="always" />
<radialGradient
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(-2.046729,-3.749427e-16,-2.853404e-16,1.557610,67.59375,3.275309)"
r="17.171415"
fy="5.7859797"
fx="25.075571"
cy="5.7859797"
cx="25.075571"
id="radialGradient8656"
xlink:href="#linearGradient8650"
inkscape:collect="always" />
<radialGradient
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.000000,0.000000,0.000000,0.536723,6.772795e-15,16.87306)"
r="15.644737"
fy="36.421127"
fx="24.837126"
cy="36.421127"
cx="24.837126"
id="radialGradient8668"
xlink:href="#linearGradient8662"
inkscape:collect="always" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient2591"
id="radialGradient2597"
cx="22.291636"
cy="32.797512"
fx="22.291636"
fy="32.797512"
r="16.956199"
gradientTransform="matrix(-0.843022,1.871885e-16,2.265228e-16,1.020168,43.57646,1.205215)"
gradientUnits="userSpaceOnUse" />
</defs>
<sodipodi:namedview
inkscape:window-y="30"
inkscape:window-x="0"
inkscape:window-height="818"
inkscape:window-width="1280"
inkscape:showpageshadow="false"
inkscape:document-units="px"
inkscape:grid-bbox="true"
showgrid="false"
inkscape:current-layer="layer1"
inkscape:cy="25.461494"
inkscape:cx="15.433072"
inkscape:zoom="16"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0"
borderopacity="0.25490196"
bordercolor="#666666"
pagecolor="#ffffff"
id="base"
fill="#4e9a06"
stroke="#4e9a06" />
<metadata
id="metadata4">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:creator>
<cc:Agent>
<dc:title>Jakub Steiner</dc:title>
</cc:Agent>
</dc:creator>
<dc:source>http://jimmac.musichall.cz</dc:source>
<cc:license
rdf:resource="http://creativecommons.org/licenses/publicdomain/" />
<dc:title>Go Previous</dc:title>
<dc:subject>
<rdf:Bag>
<rdf:li>go</rdf:li>
<rdf:li>previous</rdf:li>
<rdf:li>left</rdf:li>
<rdf:li>arrow</rdf:li>
<rdf:li>pointer</rdf:li>
<rdf:li>&lt;</rdf:li>
</rdf:Bag>
</dc:subject>
</cc:Work>
<cc:License
rdf:about="http://creativecommons.org/licenses/publicdomain/">
<cc:permits
rdf:resource="http://creativecommons.org/ns#Reproduction" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#Distribution" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#DerivativeWorks" />
</cc:License>
</rdf:RDF>
</metadata>
<g
inkscape:groupmode="layer"
inkscape:label="Layer 1"
id="layer1">
<path
transform="matrix(-1.271186,0.000000,0.000000,1.271186,56.19514,-15.27857)"
d="M 40.481863 36.421127 A 15.644737 8.3968935 0 1 1 9.1923885,36.421127 A 15.644737 8.3968935 0 1 1 40.481863 36.421127 z"
sodipodi:ry="8.3968935"
sodipodi:rx="15.644737"
sodipodi:cy="36.421127"
sodipodi:cx="24.837126"
id="path8660"
style="opacity:0.29946521;color:#000000;fill:url(#radialGradient8668);fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-width:1.0000000;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:10.000000;stroke-dasharray:none;stroke-dashoffset:0.0000000;stroke-opacity:1.0000000;visibility:visible;display:inline;overflow:visible"
sodipodi:type="arc" />
<path
sodipodi:nodetypes="cccccccc"
id="path8643"
d="M 39.490316,15.496821 L 39.490316,32.491241 L 26.537753,32.491241 L 26.537753,40.973779 L 6.577917,23.973588 L 26.531563,6.7295901 L 26.531563,15.502125 L 39.490316,15.496821 z "
style="opacity:1.0000000;color:#000000;fill:url(#radialGradient2597);fill-opacity:1.0000000;fill-rule:evenodd;stroke:#3a7304;stroke-width:1.0000004;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:10.000000;stroke-dasharray:none;stroke-dashoffset:0.0000000;stroke-opacity:1;visibility:visible;display:inline;overflow:visible" />
<path
sodipodi:nodetypes="cccccc"
id="path8645"
d="M 25.988368,7.9779766 L 25.988368,16.034451 L 38.930538,16.034451 L 38.930538,24.918914 C 22.180538,18.668914 22.797001,30.213626 7.547,23.963626 L 25.988368,7.9779766 z "
style="opacity:0.50802141;color:#000000;fill:url(#radialGradient8656);fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-width:1.0000000;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:10.000000;stroke-dasharray:none;stroke-dashoffset:0.0000000;stroke-opacity:1.0000000;visibility:visible;display:inline;overflow:visible" />
<path
style="opacity:0.48128340;color:#000000;fill:none;fill-opacity:1.0000000;fill-rule:evenodd;stroke:#ffffff;stroke-width:1.0000004;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:10.000000;stroke-dasharray:none;stroke-dashoffset:0.0000000;stroke-opacity:1.0000000;visibility:visible;display:inline;overflow:visible"
d="M 38.475551,16.541365 L 38.475551,31.463305 L 25.490184,31.463305 L 25.490184,38.764721 L 8.168419,23.96903 L 25.506145,9.0636299 L 25.506145,16.546262 L 38.475551,16.541365 z "
id="path8658"
sodipodi:nodetypes="cccccccc" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 28 KiB

View File

@@ -0,0 +1,393 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
inkscape:export-ydpi="90.000000"
inkscape:export-xdpi="90.000000"
inkscape:export-filename="/home/jimmac/Desktop/wi-fi.png"
width="48px"
height="48px"
id="svg11300"
sodipodi:version="0.32"
inkscape:version="0.46"
sodipodi:docbase="/home/jimmac/src/cvs/tango-icon-theme/scalable/actions"
sodipodi:docname="view-refresh.svg"
inkscape:output_extension="org.inkscape.output.svg.inkscape">
<defs
id="defs3">
<inkscape:perspective
sodipodi:type="inkscape:persp3d"
inkscape:vp_x="0 : 24 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_z="48 : 24 : 1"
inkscape:persp3d-origin="24 : 16 : 1"
id="perspective58" />
<linearGradient
inkscape:collect="always"
id="linearGradient2690">
<stop
style="stop-color:#c4d7eb;stop-opacity:1;"
offset="0"
id="stop2692" />
<stop
style="stop-color:#c4d7eb;stop-opacity:0;"
offset="1"
id="stop2694" />
</linearGradient>
<linearGradient
id="linearGradient2682">
<stop
style="stop-color:#3977c3;stop-opacity:1;"
offset="0"
id="stop2684" />
<stop
style="stop-color:#89aedc;stop-opacity:0;"
offset="1"
id="stop2686" />
</linearGradient>
<linearGradient
id="linearGradient2402">
<stop
style="stop-color:#729fcf;stop-opacity:1;"
offset="0"
id="stop2404" />
<stop
style="stop-color:#528ac5;stop-opacity:1;"
offset="1"
id="stop2406" />
</linearGradient>
<linearGradient
id="linearGradient2380">
<stop
style="stop-color:#b9cfe7;stop-opacity:1"
offset="0"
id="stop2382" />
<stop
style="stop-color:#729fcf;stop-opacity:1"
offset="1"
id="stop2384" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient2871">
<stop
style="stop-color:#3465a4;stop-opacity:1;"
offset="0"
id="stop2873" />
<stop
style="stop-color:#3465a4;stop-opacity:1"
offset="1"
id="stop2875" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient2847">
<stop
style="stop-color:#3465a4;stop-opacity:1;"
offset="0"
id="stop2849" />
<stop
style="stop-color:#3465a4;stop-opacity:0;"
offset="1"
id="stop2851" />
</linearGradient>
<linearGradient
id="linearGradient2831">
<stop
style="stop-color:#3465a4;stop-opacity:1;"
offset="0"
id="stop2833" />
<stop
id="stop2855"
offset="0.33333334"
style="stop-color:#5b86be;stop-opacity:1;" />
<stop
style="stop-color:#83a8d8;stop-opacity:0;"
offset="1"
id="stop2835" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient2797">
<stop
style="stop-color:#ffffff;stop-opacity:1;"
offset="0"
id="stop2799" />
<stop
style="stop-color:#ffffff;stop-opacity:0;"
offset="1"
id="stop2801" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient8662">
<stop
style="stop-color:#000000;stop-opacity:1;"
offset="0"
id="stop8664" />
<stop
style="stop-color:#000000;stop-opacity:0;"
offset="1"
id="stop8666" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2831"
id="linearGradient1486"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(0.465413,-0.277593)"
x1="13.478554"
y1="10.612206"
x2="15.419417"
y2="19.115122" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2847"
id="linearGradient1488"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(-1,0,0,-1,47.52791,45.84741)"
x1="37.128052"
y1="29.729605"
x2="37.065414"
y2="26.194071" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2797"
id="linearGradient1491"
gradientUnits="userSpaceOnUse"
x1="5.9649176"
y1="26.048164"
x2="52.854097"
y2="26.048164" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2797"
id="linearGradient1493"
gradientUnits="userSpaceOnUse"
x1="5.9649176"
y1="26.048164"
x2="52.854097"
y2="26.048164" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2871"
id="linearGradient1501"
gradientUnits="userSpaceOnUse"
x1="46.834816"
y1="45.264122"
x2="45.380436"
y2="50.939667" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient8662"
id="radialGradient1503"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1,0,0,0.536723,-9.680928e-14,16.87306)"
cx="24.837126"
cy="36.421127"
fx="24.837126"
fy="36.421127"
r="15.644737" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2380"
id="linearGradient2386"
x1="62.513836"
y1="36.061237"
x2="15.984863"
y2="20.60858"
gradientUnits="userSpaceOnUse" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2402"
id="linearGradient2408"
x1="18.935766"
y1="23.667896"
x2="53.588622"
y2="26.649362"
gradientUnits="userSpaceOnUse" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2682"
id="linearGradient2688"
x1="36.713837"
y1="31.455952"
x2="37.124462"
y2="24.842253"
gradientUnits="userSpaceOnUse" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2690"
id="linearGradient2696"
x1="32.647972"
y1="30.748846"
x2="37.124462"
y2="24.842253"
gradientUnits="userSpaceOnUse" />
</defs>
<sodipodi:namedview
stroke="#3465a4"
fill="#729fcf"
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="0.25490196"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="5.6568542"
inkscape:cx="2.4438651"
inkscape:cy="18.153347"
inkscape:current-layer="layer1"
showgrid="false"
inkscape:grid-bbox="true"
inkscape:document-units="px"
inkscape:showpageshadow="false"
inkscape:window-width="891"
inkscape:window-height="818"
inkscape:window-x="0"
inkscape:window-y="30" />
<metadata
id="metadata4">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:creator>
<cc:Agent>
<dc:title>Jakub Steiner</dc:title>
</cc:Agent>
</dc:creator>
<dc:source>http://jimmac.musichall.cz</dc:source>
<cc:license
rdf:resource="http://creativecommons.org/licenses/publicdomain/" />
<dc:title>View Refresh</dc:title>
<dc:subject>
<rdf:Bag>
<rdf:li>reload</rdf:li>
<rdf:li>refresh</rdf:li>
<rdf:li>view</rdf:li>
</rdf:Bag>
</dc:subject>
</cc:Work>
<cc:License
rdf:about="http://creativecommons.org/licenses/publicdomain/">
<cc:permits
rdf:resource="http://creativecommons.org/ns#Reproduction" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#Distribution" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#DerivativeWorks" />
</cc:License>
</rdf:RDF>
</metadata>
<g
id="layer1"
inkscape:label="Layer 1"
inkscape:groupmode="layer">
<path
transform="matrix(-1.489736,0,0,-1.001252,61.20865,75.2819)"
d="M 40.481863 36.421127 A 15.644737 8.3968935 0 1 1 9.1923885,36.421127 A 15.644737 8.3968935 0 1 1 40.481863 36.421127 z"
sodipodi:ry="8.3968935"
sodipodi:rx="15.644737"
sodipodi:cy="36.421127"
sodipodi:cx="24.837126"
id="path8660"
style="opacity:0.38333333;color:#000000;fill:url(#radialGradient1503);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:10;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible"
sodipodi:type="arc"
inkscape:r_cx="true"
inkscape:r_cy="true" />
<path
style="color:#000000;fill:url(#linearGradient1486);fill-opacity:1;fill-rule:nonzero;stroke:url(#linearGradient1488);stroke-width:0.99999958;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:block;overflow:visible"
d="M 20.152913,10.409904 C 20.152913,10.409904 11.215413,9.784904 13.965413,20.284904 L 6.2779132,20.284904 C 6.2779132,20.284904 6.7779132,8.409904 20.152913,10.409904 z "
id="path2865"
inkscape:r_cx="true"
inkscape:r_cy="true"
sodipodi:nodetypes="cccc" />
<g
id="g1878"
transform="matrix(-0.579051,-0.489228,-0.489228,0.579051,56.91585,13.37137)"
inkscape:r_cx="true"
inkscape:r_cy="true"
style="fill:url(#linearGradient2386);fill-opacity:1.0;stroke:#3465a4;stroke-opacity:1">
<path
sodipodi:nodetypes="ccccccc"
id="path1880"
d="M 44.306783,50.229694 C 62.821497,35.818859 49.664587,13.411704 22.462411,12.49765 L 22.113843,3.1515478 L 7.6245439,20.496754 L 22.714328,33.219189 C 22.714328,33.219189 22.462411,23.337969 22.462411,23.337969 C 41.292171,24.336946 55.444038,37.409698 44.306783,50.229694 z "
style="opacity:1;color:#000000;fill:url(#linearGradient2386);fill-opacity:1.0;fill-rule:nonzero;stroke:url(#linearGradient1501);stroke-width:1.31916928;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:block;overflow:visible"
inkscape:r_cx="true"
inkscape:r_cy="true" />
</g>
<path
sodipodi:nodetypes="cccc"
inkscape:r_cy="true"
inkscape:r_cx="true"
id="path2839"
d="M 28.375,33.4375 C 28.375,33.4375 37.3125,34.0625 34.5625,23.5625 L 42.338388,23.5625 C 42.338388,25.065102 41.75,35.4375 28.375,33.4375 z "
style="color:#000000;fill:url(#linearGradient2696);fill-opacity:1.0;fill-rule:nonzero;stroke:url(#linearGradient2688);stroke-width:0.99999958;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:block;overflow:visible" />
<g
style="color:#000000;fill:url(#linearGradient2408);fill-opacity:1.0;fill-rule:nonzero;stroke:url(#linearGradient1501);stroke-width:1.31916928;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:block;overflow:visible;opacity:1"
inkscape:r_cy="true"
inkscape:r_cx="true"
transform="matrix(0.579051,0.489228,0.489228,-0.579051,-7.921023,30.53599)"
id="g2779">
<path
inkscape:r_cy="true"
inkscape:r_cx="true"
style="opacity:1;color:#000000;fill:url(#linearGradient2408);fill-opacity:1.0;fill-rule:nonzero;stroke:url(#linearGradient1501);stroke-width:1.31916928;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:block;overflow:visible"
d="M 44.306783,50.229694 C 62.821497,35.818859 49.664587,13.411704 22.462411,12.49765 L 22.399432,3.0690297 L 7.793943,20.424005 L 22.462411,33.006349 C 22.462411,33.006349 22.462411,23.337969 22.462411,23.337969 C 41.292171,24.336946 55.444038,37.409698 44.306783,50.229694 z "
id="path2781"
sodipodi:nodetypes="ccccccc" />
</g>
<path
style="opacity:0.27222224;color:#000000;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.99999982;stroke-linecap:round;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible"
d="M 7.0625,38.1875 L 7.125,23.3125 L 20.0625,22.9375 L 15.673627,28.116317 L 19.540852,30.489516 C 16.540852,32.739516 14.991304,32.911644 13.991304,35.474144 L 11.174446,33.363872 L 7.0625,38.1875 z "
id="path2791"
inkscape:r_cx="true"
inkscape:r_cy="true"
sodipodi:nodetypes="cccccccc" />
<g
id="g2793"
transform="matrix(0.508536,0.429651,0.429651,-0.508536,-3.973188,30.54119)"
inkscape:r_cx="true"
inkscape:r_cy="true"
style="opacity:0.5;fill:none;fill-opacity:1;stroke:#ffffff;stroke-opacity:1">
<path
sodipodi:nodetypes="ccccccc"
id="path2795"
d="M 51.090265,45.943705 C 60.210465,30.723955 46.631614,12.20113 19.485058,11.948579 L 19.513464,3.7032834 L 6.5341979,19.296639 L 19.367661,30.26876 C 19.367661,30.26876 19.423281,21.261882 19.423281,21.261882 C 36.951096,21.037973 54.618466,31.365254 51.090265,45.943705 z "
style="opacity:1;color:#000000;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:url(#linearGradient1493);stroke-width:1.50208926;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:block;overflow:visible"
inkscape:r_cx="true"
inkscape:r_cy="true" />
</g>
<g
style="opacity:0.5;fill:none;fill-opacity:1;stroke:#ffffff;stroke-opacity:1"
inkscape:r_cy="true"
inkscape:r_cx="true"
transform="matrix(-0.508536,-0.429651,-0.429651,0.508536,53.049,13.36548)"
id="g2805">
<path
inkscape:r_cy="true"
inkscape:r_cx="true"
style="opacity:1;color:#000000;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:url(#linearGradient1491);stroke-width:1.50208926;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:block;overflow:visible"
d="M 51.389927,46.505946 C 60.510127,31.286196 47.050763,12.432359 19.628482,12.069755 L 19.342824,4.0507204 L 6.3413093,19.379475 L 19.809059,30.764589 C 19.809059,30.764589 19.627294,21.311346 19.627294,21.311346 C 37.872231,21.693318 54.411175,32.236592 51.389927,46.505946 z "
id="path2807"
sodipodi:nodetypes="ccccccc" />
</g>
<path
style="opacity:0.27222224;color:#000000;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.99999982;stroke-linecap:round;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible"
d="M 6.8125,16.5 C 10.405935,6.0587275 23.256282,10.355393 27,12 C 31.175307,12.211475 32.674736,9.164996 36,9 C 21.950264,-0.7899963 7.1875,2.5 6.8125,16.5 z "
id="path2811"
inkscape:r_cx="true"
inkscape:r_cy="true"
sodipodi:nodetypes="cccc" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 16 KiB

View File

@@ -0,0 +1,336 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="48.000000px"
height="48.000000px"
id="svg6361"
sodipodi:version="0.32"
inkscape:version="0.46"
sodipodi:docbase="/home/jimmac/gfx/ximian/tango-icon-theme/scalable/actions"
sodipodi:docname="process-stop.svg"
inkscape:output_extension="org.inkscape.output.svg.inkscape">
<defs
id="defs3">
<inkscape:perspective
sodipodi:type="inkscape:persp3d"
inkscape:vp_x="0 : 24 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_z="48 : 24 : 1"
inkscape:persp3d-origin="24 : 16 : 1"
id="perspective52" />
<linearGradient
id="linearGradient2256">
<stop
style="stop-color:#ff0202;stop-opacity:1;"
offset="0"
id="stop2258" />
<stop
style="stop-color:#ff9b9b;stop-opacity:1;"
offset="1"
id="stop2260" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient2248">
<stop
style="stop-color:#ffffff;stop-opacity:1;"
offset="0"
id="stop2250" />
<stop
style="stop-color:#ffffff;stop-opacity:0;"
offset="1"
id="stop2252" />
</linearGradient>
<linearGradient
id="linearGradient9647">
<stop
style="stop-color:#ffffff;stop-opacity:1;"
offset="0"
id="stop9649" />
<stop
style="stop-color:#dbdbdb;stop-opacity:1;"
offset="1"
id="stop9651" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient21644">
<stop
style="stop-color:#000000;stop-opacity:1;"
offset="0"
id="stop21646" />
<stop
style="stop-color:#000000;stop-opacity:0;"
offset="1"
id="stop21648" />
</linearGradient>
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient21644"
id="radialGradient21650"
cx="25.125"
cy="36.75"
fx="25.125"
fy="36.75"
r="15.75"
gradientTransform="matrix(1.000000,0.000000,0.000000,0.595238,-2.300678e-15,14.87500)"
gradientUnits="userSpaceOnUse" />
<linearGradient
inkscape:collect="always"
id="linearGradient7895">
<stop
style="stop-color:#ffffff;stop-opacity:1;"
offset="0"
id="stop7897" />
<stop
style="stop-color:#ffffff;stop-opacity:0;"
offset="1"
id="stop7899" />
</linearGradient>
<linearGradient
id="linearGradient4981">
<stop
style="stop-color:#cc0000;stop-opacity:1;"
offset="0"
id="stop4983" />
<stop
style="stop-color:#b30000;stop-opacity:1.0000000;"
offset="1.0000000"
id="stop4985" />
</linearGradient>
<linearGradient
id="linearGradient15762"
inkscape:collect="always">
<stop
id="stop15764"
offset="0"
style="stop-color:#ffffff;stop-opacity:1;" />
<stop
id="stop15766"
offset="1"
style="stop-color:#ffffff;stop-opacity:0;" />
</linearGradient>
<linearGradient
id="linearGradient14236">
<stop
id="stop14238"
offset="0.0000000"
style="stop-color:#ed4040;stop-opacity:1.0000000;" />
<stop
id="stop14240"
offset="1.0000000"
style="stop-color:#a40000;stop-opacity:1.0000000;" />
</linearGradient>
<linearGradient
id="linearGradient11780">
<stop
style="stop-color:#ff8b8b;stop-opacity:1.0000000;"
offset="0.0000000"
id="stop11782" />
<stop
style="stop-color:#ec1b1b;stop-opacity:1.0000000;"
offset="1.0000000"
id="stop11784" />
</linearGradient>
<linearGradient
id="linearGradient11014">
<stop
style="stop-color:#a80000;stop-opacity:1.0000000;"
offset="0.0000000"
id="stop11016" />
<stop
style="stop-color:#c60000;stop-opacity:1.0000000;"
offset="0.0000000"
id="stop13245" />
<stop
style="stop-color:#e50000;stop-opacity:1.0000000;"
offset="1.0000000"
id="stop11018" />
</linearGradient>
<linearGradient
y2="9.6507530"
x2="9.8940229"
y1="5.3855424"
x1="5.7365270"
gradientTransform="matrix(-1.000000,0.000000,0.000000,-1.000000,31.72170,31.29079)"
gradientUnits="userSpaceOnUse"
id="linearGradient15772"
xlink:href="#linearGradient15762"
inkscape:collect="always" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient11780"
id="linearGradient2057"
x1="15.737001"
y1="12.503600"
x2="53.570126"
y2="47.374317"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(0.000000,-2.000000)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient4981"
id="linearGradient4987"
x1="23.995985"
y1="20.105337"
x2="41.047836"
y2="37.959785"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(0.000000,-2.000000)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient7895"
id="linearGradient7901"
x1="15.578875"
y1="16.285088"
x2="32.166405"
y2="28.394291"
gradientUnits="userSpaceOnUse" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient9647"
id="radialGradient2239"
cx="24.30225"
cy="33.30225"
fx="24.30225"
fy="33.30225"
r="12.30225"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.693981,-5.775714e-16,5.775714e-16,1.693981,-16.86529,-25.11111)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient4981"
id="linearGradient2243"
gradientUnits="userSpaceOnUse"
x1="23.995985"
y1="20.105337"
x2="41.047836"
y2="37.959785"
gradientTransform="matrix(0.988373,0.000000,0.000000,0.988373,0.279002,0.278984)" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient2248"
id="radialGradient2254"
cx="16.75"
cy="10.666344"
fx="16.75"
fy="10.666344"
r="21.25"
gradientTransform="matrix(4.154957,-2.979206e-24,3.255657e-24,3.198723,-52.84553,-23.50921)"
gradientUnits="userSpaceOnUse" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2256"
id="linearGradient2262"
x1="21.75"
y1="15.80225"
x2="24.30225"
y2="35.05225"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(0.000000,-2.000000)" />
</defs>
<sodipodi:namedview
inkscape:guide-bbox="true"
showguides="true"
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="0.15294118"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="4"
inkscape:cx="0.007276"
inkscape:cy="7.0544576"
inkscape:current-layer="layer1"
showgrid="false"
inkscape:grid-bbox="true"
inkscape:document-units="px"
inkscape:window-width="786"
inkscape:window-height="688"
inkscape:window-x="488"
inkscape:window-y="160"
inkscape:showpageshadow="false" />
<metadata
id="metadata4">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title>Stop</dc:title>
<dc:date>2005-10-16</dc:date>
<dc:creator>
<cc:Agent>
<dc:title>Andreas Nilsson</dc:title>
</cc:Agent>
</dc:creator>
<dc:subject>
<rdf:Bag>
<rdf:li>stop</rdf:li>
<rdf:li>halt</rdf:li>
<rdf:li>error</rdf:li>
</rdf:Bag>
</dc:subject>
<cc:license
rdf:resource="http://creativecommons.org/licenses/publicdomain/" />
<dc:contributor>
<cc:Agent>
<dc:title>Jakub Steiner</dc:title>
</cc:Agent>
</dc:contributor>
</cc:Work>
<cc:License
rdf:about="http://creativecommons.org/licenses/publicdomain/">
<cc:permits
rdf:resource="http://creativecommons.org/ns#Reproduction" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#Distribution" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#DerivativeWorks" />
</cc:License>
</rdf:RDF>
</metadata>
<g
id="layer1"
inkscape:label="Layer 1"
inkscape:groupmode="layer">
<path
sodipodi:type="arc"
style="opacity:0.63068183;color:#000000;fill:url(#radialGradient21650);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible"
id="path21642"
sodipodi:cx="25.125"
sodipodi:cy="36.75"
sodipodi:rx="15.75"
sodipodi:ry="9.375"
d="M 40.875 36.75 A 15.75 9.375 0 1 1 9.375,36.75 A 15.75 9.375 0 1 1 40.875 36.75 z"
transform="matrix(1.173803,0.000000,0.000000,0.600000,-5.265866,19.57500)" />
<path
style="fill:url(#linearGradient4987);fill-opacity:1;fill-rule:evenodd;stroke:#860000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 15.591006,0.4919213 L 32.676311,0.4919213 L 45.497585,13.586385 L 45.497585,31.48003 L 32.848986,43.496929 L 15.418649,43.496929 L 2.4943857,30.658264 L 2.4943857,13.464078 L 15.591006,0.4919213 z "
id="path9480"
sodipodi:nodetypes="ccccccccc" />
<path
style="opacity:0.81318683;fill:none;fill-opacity:1;fill-rule:evenodd;stroke:url(#linearGradient2057);stroke-width:1.00000024;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1"
d="M 16.020655,1.5003424 L 32.248563,1.5003424 L 44.496456,13.922717 L 44.496456,31.037001 L 32.638472,42.48783 L 15.870253,42.48783 L 3.5090792,30.208718 L 3.5090792,13.84561 L 16.020655,1.5003424 z "
id="path9482"
sodipodi:nodetypes="ccccccccc" />
<path
style="opacity:0.28977272;fill:url(#radialGradient2254);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 15.6875,0.75 L 2.75,13.5625 L 2.75,30.5625 L 5.6875,33.46875 C 22.450041,33.526299 22.164665,20.450067 45.25,21.59375 L 45.25,13.6875 L 32.5625,0.75 L 15.6875,0.75 z "
id="path2241"
sodipodi:nodetypes="cccccccc" />
<path
style="fill:url(#radialGradient2239);fill-opacity:1;fill-rule:evenodd;stroke:url(#linearGradient2262);stroke-width:0.99999958;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 16.767175,10.5 L 12.5,14.767175 L 20.035075,22.30225 L 12.5,29.837325 L 16.767175,34.104501 L 24.30225,26.569425 L 31.837325,34.104501 L 36.104501,29.837325 L 28.569425,22.30225 L 36.104501,14.767175 L 31.837325,10.5 L 24.30225,18.035075 L 16.767175,10.5 z "
id="path2787" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 12 KiB

View File

@@ -0,0 +1,436 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="48px"
height="48px"
id="svg6431"
sodipodi:version="0.32"
inkscape:version="0.46"
sodipodi:docbase="/home/jimmac/src/cvs/tango-icon-theme/scalable/actions"
sodipodi:docname="list-add.svg"
inkscape:output_extension="org.inkscape.output.svg.inkscape">
<defs
id="defs6433">
<inkscape:perspective
sodipodi:type="inkscape:persp3d"
inkscape:vp_x="0 : 24 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_z="48 : 24 : 1"
inkscape:persp3d-origin="24 : 16 : 1"
id="perspective70" />
<linearGradient
inkscape:collect="always"
id="linearGradient2091">
<stop
style="stop-color:#000000;stop-opacity:1;"
offset="0"
id="stop2093" />
<stop
style="stop-color:#000000;stop-opacity:0;"
offset="1"
id="stop2095" />
</linearGradient>
<linearGradient
id="linearGradient7916">
<stop
style="stop-color:#ffffff;stop-opacity:1;"
offset="0"
id="stop7918" />
<stop
style="stop-color:#ffffff;stop-opacity:0.34020618;"
offset="1.0000000"
id="stop7920" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient8662">
<stop
style="stop-color:#000000;stop-opacity:1;"
offset="0"
id="stop8664" />
<stop
style="stop-color:#000000;stop-opacity:0;"
offset="1"
id="stop8666" />
</linearGradient>
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient8662"
id="radialGradient1503"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.000000,0.000000,0.000000,0.536723,-1.018989e-13,16.87306)"
cx="24.837126"
cy="36.421127"
fx="24.837126"
fy="36.421127"
r="15.644737" />
<linearGradient
inkscape:collect="always"
id="linearGradient2847">
<stop
style="stop-color:#3465a4;stop-opacity:1;"
offset="0"
id="stop2849" />
<stop
style="stop-color:#3465a4;stop-opacity:0;"
offset="1"
id="stop2851" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2847"
id="linearGradient1488"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(-1.000000,0.000000,0.000000,-1.000000,-1.242480,40.08170)"
x1="37.128052"
y1="29.729605"
x2="37.065414"
y2="26.194071" />
<linearGradient
id="linearGradient2831">
<stop
style="stop-color:#3465a4;stop-opacity:1;"
offset="0"
id="stop2833" />
<stop
id="stop2855"
offset="0.33333334"
style="stop-color:#5b86be;stop-opacity:1;" />
<stop
style="stop-color:#83a8d8;stop-opacity:0;"
offset="1"
id="stop2835" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2831"
id="linearGradient1486"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(-48.30498,-6.043298)"
x1="13.478554"
y1="10.612206"
x2="15.419417"
y2="19.115122" />
<linearGradient
id="linearGradient2380">
<stop
style="stop-color:#b9cfe7;stop-opacity:1"
offset="0"
id="stop2382" />
<stop
style="stop-color:#729fcf;stop-opacity:1"
offset="1"
id="stop2384" />
</linearGradient>
<linearGradient
id="linearGradient2682">
<stop
style="stop-color:#3977c3;stop-opacity:1;"
offset="0"
id="stop2684" />
<stop
style="stop-color:#89aedc;stop-opacity:0;"
offset="1"
id="stop2686" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2682"
id="linearGradient2688"
x1="36.713837"
y1="31.455952"
x2="37.124462"
y2="24.842253"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(-48.77039,-5.765705)" />
<linearGradient
inkscape:collect="always"
id="linearGradient2690">
<stop
style="stop-color:#c4d7eb;stop-opacity:1;"
offset="0"
id="stop2692" />
<stop
style="stop-color:#c4d7eb;stop-opacity:0;"
offset="1"
id="stop2694" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2690"
id="linearGradient2696"
x1="32.647972"
y1="30.748846"
x2="37.124462"
y2="24.842253"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(-48.77039,-5.765705)" />
<linearGradient
inkscape:collect="always"
id="linearGradient2871">
<stop
style="stop-color:#3465a4;stop-opacity:1;"
offset="0"
id="stop2873" />
<stop
style="stop-color:#3465a4;stop-opacity:1"
offset="1"
id="stop2875" />
</linearGradient>
<linearGradient
id="linearGradient2402">
<stop
style="stop-color:#729fcf;stop-opacity:1;"
offset="0"
id="stop2404" />
<stop
style="stop-color:#528ac5;stop-opacity:1;"
offset="1"
id="stop2406" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2797"
id="linearGradient1493"
gradientUnits="userSpaceOnUse"
x1="5.9649176"
y1="26.048164"
x2="52.854097"
y2="26.048164" />
<linearGradient
inkscape:collect="always"
id="linearGradient2797">
<stop
style="stop-color:#ffffff;stop-opacity:1;"
offset="0"
id="stop2799" />
<stop
style="stop-color:#ffffff;stop-opacity:0;"
offset="1"
id="stop2801" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2797"
id="linearGradient1491"
gradientUnits="userSpaceOnUse"
x1="5.9649176"
y1="26.048164"
x2="52.854097"
y2="26.048164" />
<linearGradient
inkscape:collect="always"
id="linearGradient7179">
<stop
style="stop-color:#ffffff;stop-opacity:1;"
offset="0"
id="stop7181" />
<stop
style="stop-color:#ffffff;stop-opacity:0;"
offset="1"
id="stop7183" />
</linearGradient>
<linearGradient
id="linearGradient2316">
<stop
style="stop-color:#000000;stop-opacity:1;"
offset="0"
id="stop2318" />
<stop
style="stop-color:#ffffff;stop-opacity:0.65979379;"
offset="1"
id="stop2320" />
</linearGradient>
<linearGradient
id="linearGradient1322">
<stop
id="stop1324"
offset="0.0000000"
style="stop-color:#729fcf" />
<stop
id="stop1326"
offset="1.0000000"
style="stop-color:#5187d6;stop-opacity:1.0000000;" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient1322"
id="linearGradient4975"
x1="34.892849"
y1="36.422989"
x2="45.918697"
y2="48.547989"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(-18.01785,-13.57119)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient7179"
id="linearGradient7185"
x1="13.435029"
y1="13.604306"
x2="22.374878"
y2="23.554308"
gradientUnits="userSpaceOnUse" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient7179"
id="linearGradient7189"
gradientUnits="userSpaceOnUse"
x1="13.435029"
y1="13.604306"
x2="22.374878"
y2="23.554308"
gradientTransform="matrix(-1.000000,0.000000,0.000000,-1.000000,47.93934,50.02474)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2380"
id="linearGradient7180"
gradientUnits="userSpaceOnUse"
x1="62.513836"
y1="36.061237"
x2="15.984863"
y2="20.60858" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2871"
id="linearGradient7182"
gradientUnits="userSpaceOnUse"
x1="46.834816"
y1="45.264122"
x2="45.380436"
y2="50.939667" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2402"
id="linearGradient7184"
gradientUnits="userSpaceOnUse"
x1="18.935766"
y1="23.667896"
x2="53.588622"
y2="26.649362" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2871"
id="linearGradient7186"
gradientUnits="userSpaceOnUse"
x1="46.834816"
y1="45.264122"
x2="45.380436"
y2="50.939667" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient7916"
id="linearGradient7922"
x1="16.874998"
y1="22.851799"
x2="27.900846"
y2="34.976799"
gradientUnits="userSpaceOnUse" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient2091"
id="radialGradient2097"
cx="23.070683"
cy="35.127438"
fx="23.070683"
fy="35.127438"
r="10.319340"
gradientTransform="matrix(0.914812,1.265023e-2,-8.21502e-3,0.213562,2.253914,27.18889)"
gradientUnits="userSpaceOnUse" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="0.15686275"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="1"
inkscape:cx="-123.56934"
inkscape:cy="0.031886897"
inkscape:current-layer="layer1"
showgrid="false"
inkscape:grid-bbox="true"
inkscape:document-units="px"
inkscape:window-width="1280"
inkscape:window-height="818"
inkscape:window-x="0"
inkscape:window-y="30"
showguides="true"
inkscape:guide-bbox="true"
inkscape:showpageshadow="false" />
<metadata
id="metadata6436">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title>Add</dc:title>
<dc:date>2006-01-04</dc:date>
<dc:creator>
<cc:Agent>
<dc:title>Andreas Nilsson</dc:title>
</cc:Agent>
</dc:creator>
<dc:source>http://tango-project.org</dc:source>
<dc:subject>
<rdf:Bag>
<rdf:li>add</rdf:li>
<rdf:li>plus</rdf:li>
</rdf:Bag>
</dc:subject>
<cc:license
rdf:resource="http://creativecommons.org/licenses/publicdomain/" />
</cc:Work>
<cc:License
rdf:about="http://creativecommons.org/licenses/publicdomain/">
<cc:permits
rdf:resource="http://creativecommons.org/ns#Reproduction" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#Distribution" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#DerivativeWorks" />
</cc:License>
</rdf:RDF>
</metadata>
<g
id="layer1"
inkscape:label="Layer 1"
inkscape:groupmode="layer">
<path
sodipodi:type="arc"
style="opacity:0.10824742;fill:url(#radialGradient2097);fill-opacity:1;stroke:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="path1361"
sodipodi:cx="22.958872"
sodipodi:cy="34.94062"
sodipodi:rx="10.31934"
sodipodi:ry="2.320194"
d="M 33.278212 34.94062 A 10.31934 2.320194 0 1 1 12.639532,34.94062 A 10.31934 2.320194 0 1 1 33.278212 34.94062 z"
transform="matrix(1.550487,0,0,1.978714,-12.4813,-32.49103)" />
<path
style="font-size:59.901077px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:125.00000%;writing-mode:lr-tb;text-anchor:start;fill:#75a1d0;fill-opacity:1.0000000;stroke:#3465a4;stroke-width:1.0000004px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000;font-family:Bitstream Vera Sans"
d="M 27.514356,37.542682 L 27.514356,28.515722 L 37.492820,28.475543 L 37.492820,21.480219 L 27.523285,21.480219 L 27.514356,11.520049 L 20.498082,11.531210 L 20.502546,21.462362 L 10.512920,21.536022 L 10.477206,28.504561 L 20.511475,28.475543 L 20.518171,37.515896 L 27.514356,37.542682 z "
id="text1314"
sodipodi:nodetypes="ccccccccccccc" />
<path
style="font-size:59.901077px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:125.00000%;writing-mode:lr-tb;text-anchor:start;opacity:0.40860215;fill:url(#linearGradient4975);fill-opacity:1.0000000;stroke:url(#linearGradient7922);stroke-width:1.0000006px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000;font-family:Bitstream Vera Sans"
d="M 26.498702,36.533920 L 26.498702,27.499738 L 36.501304,27.499738 L 36.494607,22.475309 L 26.507630,22.475309 L 26.507630,12.480335 L 21.512796,12.498193 L 21.521725,22.475309 L 11.495536,22.493166 L 11.468750,27.466256 L 21.533143,27.475185 L 21.519750,36.502670 L 26.498702,36.533920 z "
id="path7076"
sodipodi:nodetypes="ccccccccccccc" />
<path
style="fill:#ffffff;fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-width:1.0000000px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000;opacity:0.31182796"
d="M 11.000000,25.000000 C 11.000000,26.937500 36.984375,24.031250 36.984375,24.968750 L 36.984375,21.968750 L 27.000000,22.000000 L 27.000000,12.034772 L 21.000000,12.034772 L 21.000000,22.000000 L 11.000000,22.000000 L 11.000000,25.000000 z "
id="path7914"
sodipodi:nodetypes="ccccccccc" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 14 KiB

View File

@@ -0,0 +1,424 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="48px"
height="48px"
id="svg6431"
sodipodi:version="0.32"
inkscape:version="0.46"
sodipodi:docbase="/home/jimmac/src/cvs/tango-icon-theme/scalable/actions"
sodipodi:docname="list-remove.svg"
inkscape:output_extension="org.inkscape.output.svg.inkscape">
<defs
id="defs6433">
<inkscape:perspective
sodipodi:type="inkscape:persp3d"
inkscape:vp_x="0 : 24 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_z="48 : 24 : 1"
inkscape:persp3d-origin="24 : 16 : 1"
id="perspective69" />
<linearGradient
inkscape:collect="always"
id="linearGradient2091">
<stop
style="stop-color:#000000;stop-opacity:1;"
offset="0"
id="stop2093" />
<stop
style="stop-color:#000000;stop-opacity:0;"
offset="1"
id="stop2095" />
</linearGradient>
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient2091"
id="radialGradient2097"
cx="23.070683"
cy="35.127438"
fx="23.070683"
fy="35.127438"
r="10.319340"
gradientTransform="matrix(0.914812,1.265023e-2,-8.21502e-3,0.213562,2.253914,27.18889)"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient7916">
<stop
style="stop-color:#ffffff;stop-opacity:1;"
offset="0"
id="stop7918" />
<stop
style="stop-color:#ffffff;stop-opacity:0.34020618;"
offset="1.0000000"
id="stop7920" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient8662">
<stop
style="stop-color:#000000;stop-opacity:1;"
offset="0"
id="stop8664" />
<stop
style="stop-color:#000000;stop-opacity:0;"
offset="1"
id="stop8666" />
</linearGradient>
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient8662"
id="radialGradient1503"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.000000,0.000000,0.000000,0.536723,-1.018989e-13,16.87306)"
cx="24.837126"
cy="36.421127"
fx="24.837126"
fy="36.421127"
r="15.644737" />
<linearGradient
inkscape:collect="always"
id="linearGradient2847">
<stop
style="stop-color:#3465a4;stop-opacity:1;"
offset="0"
id="stop2849" />
<stop
style="stop-color:#3465a4;stop-opacity:0;"
offset="1"
id="stop2851" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2847"
id="linearGradient1488"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(-1.000000,0.000000,0.000000,-1.000000,-1.242480,40.08170)"
x1="37.128052"
y1="29.729605"
x2="37.065414"
y2="26.194071" />
<linearGradient
id="linearGradient2831">
<stop
style="stop-color:#3465a4;stop-opacity:1;"
offset="0"
id="stop2833" />
<stop
id="stop2855"
offset="0.33333334"
style="stop-color:#5b86be;stop-opacity:1;" />
<stop
style="stop-color:#83a8d8;stop-opacity:0;"
offset="1"
id="stop2835" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2831"
id="linearGradient1486"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(-48.30498,-6.043298)"
x1="13.478554"
y1="10.612206"
x2="15.419417"
y2="19.115122" />
<linearGradient
id="linearGradient2380">
<stop
style="stop-color:#b9cfe7;stop-opacity:1"
offset="0"
id="stop2382" />
<stop
style="stop-color:#729fcf;stop-opacity:1"
offset="1"
id="stop2384" />
</linearGradient>
<linearGradient
id="linearGradient2682">
<stop
style="stop-color:#3977c3;stop-opacity:1;"
offset="0"
id="stop2684" />
<stop
style="stop-color:#89aedc;stop-opacity:0;"
offset="1"
id="stop2686" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2682"
id="linearGradient2688"
x1="36.713837"
y1="31.455952"
x2="37.124462"
y2="24.842253"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(-48.77039,-5.765705)" />
<linearGradient
inkscape:collect="always"
id="linearGradient2690">
<stop
style="stop-color:#c4d7eb;stop-opacity:1;"
offset="0"
id="stop2692" />
<stop
style="stop-color:#c4d7eb;stop-opacity:0;"
offset="1"
id="stop2694" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2690"
id="linearGradient2696"
x1="32.647972"
y1="30.748846"
x2="37.124462"
y2="24.842253"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(-48.77039,-5.765705)" />
<linearGradient
inkscape:collect="always"
id="linearGradient2871">
<stop
style="stop-color:#3465a4;stop-opacity:1;"
offset="0"
id="stop2873" />
<stop
style="stop-color:#3465a4;stop-opacity:1"
offset="1"
id="stop2875" />
</linearGradient>
<linearGradient
id="linearGradient2402">
<stop
style="stop-color:#729fcf;stop-opacity:1;"
offset="0"
id="stop2404" />
<stop
style="stop-color:#528ac5;stop-opacity:1;"
offset="1"
id="stop2406" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2797"
id="linearGradient1493"
gradientUnits="userSpaceOnUse"
x1="5.9649176"
y1="26.048164"
x2="52.854097"
y2="26.048164" />
<linearGradient
inkscape:collect="always"
id="linearGradient2797">
<stop
style="stop-color:#ffffff;stop-opacity:1;"
offset="0"
id="stop2799" />
<stop
style="stop-color:#ffffff;stop-opacity:0;"
offset="1"
id="stop2801" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2797"
id="linearGradient1491"
gradientUnits="userSpaceOnUse"
x1="5.9649176"
y1="26.048164"
x2="52.854097"
y2="26.048164" />
<linearGradient
inkscape:collect="always"
id="linearGradient7179">
<stop
style="stop-color:#ffffff;stop-opacity:1;"
offset="0"
id="stop7181" />
<stop
style="stop-color:#ffffff;stop-opacity:0;"
offset="1"
id="stop7183" />
</linearGradient>
<linearGradient
id="linearGradient2316">
<stop
style="stop-color:#000000;stop-opacity:1;"
offset="0"
id="stop2318" />
<stop
style="stop-color:#ffffff;stop-opacity:0.65979379;"
offset="1"
id="stop2320" />
</linearGradient>
<linearGradient
id="linearGradient1322">
<stop
id="stop1324"
offset="0.0000000"
style="stop-color:#729fcf" />
<stop
id="stop1326"
offset="1.0000000"
style="stop-color:#5187d6;stop-opacity:1.0000000;" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient1322"
id="linearGradient4975"
x1="34.892849"
y1="36.422989"
x2="45.918697"
y2="48.547989"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(-18.01785,-13.57119)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient7179"
id="linearGradient7185"
x1="13.435029"
y1="13.604306"
x2="22.374878"
y2="23.554308"
gradientUnits="userSpaceOnUse" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient7179"
id="linearGradient7189"
gradientUnits="userSpaceOnUse"
x1="13.435029"
y1="13.604306"
x2="22.374878"
y2="23.554308"
gradientTransform="matrix(-1.000000,0.000000,0.000000,-1.000000,47.93934,50.02474)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2380"
id="linearGradient7180"
gradientUnits="userSpaceOnUse"
x1="62.513836"
y1="36.061237"
x2="15.984863"
y2="20.60858" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2871"
id="linearGradient7182"
gradientUnits="userSpaceOnUse"
x1="46.834816"
y1="45.264122"
x2="45.380436"
y2="50.939667" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2402"
id="linearGradient7184"
gradientUnits="userSpaceOnUse"
x1="18.935766"
y1="23.667896"
x2="53.588622"
y2="26.649362" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2871"
id="linearGradient7186"
gradientUnits="userSpaceOnUse"
x1="46.834816"
y1="45.264122"
x2="45.380436"
y2="50.939667" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient7916"
id="linearGradient7922"
x1="16.874998"
y1="22.851799"
x2="27.900846"
y2="34.976799"
gradientUnits="userSpaceOnUse" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="0.10980392"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="1"
inkscape:cx="-123.27226"
inkscape:cy="26.474252"
inkscape:current-layer="layer1"
showgrid="false"
inkscape:grid-bbox="true"
inkscape:document-units="px"
inkscape:window-width="1280"
inkscape:window-height="818"
inkscape:window-x="0"
inkscape:window-y="30"
inkscape:showpageshadow="false" />
<metadata
id="metadata6436">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title>Remove</dc:title>
<dc:date>2006-01-04</dc:date>
<dc:creator>
<cc:Agent>
<dc:title>Andreas Nilsson</dc:title>
</cc:Agent>
</dc:creator>
<dc:source>http://tango-project.org</dc:source>
<dc:subject>
<rdf:Bag>
<rdf:li>remove</rdf:li>
<rdf:li>delete</rdf:li>
</rdf:Bag>
</dc:subject>
<cc:license
rdf:resource="http://creativecommons.org/licenses/publicdomain/" />
</cc:Work>
<cc:License
rdf:about="http://creativecommons.org/licenses/publicdomain/">
<cc:permits
rdf:resource="http://creativecommons.org/ns#Reproduction" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#Distribution" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#DerivativeWorks" />
</cc:License>
</rdf:RDF>
</metadata>
<g
id="layer1"
inkscape:label="Layer 1"
inkscape:groupmode="layer">
<path
style="font-size:59.901077px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:125.00000%;writing-mode:lr-tb;text-anchor:start;fill:#75a1d0;fill-opacity:1.0000000;stroke:#3465a4;stroke-width:1.0000004px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000;font-family:Bitstream Vera Sans"
d="M 27.514356,28.359472 L 39.633445,28.475543 L 39.633445,21.480219 L 27.523285,21.480219 L 20.502546,21.462362 L 8.5441705,21.489147 L 8.5084565,28.457686 L 20.511475,28.475543 L 27.514356,28.359472 z "
id="text1314"
sodipodi:nodetypes="ccccccccc" />
<path
style="font-size:59.901077px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:125.00000%;writing-mode:lr-tb;text-anchor:start;opacity:0.40860215;fill:url(#linearGradient4975);fill-opacity:1.0000000;stroke:url(#linearGradient7922);stroke-width:1.0000006px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000;font-family:Bitstream Vera Sans"
d="M 38.579429,27.484113 L 38.588357,22.475309 L 9.5267863,22.493166 L 9.5000003,27.466256 L 38.579429,27.484113 z "
id="path7076"
sodipodi:nodetypes="ccccc" />
<path
style="fill:#ffffff;fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-width:1.0000000px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000;opacity:0.31182796"
d="M 9.0000000,25.000000 C 9.0000000,26.937500 39.125000,24.062500 39.125000,25.000000 L 39.125000,22.000000 L 9.0000000,22.000000 L 9.0000000,25.000000 z "
id="path7914"
sodipodi:nodetypes="ccccc" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 14 KiB

View File

@@ -0,0 +1,355 @@
/***************************************************************************
* Copyright (c) 2008 Werner Mayer <wmayer[at]users.sourceforge.net> *
* *
* This file is part of the FreeCAD CAx development system. *
* *
* This library is free software; you can redistribute it and/or *
* modify it under the terms of the GNU Library General Public *
* License as published by the Free Software Foundation; either *
* version 2 of the License, or (at your option) any later version. *
* *
* This library is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU Library General Public License for more details. *
* *
* You should have received a copy of the GNU Library General Public *
* License along with this library; see the file COPYING.LIB. If not, *
* write to the Free Software Foundation, Inc., 59 Temple Place, *
* Suite 330, Boston, MA 02111-1307, USA *
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
# include <qobject.h>
#endif
#include "Workbench.h"
#include <Gui/ToolBarManager.h>
#include <Gui/MenuManager.h>
#include <Gui/ToolBarManager.h>
#include <Gui/DockWindowManager.h>
#include <Gui/Application.h>
#include <Gui/Action.h>
#include <Gui/Command.h>
#include <Gui/Selection.h>
#include <Gui/ToolBoxManager.h>
#include <App/Document.h>
#include <App/DocumentObject.h>
using namespace WebGui;
#if 0 // needed for Qt's lupdate utility
qApp->translate("Workbench", "Navigation");
#endif
/// @namespace WebGui @class Workbench
TYPESYSTEM_SOURCE(WebGui::Workbench, Gui::StdWorkbench)
Workbench::Workbench()
{
}
Workbench::~Workbench()
{
}
void Workbench::setupContextMenu(const char* recipient,Gui::MenuItem* item) const
{
//if (strcmp(recipient,"View") == 0)
//{
// Gui::MenuItem* StdViews = new Gui::MenuItem();
// StdViews->setCommand( "Standard views" );
// *StdViews << "Std_ViewAxo" << "Separator" << "Std_ViewFront" << "Std_ViewTop" << "Std_ViewRight"
// << "Std_ViewRear" << "Std_ViewBottom" << "Std_ViewLeft";
// *item << "Std_ViewFitAll" << "Std_ViewFitSelection" << StdViews
// << "Separator" << "Std_ViewDockUndockFullscreen";
// if ( Gui::Selection().countObjectsOfType(App::DocumentObject::getClassTypeId()) > 0 )
// *item << "Separator" << "Std_SetAppearance" << "Std_ToggleVisibility" << "Std_TreeSelection"
// << "Std_RandomColor" << "Separator" << "Std_Delete";
//}
//else if (strcmp(recipient,"Tree") == 0)
//{
// if ( Gui::Selection().countObjectsOfType(App::DocumentObject::getClassTypeId()) > 0 )
// *item << "Std_SetAppearance" << "Std_ToggleVisibility"
// << "Std_RandomColor" << "Separator" << "Std_Delete";
//}
}
Gui::MenuItem* Workbench::setupMenuBar() const
{
return Gui::StdWorkbench::setupMenuBar();
//Gui::CommandManager &mgr = Gui::Application::Instance->commandManager();
//// Setup the default menu bar
//Gui::MenuItem* menuBar = new Gui::MenuItem;
// // File
// Gui::MenuItem* file = new Gui::MenuItem( menuBar );
// file->setCommand("&File");
// *file << "Std_New" << "Std_Open" << "Separator" << "Std_CloseActiveWindow"
// << "Std_CloseAllWindows" << "Separator" << "Std_Save" << "Std_SaveAs"
// << "Separator" << "Std_Import" << "Std_Export" << "Std_ProjectInfo"
// //<< "Separator" << "Std_Print" << "Std_PrintPdf"
// << "Separator" << "Std_RecentFiles" << "Separator" << "Std_Quit";
//
// // Edit
// Gui::MenuItem* edit = new Gui::MenuItem( menuBar );
// edit->setCommand("&Edit");
// *edit << "Std_Undo" << "Std_Redo" << "Separator" << "Std_Cut" << "Std_Copy"
// << "Std_Paste" << "Std_DuplicateSelection" << "Separator"
// << "Std_Refresh" << "Std_SelectAll" << "Std_Delete" << "Std_Placement"
// << "Separator" << "Std_DlgPreferences";
//
// // Standard views
// Gui::MenuItem* stdviews = new Gui::MenuItem;
// stdviews->setCommand("Standard views");
// *stdviews << "Std_ViewFitAll" << "Std_ViewFitSelection" << "Std_ViewAxo"
// << "Separator" << "Std_ViewFront" << "Std_ViewRight"
// << "Std_ViewTop" << "Separator" << "Std_ViewRear"
// << "Std_ViewLeft" << "Std_ViewBottom";
//
// // stereo
// Gui::MenuItem* view3d = new Gui::MenuItem;
// view3d->setCommand("&Stereo");
// *view3d << "Std_ViewIvStereoRedGreen" << "Std_ViewIvStereoQuadBuff"
// << "Std_ViewIvStereoInterleavedRows" << "Std_ViewIvStereoInterleavedColumns"
// << "Std_ViewIvStereoOff" << "Separator" << "Std_ViewIvIssueCamPos";
//
// // zoom
// Gui::MenuItem* zoom = new Gui::MenuItem;
// zoom->setCommand("&Zoom");
// *zoom << "Std_ViewZoomIn" << "Std_ViewZoomOut" << "Separator" << "Std_ViewBoxZoom";
//
// // Visibility
// Gui::MenuItem* visu = new Gui::MenuItem;
// visu->setCommand("Visibility");
// *visu << "Std_ToggleVisibility" << "Std_ShowSelection" << "Std_HideSelection"
// << "Separator" << "Std_ToggleObjects" << "Std_ShowObjects" << "Std_HideObjects";
//
// // View
// Gui::MenuItem* view = new Gui::MenuItem( menuBar );
// view->setCommand("&View");
// *view << "Std_ViewCreate" << "Std_OrthographicCamera" << "Std_PerspectiveCamera" << "Separator"
// << stdviews << "Std_FreezeViews" << "Separator" << view3d << zoom
// << "Std_ViewDockUndockFullscreen" << "Std_ToggleClipPlane" << "Separator" << visu
// << "Std_SetAppearance" << "Std_ToggleVisibility" << "Std_RandomColor" << "Separator"
// //<< "Std_MeasureDistance" << "Separator"
// << "Std_Workbench" << "Std_ToolBarMenu" << "Std_DockViewMenu" << "Separator"
// << "Std_ViewStatusBar" << "Std_UserInterface";
//
// // Tools
// Gui::MenuItem* tool = new Gui::MenuItem( menuBar );
// tool->setCommand("&Tools");
// *tool << "Std_CommandLine" << "Std_DlgParameter" << "Separator" << "Std_DlgMacroRecord"
// << "Std_MacroStopRecord" << "Std_DlgMacroExecute" << "Std_DlgMacroExecuteDirect"
// << "Separator" << "Std_ViewScreenShot" << "Separator" << "Std_DlgCustomize";
//
// // Mesh ****************************************************************************************************
// Gui::MenuItem* mesh = new Gui::MenuItem( menuBar );
//
// // submenu analyze
// Gui::MenuItem* analyze = new Gui::MenuItem();
// analyze->setCommand("Analyze");
// *analyze << "Mesh_Evaluation"
// << "Mesh_EvaluateFacet"
// << "Mesh_CurvatureInfo"
// << "Separator"
// << "Mesh_EvaluateSolid"
// << "Mesh_BoundingBox";
//
// // submenu boolean
// Gui::MenuItem* boolean = new Gui::MenuItem();
// boolean->setCommand("Boolean");
// *boolean << "Mesh_Union"
// << "Mesh_Intersection"
// << "Mesh_Difference";
//
// mesh->setCommand("&Meshes");
// *mesh << "Mesh_Import"
// << "Mesh_Export"
// << "Mesh_FromGeometry"
// << "Separator"
// << analyze
// << "Mesh_HarmonizeNormals"
// << "Mesh_FlipNormals"
// << "Separator"
// << "Mesh_FillupHoles"
// << "Mesh_FillInteractiveHole"
// << "Mesh_RemoveComponents"
// << "Mesh_RemoveCompByHand"
// << "Separator"
// << "Mesh_BuildRegularSolid"
// << boolean << "Separator"
// << "Mesh_PolyCut"
// << "Mesh_PolySplit"
// << "Mesh_PolySegm"
// << "Mesh_ToolMesh"
// << "Mesh_VertexCurvature";
//
// // Part ****************************************************************************************************
//
// Gui::MenuItem* part = new Gui::MenuItem(menuBar);
// part->setCommand("&Part");
//
// // submenu boolean
// Gui::MenuItem* para = new Gui::MenuItem();
// para->setCommand("Parametric");
// *para << "Part_Box"
// << "Part_Cylinder"
// << "Part_Sphere"
// << "Part_Cone"
// << "Part_Torus"
// << "Part_Primitives";
// *part << para
// << "Part_Boolean"
// << "Part_Extrude"
// << "Part_Revolve"
// << "Part_Fillet"
// << "Separator"
// << "Part_ShapeInfo";
//
//# ifdef WEB_SHOW_SKETCHER
// if (mgr.getCommandByName("Sketcher_NewSketch")) {
// Gui::MenuItem* sketch = new Gui::MenuItem(menuBar);
// sketch->setCommand("Ske&tch");
// *sketch
// << "Sketcher_NewSketch"
// << "Separator"
// << "PartDesign_Pad"
// << "PartDesign_Fillet"
// ;
// }
//# endif
//
// // Drawing ****************************************************************************************************
//
// Gui::MenuItem* drawing = new Gui::MenuItem(menuBar);
//
// drawing->setCommand("&Drawing");
// *drawing
// << "Drawing_Open"
// << "Separator"
// << "Drawing_NewA3Landscape"
// << "Drawing_NewView"
// << "Drawing_ExportPage"
// ;
//
// // Raytracing ****************************************************************************************************
//
// Gui::MenuItem* raytracing = new Gui::MenuItem(menuBar);
//
// raytracing->setCommand("&Raytracing");
// *raytracing
// << "Raytracing_WriteView"
// << "Raytracing_WriteCamera"
// << "Raytracing_WritePart";
// ;
//
// // Drafting ****************************************************************************************************
//# ifdef WEB_USE_DRAFTING
// if (mgr.getCommandByName("Draft_Line")) {
// Gui::MenuItem* Drafting = new Gui::MenuItem(menuBar);
//
// Drafting->setCommand("&Drafting");
// *Drafting
// << "Draft_SelectPlane"
// << "Draft_Line"
// << "Draft_Polyline"
// << "Draft_Circle"
// << "Draft_Arc"
// << "Draft_Rectangle"
// << "Draft_Text"
// << "Draft_Dimension"
// << "Separator"
// << "Draft_Move"
// << "Draft_Rotate"
// << "Draft_Offset"
// << "Draft_Trimex"
// << "Draft_Upgrade"
// << "Draft_Downgrade"
// << "Draft_Scale"
// << "Separator"
// << "Draft_ApplyStyle"
// ;
// }
//# endif
//
// // xxx ****************************************************************************************************
//
//
// // Windows
// Gui::MenuItem* wnd = new Gui::MenuItem( menuBar );
// wnd->setCommand("&Windows");
// *wnd << "Std_ActivateNextWindow" << "Std_ActivatePrevWindow" << "Separator"
// << "Std_TileWindows" << "Std_CascadeWindows"
// << "Std_ArrangeIcons" << "Separator" << "Std_WindowsMenu" << "Std_Windows";
//
// // help ****************************************************************************************************
// // Separator
// Gui::MenuItem* sep = new Gui::MenuItem( menuBar );
// sep->setCommand( "Separator" );
//
// // Help
// Gui::MenuItem* helpWebsites = new Gui::MenuItem;
// helpWebsites->setCommand("&Online-help");
// *helpWebsites << "Std_OnlineHelpWebsite"
// << "Std_FreeCADWebsite"
// << "Std_PythonWebsite";
//
// Gui::MenuItem* help = new Gui::MenuItem( menuBar );
// help->setCommand("&Help");
// *help << "Std_OnlineHelp"
// << "Std_OnlineHelpPython"
// << "Std_PythonHelp"
// << helpWebsites
// << "Separator"
// << "Test_Test"
// << "Separator"
// << "Std_About"
// << "Std_AboutQt"
// << "Separator"
// << "Std_WhatsThis" ;
//
// return menuBar;
}
Gui::ToolBarItem* Workbench::setupToolBars() const
{
Gui::ToolBarItem* root = StdWorkbench::setupToolBars();
// web navigation toolbar
Gui::ToolBarItem* navigation = new Gui::ToolBarItem(root);
navigation->setCommand("Navigation");
*navigation << "Web_OpenWebsite"
<< "Separator"
<< "Web_BrowserBack"
<< "Web_BrowserNext"
<< "Web_BrowserRefresh"
<< "Web_BrowserStop"
<< "Separator"
<< "Web_BrowserZoomIn"
<< "Web_BrowserZoomOut";
return root;
}
Gui::ToolBarItem* Workbench::setupCommandBars() const
{
Gui::ToolBarItem* root = new Gui::ToolBarItem;
return root;
}
Gui::DockWindowItems* Workbench::setupDockWindows() const
{
Gui::DockWindowItems* root = Gui::StdWorkbench::setupDockWindows();
//root->setVisibility(false); // hide all dock windows by default
//root->setVisibility("Std_CombiView",true); // except of the combi view
return root;
}

View File

@@ -0,0 +1,59 @@
/***************************************************************************
* Copyright (c) 2008 Werner Mayer <wmayer[at]users.sourceforge.net> *
* *
* This file is part of the FreeCAD CAx development system. *
* *
* This library is free software; you can redistribute it and/or *
* modify it under the terms of the GNU Library General Public *
* License as published by the Free Software Foundation; either *
* version 2 of the License, or (at your option) any later version. *
* *
* This library is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU Library General Public License for more details. *
* *
* You should have received a copy of the GNU Library General Public *
* License along with this library; see the file COPYING.LIB. If not, *
* write to the Free Software Foundation, Inc., 59 Temple Place, *
* Suite 330, Boston, MA 02111-1307, USA *
* *
***************************************************************************/
#ifndef WEBGUI_WORKBENCH_H
#define WEBGUI_WORKBENCH_H
#include <Gui/Workbench.h>
namespace WebGui {
/**
* @author Werner Mayer
*/
class WebGuiExport Workbench : public Gui::StdWorkbench
{
TYPESYSTEM_HEADER();
public:
Workbench();
virtual ~Workbench();
/** Defines the standard context menu. */
virtual void setupContextMenu(const char* recipient,Gui::MenuItem*) const;
protected:
/** Defines the standard menus. */
virtual Gui::MenuItem* setupMenuBar() const;
/** Defines the standard toolbars. */
virtual Gui::ToolBarItem* setupToolBars() const;
/** Defines the standard command bars. */
virtual Gui::ToolBarItem* setupCommandBars() const;
/** Returns a DockWindowItems structure of dock windows this workbench. */
virtual Gui::DockWindowItems* setupDockWindows() const;
}; // namespace WebGui
}
#endif // WEB_WORKBENCH_H

47
src/Mod/Web/Init.py Normal file
View File

@@ -0,0 +1,47 @@
# FreeCAD init script of the Web module
# (c) 2001 Juergen Riegel
#***************************************************************************
#* (c) Juergen Riegel (juergen.riegel@web.de) 2002 *
#* *
#* This file is part of the FreeCAD CAx development system. *
#* *
#* This program is free software; you can redistribute it and/or modify *
#* it under the terms of the GNU Lesser General Public License (LGPL) *
#* as published by the Free Software Foundation; either version 2 of *
#* the License, or (at your option) any later version. *
#* for detail see the LICENCE text file. *
#* *
#* FreeCAD is distributed in the hope that it will be useful, *
#* but WITHOUT ANY WARRANTY; without even the implied warranty of *
#* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
#* GNU Lesser General Public License for more details. *
#* *
#* You should have received a copy of the GNU Library General Public *
#* License along with FreeCAD; if not, write to the Free Software *
#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 *
#* USA *
#* *
#* Juergen Riegel 2002 *
#***************************************************************************/
class WebDocument:
"Web document"
def Info(self):
return "Web document"
# Get the Parameter Group of this module
ParGrp = App.ParamGet("System parameter:Modules").GetGroup("Web")
# Set the needed information
ParGrp.SetString("HelpIndex", "Web/Help/index.html")
ParGrp.SetString("DocTemplateName", "Web")
ParGrp.SetString("DocTemplateScript","TemplWeb.py")
ParGrp.SetString("WorkBenchName", "Web Design")
ParGrp.SetString("WorkBenchModule", "WebWorkbench.py")
#FreeCAD.EndingAdd("CAD formats (*.igs *.iges *.step *.stp *.brep *.brp)","Web")

76
src/Mod/Web/InitGui.py Normal file
View File

@@ -0,0 +1,76 @@
# Web gui init module
# (c) 2003 Juergen Riegel
#
# Gathering all the information to start FreeCAD
# This is the second one of three init scripts, the third one
# runs when the gui is up
#***************************************************************************
#* (c) Juergen Riegel (juergen.riegel@web.de) 2002 *
#* *
#* This file is part of the FreeCAD CAx development system. *
#* *
#* This program is free software; you can redistribute it and/or modify *
#* it under the terms of the GNU General Public License (GPL) *
#* as published by the Free Software Foundation; either version 2 of *
#* the License, or (at your option) any later version. *
#* for detail see the LICENCE text file. *
#* *
#* FreeCAD is distributed in the hope that it will be useful, *
#* but WITHOUT ANY WARRANTY; without even the implied warranty of *
#* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
#* GNU Library General Public License for more details. *
#* *
#* You should have received a copy of the GNU Library General Public *
#* License along with FreeCAD; if not, write to the Free Software *
#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 *
#* USA *
#* *
#* Juergen Riegel 2002 *
#***************************************************************************/
class WebWorkbench ( Workbench ):
"Web workbench object"
Icon = """
/* XPM */
static char * web_xpm[] = {
"16 16 9 1",
" c None",
". c #102D45",
"+ c #2B4A60",
"@ c #194E74",
"# c #306996",
"$ c #426882",
"% c #4D83A8",
"& c #69A4CA",
"* c #A4DCF8",
" $$$+ ",
" %%&&$..+ ",
" %****&%@.+ ",
" %&****&%@@.+ ",
" $&******%%@.. ",
" $&*****&%##@.+ ",
" $&*****&##@@.+ ",
" +&&&&&&%##@..+ ",
" .@##%%###%%$.+ ",
" .@@@###@%%%+.+ ",
" +.@&%####%$+. ",
" +.%&&%##@..$ ",
" ++$%%#@..$ ",
" ++++..++ ",
" .++++. ",
" "};
"""
MenuText = "Web"
ToolTip = "Web workbench"
def Initialize(self):
# load the module
import WebGui
def GetClassName(self):
return "WebGui::Workbench"
Gui.addWorkbench(WebWorkbench())

11
src/Mod/Web/Makefile.am Normal file
View File

@@ -0,0 +1,11 @@
SUBDIRS=Gui
# Change data dir from default ($(prefix)/share) to $(prefix)
datadir = $(prefix)/Mod/Web
data_DATA = Init.py InitGui.py
EXTRA_DIST = \
$(data_DATA) \
CMakeLists.txt \
web.dox

3
src/Mod/Web/web.dox Normal file
View File

@@ -0,0 +1,3 @@
/** \defgroup WEB Web
* \ingroup WORKBENCHES */