mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-14 17:50:44 +00:00
Beginning of new (hideable) App-Wide Sidebar to replace Welcome screens navigator
This commit is contained in:
parent
6f3ea4d39a
commit
1146aa3692
@ -34,5 +34,7 @@
|
|||||||
<file>icons/sheep.png</file>
|
<file>icons/sheep.png</file>
|
||||||
<file>icons/nodata.png</file>
|
<file>icons/nodata.png</file>
|
||||||
<file>icons/cubeoximeter.png</file>
|
<file>icons/cubeoximeter.png</file>
|
||||||
|
<file>icons/trophy.png</file>
|
||||||
|
<file>icons/bookmark.png</file>
|
||||||
</qresource>
|
</qresource>
|
||||||
</RCC>
|
</RCC>
|
||||||
|
BIN
icons/bookmark.png
Normal file
BIN
icons/bookmark.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 1.1 KiB |
BIN
icons/trophy.png
Normal file
BIN
icons/trophy.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 4.5 KiB |
@ -1830,3 +1830,14 @@ void MainWindow::keyPressEvent(QKeyEvent * event)
|
|||||||
{
|
{
|
||||||
qDebug() << "Keypress:" << event->key();
|
qDebug() << "Keypress:" << event->key();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void MainWindow::on_summaryButton_2_clicked()
|
||||||
|
{
|
||||||
|
ui->tabWidget->setCurrentWidget(ui->welcome);
|
||||||
|
on_summaryButton_clicked();
|
||||||
|
}
|
||||||
|
|
||||||
|
void MainWindow::on_action_Sidebar_Toggle_toggled(bool visible)
|
||||||
|
{
|
||||||
|
ui->toolBox->setVisible(visible);
|
||||||
|
}
|
||||||
|
@ -244,6 +244,10 @@ private slots:
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
void on_summaryButton_2_clicked();
|
||||||
|
|
||||||
|
void on_action_Sidebar_Toggle_toggled(bool arg1);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
Ui::MainWindow *ui;
|
Ui::MainWindow *ui;
|
||||||
|
1237
mainwindow.ui
1237
mainwindow.ui
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user