ui: Refactored View initialization

* moved initView() implementation where used into constructor
* specify methods as override instead of virtual where applicable
* use default destructors where applicable
This commit is contained in:
Eberhard Graether
2019-07-02 15:04:09 +02:00
parent 5cc39824e0
commit 3aebe91e36
37 changed files with 193 additions and 319 deletions
-8
View File
@@ -17,19 +17,11 @@ QtCodeView::QtCodeView(ViewLayout* viewLayout)
m_widget = new QtCodeNavigator();
}
QtCodeView::~QtCodeView()
{
}
void QtCodeView::createWidgetWrapper()
{
setWidgetWrapper(std::make_shared<QtViewWidgetWrapper>(m_widget));
}
void QtCodeView::initView()
{
}
void QtCodeView::refreshView()
{
if (getController())