Commit a4b815b3 authored by Jan Möbius's avatar Jan Möbius

Exported most of the core functions to python

parent c2b81a8b
...@@ -1549,6 +1549,7 @@ QList<int> Core::objectList (QString _selection, QStringList _types) ...@@ -1549,6 +1549,7 @@ QList<int> Core::objectList (QString _selection, QStringList _types)
foreach (QString s, _types) foreach (QString s, _types)
if (!s.isEmpty ()) if (!s.isEmpty ())
ids = typeId (s); ids = typeId (s);
if (_selection == "source") if (_selection == "source")
selection = PluginFunctions::SOURCE_OBJECTS; selection = PluginFunctions::SOURCE_OBJECTS;
else if (_selection == "target") else if (_selection == "target")
......
...@@ -1058,6 +1058,12 @@ private slots: ...@@ -1058,6 +1058,12 @@ private slots:
*/ */
QWidget *getToolbox(QString _pluginName, QString _toolboxName); QWidget *getToolbox(QString _pluginName, QString _toolboxName);
/** \brief expand or collapse a toolbox
*
* @param _pluginName To which plugin does the toolbox belong
* @param _toolboxName Name of the toolbox
* @param activate Expand or collapse?
*/
void activateToolbox(QString _pluginName, QString _toolboxName, bool activate); void activateToolbox(QString _pluginName, QString _toolboxName, bool activate);
private : private :
......
This diff is collapsed.
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