Work on the graphical interface for presenting requirements details
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
#include "bars/menuBar.h"
|
||||
#include "bars/statusBar.h"
|
||||
#include "bars/toolBar.h"
|
||||
#include "requirementsPanel/requirementsPanel.h"
|
||||
|
||||
#include <filesystem>
|
||||
|
||||
@@ -18,7 +19,6 @@ using namespace gui;
|
||||
MainFrame::MainFrame(dBus::Bus &bus)
|
||||
: wxFrame(nullptr, wxID_ANY, _("kwa.Fr"), wxDefaultPosition, wxDefaultSize)
|
||||
, dBus::wxNode(this, bus)
|
||||
, m_bus(bus)
|
||||
{
|
||||
// Initialization
|
||||
SetIcon(wxICON(AAAA_ICON));
|
||||
@@ -36,6 +36,8 @@ MainFrame::MainFrame(dBus::Bus &bus)
|
||||
CenterOnScreen();
|
||||
|
||||
subscribe(dBus::makeID("log.message"));
|
||||
|
||||
// Iconize();
|
||||
}
|
||||
//--------------------------------------------------------------
|
||||
/* Creating controls */
|
||||
@@ -46,7 +48,10 @@ void MainFrame::createControls()
|
||||
const auto framePanel = new wxPanel(this /*, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxSIMPLE_BORDER*/);
|
||||
m_toolBar = new ToolBar(framePanel);
|
||||
|
||||
m_pageNotebook = new wxNotebook(framePanel, wxID_ANY);
|
||||
m_pageNotebook = new wxNotebook(framePanel, wxID_ANY);
|
||||
m_requirementsPanel = new RequirementsPanel(m_pageNotebook, m_bus);
|
||||
|
||||
m_pageNotebook->AddPage(m_requirementsPanel, "Requirements", true);
|
||||
|
||||
// Controls positioning
|
||||
const auto mainSizer = new wxBoxSizer(wxVERTICAL);
|
||||
|
||||
Reference in New Issue
Block a user