33 I_ASSIGN(m_applicationPathCompPtr,
"ApplicationPath",
"Path to the external executable used for opening the document file",
true,
"ApplicationPath");
34 I_ASSIGN(m_startProcessCommandNameAttrPtr,
"CommandName",
"Name/Text of the open document command shown in File menu",
true,
"Open In...");
35 I_ASSIGN_MULTI_0(m_processArgumentsAttrPtr,
"ProcessArguments",
"List of arguments for the external process",
true);
52 void OnStartProcessCommand();
59 I_ATTR(QString, m_startProcessCommandNameAttrPtr);
60 I_MULTIATTR(QString, m_processArgumentsAttrPtr);
Interface for a provider of the heriarchical commands.
Common interface for any file system item name (e.g directory, file or URL path)
Template wrapper adding comprehensive logging functionality to components.
Implementation of hierarchical command based on QAction from Qt.
virtual QStringList GetProcessArguments() const
ilog::CLoggerComponentBase BaseClass
iqtgui::CHierarchicalCommand m_startProcessCommand
iqtgui::CHierarchicalCommand m_rootCommands
@ GI_START_PROCESS_COMMAND
CProcessStartCommandComp()
virtual void OnComponentCreated() override
Called when component is created.
virtual void CreateMenu()
virtual const ibase::IHierarchicalCommand * GetCommands() const override
Get list of menu commands.
virtual bool StartProcess(const QStringList &arguments)
Common interface to define the hierarchical graph structures.
Standard GUI specific interfaces and components based on Qt.