ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
PythonActionLauncher.h
Go to the documentation of this file.
1
// ----------------------------------------------------------------------------
2
// - CloudViewer: www.cloudViewer.org -
3
// ----------------------------------------------------------------------------
4
// Copyright (c) 2018-2024 www.cloudViewer.org
5
// SPDX-License-Identifier: MIT
6
// ----------------------------------------------------------------------------
7
8
#pragma once
9
10
#include <QListWidget>
11
#include <QWidget>
12
13
class
Ui_ActionLauncher;
14
class
PythonPluginManager
;
15
class
PythonInterpreter
;
16
class
PluginListModel
;
17
18
class
PythonActionLauncher
:
public
QWidget
19
{
20
Q_OBJECT
21
22
friend
PluginListModel
;
23
24
public
:
25
explicit
PythonActionLauncher
(
const
PythonPluginManager
*pluginManager,
26
PythonInterpreter
*interpreter,
27
QWidget *parent =
nullptr
);
28
29
protected
:
30
void
showEvent
(QShowEvent *
event
)
override
;
31
void
populateToolBox
();
32
void
clearToolBox
();
33
void
disable
();
34
void
enable
();
35
36
private
:
// Members
37
Ui_ActionLauncher *m_ui;
38
const
PythonPluginManager
*m_pluginManager;
39
PythonInterpreter
*m_interpreter;
40
};
event
MouseEvent event
Definition:
BitmapWindowSystem.cpp:61
PluginListModel
Definition:
PythonActionLauncher.cpp:23
PythonActionLauncher
Definition:
PythonActionLauncher.h:19
PythonActionLauncher::showEvent
void showEvent(QShowEvent *event) override
Definition:
PythonActionLauncher.cpp:82
PythonActionLauncher::enable
void enable()
Definition:
PythonActionLauncher.cpp:93
PythonActionLauncher::clearToolBox
void clearToolBox()
Definition:
PythonActionLauncher.cpp:98
PythonActionLauncher::populateToolBox
void populateToolBox()
Definition:
PythonActionLauncher.cpp:109
PythonActionLauncher::PythonActionLauncher
PythonActionLauncher(const PythonPluginManager *pluginManager, PythonInterpreter *interpreter, QWidget *parent=nullptr)
Definition:
PythonActionLauncher.cpp:64
PythonActionLauncher::disable
void disable()
Definition:
PythonActionLauncher.cpp:89
PythonInterpreter
Definition:
PythonInterpreter.h:33
PythonPluginManager
Definition:
PythonPluginManager.h:17
plugins
core
Standard
qPythonRuntime
src
PythonActionLauncher.h
Generated on Wed Jan 28 2026 09:01:08 for ACloudViewer by
1.9.1