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);
|
connect(m_actionOpenReport, &QAction::triggered, this, &ReportsWidget::openReport);
|
||||||
m_mainWindow.menuTools()->addAction(m_actionOpenReport);
|
m_mainWindow.menuTools()->addAction(m_actionOpenReport);
|
||||||
|
|
||||||
m_mainWindow.toolBar()->addAction(m_actionOpenReport);
|
|
||||||
|
|
||||||
dateChanged(m_mainWindow.date());
|
dateChanged(m_mainWindow.date());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -124,11 +124,6 @@ QMenu *MainWindow::menuAbout() const
|
|||||||
return ui->menuAbout;
|
return ui->menuAbout;
|
||||||
}
|
}
|
||||||
|
|
||||||
QToolBar *MainWindow::toolBar() const
|
|
||||||
{
|
|
||||||
return ui->mainToolBar;
|
|
||||||
}
|
|
||||||
|
|
||||||
ZeiterfassungSettings &MainWindow::settings() const
|
ZeiterfassungSettings &MainWindow::settings() const
|
||||||
{
|
{
|
||||||
return m_settings;
|
return m_settings;
|
||||||
|
@@ -35,7 +35,6 @@ public:
|
|||||||
QMenu *menuView() const;
|
QMenu *menuView() const;
|
||||||
QMenu *menuTools() const;
|
QMenu *menuTools() const;
|
||||||
QMenu *menuAbout() const;
|
QMenu *menuAbout() const;
|
||||||
QToolBar *toolBar() const;
|
|
||||||
|
|
||||||
ZeiterfassungSettings &settings() const;
|
ZeiterfassungSettings &settings() const;
|
||||||
ZeiterfassungApi &erfassung() const;
|
ZeiterfassungApi &erfassung() const;
|
||||||
|
@@ -211,7 +211,7 @@
|
|||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>1393</width>
|
<width>1393</width>
|
||||||
<height>428</height>
|
<height>467</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QHBoxLayout" name="layoutWeek"/>
|
<layout class="QHBoxLayout" name="layoutWeek"/>
|
||||||
@@ -262,16 +262,6 @@
|
|||||||
<addaction name="menuTools"/>
|
<addaction name="menuTools"/>
|
||||||
<addaction name="menuAbout"/>
|
<addaction name="menuAbout"/>
|
||||||
</widget>
|
</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"/>
|
<widget class="QStatusBar" name="statusbar"/>
|
||||||
<action name="actionQuit">
|
<action name="actionQuit">
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
|
Reference in New Issue
Block a user