Removed toolbar from mainwindow
This commit is contained in:
@@ -34,8 +34,6 @@ ReportsWidget::ReportsWidget(MainWindow &mainWindow) :
|
||||
connect(m_actionOpenReport, &QAction::triggered, this, &ReportsWidget::openReport);
|
||||
m_mainWindow.menuTools()->addAction(m_actionOpenReport);
|
||||
|
||||
m_mainWindow.toolBar()->addAction(m_actionOpenReport);
|
||||
|
||||
dateChanged(m_mainWindow.date());
|
||||
}
|
||||
|
||||
|
@@ -124,11 +124,6 @@ QMenu *MainWindow::menuAbout() const
|
||||
return ui->menuAbout;
|
||||
}
|
||||
|
||||
QToolBar *MainWindow::toolBar() const
|
||||
{
|
||||
return ui->mainToolBar;
|
||||
}
|
||||
|
||||
ZeiterfassungSettings &MainWindow::settings() const
|
||||
{
|
||||
return m_settings;
|
||||
|
@@ -35,7 +35,6 @@ public:
|
||||
QMenu *menuView() const;
|
||||
QMenu *menuTools() const;
|
||||
QMenu *menuAbout() const;
|
||||
QToolBar *toolBar() const;
|
||||
|
||||
ZeiterfassungSettings &settings() const;
|
||||
ZeiterfassungApi &erfassung() const;
|
||||
|
@@ -211,7 +211,7 @@
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>1393</width>
|
||||
<height>428</height>
|
||||
<height>467</height>
|
||||
</rect>
|
||||
</property>
|
||||
<layout class="QHBoxLayout" name="layoutWeek"/>
|
||||
@@ -262,16 +262,6 @@
|
||||
<addaction name="menuTools"/>
|
||||
<addaction name="menuAbout"/>
|
||||
</widget>
|
||||
<widget class="QToolBar" name="mainToolBar">
|
||||
<attribute name="toolBarArea">
|
||||
<enum>TopToolBarArea</enum>
|
||||
</attribute>
|
||||
<attribute name="toolBarBreak">
|
||||
<bool>false</bool>
|
||||
</attribute>
|
||||
<addaction name="actionToday"/>
|
||||
<addaction name="actionRefresh"/>
|
||||
</widget>
|
||||
<widget class="QStatusBar" name="statusbar"/>
|
||||
<action name="actionQuit">
|
||||
<property name="icon">
|
||||
|
Reference in New Issue
Block a user