![]() |
API Documentation
|
Creates a button for launching a 3rd party application. While the application is running the button is pressed. When application terminates button is unpressed automatically. More...
#include <ApplicationLauncherButton.h>
Protected Attributes | |
| Buffer< QPointer< Button > > | m_buttons |
| std::function< void()> | m_callback_function |
| bool | m_is_enabled = true |
| std::function< void()> | m_launch_function |
| BasicThread * | m_launch_thread = nullptr |
| DynamicPointer< LocalApplicationLauncher > | m_launcher |
Creates a button for launching a 3rd party application. While the application is running the button is pressed. When application terminates button is unpressed automatically.
| ApplicationLauncherButtonManager | ( | const DynamicPointer< LocalApplicationLauncher > & | launcher | ) |
| ApplicationLauncherButtonManager | ( | const File & | application_file, |
| const String & | args = String() ) |
| ApplicationLauncherButtonManager | ( | Button * | button | ) |
| ApplicationLauncherButtonManager | ( | Button * | button, |
| const File & | application_file, | ||
| const String & | args = String() ) |
| ApplicationLauncherButtonManager | ( | Button * | button, |
| const DynamicPointer< LocalApplicationLauncher > & | launcher ) |
| Button * createButton | ( | ) |
| void killProcess | ( | ) |
| void launch | ( | ) |
| const DynamicPointer< LocalApplicationLauncher > & launcher | ( | ) | const |
| void setAppFinishedCallback | ( | std::function< void()> | callback | ) |
| void setAppLaunchCallback | ( | std::function< void()> | callback | ) |
| void setApplication | ( | DynamicPointer< LocalApplicationLauncher > | launcher | ) |
| void setArgs | ( | const String & | args | ) |
| void setEnabled | ( | bool | enabled | ) |
| void setEnvironment | ( | const String & | env | ) |
| void setIconToApp | ( | Button * | button | ) |
| void setMakeChildProcess | ( | bool | is_child_process | ) |
| void setNameToApp | ( | Button * | button | ) |
| void setupButton | ( | Button * | button | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |