Coupure prévue mercredi 4 Août pour maintenance du serveur. Nous faisons au mieux pour que celle-ci soit la plus brève possible.

Commit 11eb2e3d authored by Pierre Kraemer's avatar Pierre Kraemer
Browse files

PythonSCHNApps is coming..

parent 170fedde
......@@ -26,9 +26,10 @@ namespace CGoGN
namespace SCHNApps
{
Window::Window() :
Window::Window(const QString& appPath, PythonQtObjectPtr& pythonContext) :
QMainWindow(),
m_appPath("/home/kraemer/Dev/CGoGN/SCHNApps"),
m_appPath(appPath),
m_pythonContext(pythonContext),
m_firstView(NULL),
m_currentView(NULL)
{
......@@ -80,11 +81,8 @@ Window::Window() :
// program in its initialization phase
m_initialization = false;
}
Window::Window(const Window& w)
{
std::cout << "hiohoihoih" << std::endl;
m_pythonContext.addObject("dock", m_dock);
}
Window::~Window()
......@@ -466,12 +464,6 @@ Plugin* Window::loadPlugin(const QString& pluginFilePath)
}
}
void Window::loadPlugin_py(std::string path)
{
QString p(QString::fromStdString(path));
loadPlugin(p);
}
void Window::unloadPlugin(const QString& pluginName)
{
if (h_plugins.contains(pluginName))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment