Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpenFlipper
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
OpenFlipper-Free
OpenFlipper
Commits
a4b815b3
Commit
a4b815b3
authored
Feb 06, 2019
by
Jan Möbius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Exported most of the core functions to python
parent
c2b81a8b
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
123 additions
and
237 deletions
+123
-237
Core/Core.cc
Core/Core.cc
+1
-0
Core/Core.hh
Core/Core.hh
+6
-0
PythonInterpreter/PythonInterpreter.cc
PythonInterpreter/PythonInterpreter.cc
+116
-237
No files found.
Core/Core.cc
View file @
a4b815b3
...
...
@@ -1549,6 +1549,7 @@ QList<int> Core::objectList (QString _selection, QStringList _types)
foreach
(
QString
s
,
_types
)
if
(
!
s
.
isEmpty
())
ids
=
typeId
(
s
);
if
(
_selection
==
"source"
)
selection
=
PluginFunctions
::
SOURCE_OBJECTS
;
else
if
(
_selection
==
"target"
)
...
...
Core/Core.hh
View file @
a4b815b3
...
...
@@ -1058,6 +1058,12 @@ private slots:
*/
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
);
private
:
...
...
PythonInterpreter/PythonInterpreter.cc
View file @
a4b815b3
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment