|
HAL
v4.5.0-83-g30c8f0afc
The Hardware Analyzer - a comprehensive reverse engineering and manipulation framework for gate-level netlists.
|
#include </home/runner/work/hal/hal/plugins/gui/include/gui/plugin_gui.h>


Public Member Functions | |
| PluginGui () | |
| std::string | get_name () const override |
| std::string | get_version () const override |
| std::string | get_description () const override |
| void | initialize_logging () override |
| bool | exec (ProgramArguments &args) override |
| void | set_layout_locker (bool enable) override |
Public Member Functions inherited from hal::UIPluginInterface | |
| UIPluginInterface ()=default | |
| virtual | ~UIPluginInterface ()=default |
Public Member Functions inherited from hal::BasePluginInterface | |
| BasePluginInterface ()=default | |
| virtual | ~BasePluginInterface () |
| virtual void | initialize () |
| virtual std::set< std::string > | get_dependencies () const |
| template<typename... Args> | |
| void | log (const Args &... args) const |
| virtual void | on_load () |
| virtual void | on_unload () |
| virtual std::vector< AbstractExtensionInterface * > | get_extensions () const |
| template<typename T > | |
| T * | get_first_extension () const |
| void | delete_extension (AbstractExtensionInterface *aeif) |
Additional Inherited Members | |
Protected Attributes inherited from hal::BasePluginInterface | |
| std::vector< AbstractExtensionInterface * > | m_extensions |
PluginGui is a huge plugin that provides a graphical user interface to load and work with netlists. If compiled it can be started using the '-g'/'–gui' flag.
Definition at line 63 of file plugin_gui.h.
|
inline |
Definition at line 68 of file plugin_gui.h.
References hal::BasePluginInterface::m_extensions.
|
overridevirtual |
Executes the gui plugin.
| args | - The given program arguments. |
true on success, false otherwise. Implements hal::UIPluginInterface.
Definition at line 167 of file plugin_gui.cpp.
References Qt::AA_DontUseNativeDialogs, Qt::AA_UseHighDpiPixmaps, QCoreApplication::aboutToQuit(), QFontDatabase::addApplicationFont(), QFileDevice::close(), QObject::connect(), hal::style::debugUpdate(), QApplication::exec(), QString::fromStdString(), hal::ProgramArguments::get_original_arguments(), hal::utils::get_user_config_directory(), hal::gFileStatusManager, hal::gGraphContextManager, hal::gGuiApi, hal::gGuiState, hal::gNetlistRelay, hal::gPluginRelay, hal::gSelectionRelay, QSettings::IniFormat, hal::mGSettings, hal::myMessageOutput(), QFile::open(), QIODevice::readAll(), QIODevice::ReadOnly, QResource::registerResource(), QCoreApplication::setApplicationName(), QCoreApplication::setAttribute(), QCoreApplication::setOrganizationDomain(), QCoreApplication::setOrganizationName(), QApplication::setStyleSheet(), hal::SettingsItemDropdown::setValueNames(), QWidget::show(), hal::MainWindow::sSettingStyle, QVariant::toInt(), and hal::SettingsItemDropdown::value().
|
overridevirtual |
Short description of plugin.
Reimplemented from hal::BasePluginInterface.
Definition at line 282 of file plugin_gui.cpp.
|
overridevirtual |
Returns the plugin name: 'hal_gui'
Implements hal::BasePluginInterface.
Definition at line 272 of file plugin_gui.cpp.
|
overridevirtual |
Returns the current version of the plugin.
Implements hal::BasePluginInterface.
Definition at line 277 of file plugin_gui.cpp.
|
overridevirtual |
Adds all gui related channels to the LogManager.
Reimplemented from hal::BasePluginInterface.
Definition at line 287 of file plugin_gui.cpp.
References hal::LogManager::add_channel(), hal::LogManager::create_file_sink(), hal::LogManager::create_gui_sink(), hal::LogManager::create_stdout_sink(), and hal::LogManager::get_instance().
|
overridevirtual |
Call to block layouter.
Can be enabled multiple times, but each enable must be match by disable to remove the lock.
| [in] | enable | Enable lock on true, disable on false |
Implements hal::UIPluginInterface.
Definition at line 303 of file plugin_gui.cpp.
References hal::enable.