4 #include "gui/components/registercomponent.h"
8 #include "ui_registercomponent.h"
15 using namespace swift::core::context;
20 CRegisterComponent::CRegisterComponent(QWidget *parent) : QFrame(parent), ui(new Ui::
CRegisterComponent)
22 Q_ASSERT_X(
sGui, Q_FUNC_INFO,
"Need sGui");
26 ui->tvp_RegisteredComponents->menuAddItems(CIdentifierView::MenuRefresh);
28 connect(&m_updateTimer, &QTimer::timeout,
this, &CRegisterComponent::update);
30 &CRegisterComponent::update);
31 connect(ui->tvp_RegisteredComponents, &CIdentifierView::requestUpdate,
this, &CRegisterComponent::update);
34 m_updateTimer.setInterval(30 * 1000);
35 m_updateTimer.start();
40 void CRegisterComponent::update()
const context::IContextApplication * getIContextApplication() const
Direct access to contexts if a CCoreFacade has been initialized.
bool isShuttingDown() const
Is application shutting down?
bool supportsContexts(bool ignoreShutdownTest=false) const
Supports contexts.
virtual misc::CIdentifierList getRegisteredApplications() const =0
All registered applications.
Show registered applications (registered with core) in the GUI.
virtual ~CRegisterComponent()
Destructor.
SWIFT_GUI_EXPORT swift::gui::CGuiApplication * sGui
Single instance of GUI application object.
Backend services of the swift project, like dealing with the network or the simulators.
High level reusable GUI components.
Views, mainly QTableView.