mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-02 23:42:43 +00:00
New icons and final Push to review
This commit is contained in:
parent
0127e0a0ac
commit
e81564813d
Binary file not shown.
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.5 KiB |
BIN
src/images/refreshlist_icon.png
Normal file
BIN
src/images/refreshlist_icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.2 KiB |
@ -196,17 +196,27 @@ void MainWindow::AddUiWidgets() {
|
||||
QHBoxLayout* buttonLayout = new QHBoxLayout(buttonGroup);
|
||||
buttonLayout->setSpacing(2);
|
||||
|
||||
buttonLayout->addWidget(createButtonWithLabel(ui->playButton, tr("Play"), showLabels));
|
||||
buttonLayout->addWidget(createButtonWithLabel(ui->pauseButton, tr("Pause"), showLabels));
|
||||
buttonLayout->addWidget(createButtonWithLabel(ui->stopButton, tr("Stop"), showLabels));
|
||||
buttonLayout->addWidget(createButtonWithLabel(ui->settingsButton, tr("Settings"), showLabels));
|
||||
buttonLayout->addWidget(
|
||||
createButtonWithLabel(ui->fullscreenButton, tr("Full Screen"), showLabels));
|
||||
buttonLayout->addWidget(
|
||||
createButtonWithLabel(ui->controllerButton, tr("Controllers"), showLabels));
|
||||
buttonLayout->addWidget(createButtonWithLabel(ui->keyboardButton, tr("Keyboard"), showLabels));
|
||||
buttonLayout->addWidget(
|
||||
createButtonWithLabel(ui->refreshButton, tr("Refresh List"), showLabels));
|
||||
|
||||
buttonLayout->addWidget(createButtonWithLabel(ui->playButton, tr("Play"), showLabels));
|
||||
|
||||
buttonLayout->addWidget(createButtonWithLabel(ui->pauseButton, tr("Pause"), showLabels));
|
||||
|
||||
buttonLayout->addWidget(createButtonWithLabel(ui->stopButton, tr("Stop"), showLabels));
|
||||
|
||||
buttonLayout->addWidget(createButtonWithLabel(ui->restartButton, tr("Restart"), showLabels));
|
||||
|
||||
buttonLayout->addWidget(createButtonWithLabel(ui->settingsButton, tr("Settings"), showLabels));
|
||||
|
||||
buttonLayout->addWidget(
|
||||
createButtonWithLabel(ui->fullscreenButton, tr("Full Screen"), showLabels));
|
||||
|
||||
buttonLayout->addWidget(
|
||||
createButtonWithLabel(ui->controllerButton, tr("Controllers"), showLabels));
|
||||
|
||||
buttonLayout->addWidget(createButtonWithLabel(ui->keyboardButton, tr("Keyboard"), showLabels));
|
||||
|
||||
if (showLabels) {
|
||||
QLabel* pauseButtonLabel = ui->pauseButton->parentWidget()->findChild<QLabel*>();
|
||||
if (pauseButtonLabel)
|
||||
@ -1331,6 +1341,7 @@ void MainWindow::SetUiIcons(bool isWhite) {
|
||||
ui->pauseButton->setIcon(RecolorIcon(ui->pauseButton->icon(), isWhite));
|
||||
ui->stopButton->setIcon(RecolorIcon(ui->stopButton->icon(), isWhite));
|
||||
ui->refreshButton->setIcon(RecolorIcon(ui->refreshButton->icon(), isWhite));
|
||||
ui->restartButton->setIcon(RecolorIcon(ui->restartButton->icon(), isWhite));
|
||||
ui->settingsButton->setIcon(RecolorIcon(ui->settingsButton->icon(), isWhite));
|
||||
ui->fullscreenButton->setIcon(RecolorIcon(ui->fullscreenButton->icon(), isWhite));
|
||||
ui->controllerButton->setIcon(RecolorIcon(ui->controllerButton->icon(), isWhite));
|
||||
|
@ -52,6 +52,7 @@ public:
|
||||
QPushButton* controllerButton;
|
||||
QPushButton* keyboardButton;
|
||||
QPushButton* fullscreenButton;
|
||||
QPushButton* restartButton;
|
||||
|
||||
QWidget* sizeSliderContainer;
|
||||
QHBoxLayout* sizeSliderContainer_layout;
|
||||
@ -106,7 +107,7 @@ public:
|
||||
showGameListAct->setCheckable(true);
|
||||
refreshGameListAct = new QAction(MainWindow);
|
||||
refreshGameListAct->setObjectName("refreshGameListAct");
|
||||
refreshGameListAct->setIcon(QIcon(":images/refresh_icon.png"));
|
||||
refreshGameListAct->setIcon(QIcon(":images/refreshlist_icon.png"));
|
||||
|
||||
toggleLabelsAct = new QAction(MainWindow);
|
||||
toggleLabelsAct->setObjectName("toggleLabelsAct");
|
||||
@ -220,8 +221,8 @@ public:
|
||||
stopButton->setIconSize(QSize(40, 40));
|
||||
refreshButton = new QPushButton(centralWidget);
|
||||
refreshButton->setFlat(true);
|
||||
refreshButton->setIcon(QIcon(":images/refresh_icon.png"));
|
||||
refreshButton->setIconSize(QSize(38, 38));
|
||||
refreshButton->setIcon(QIcon(":images/refreshlist_icon.png"));
|
||||
refreshButton->setIconSize(QSize(40, 40));
|
||||
fullscreenButton = new QPushButton(centralWidget);
|
||||
fullscreenButton->setFlat(true);
|
||||
fullscreenButton->setIcon(QIcon(":images/fullscreen_icon.png"));
|
||||
@ -238,6 +239,10 @@ public:
|
||||
keyboardButton->setFlat(true);
|
||||
keyboardButton->setIcon(QIcon(":images/keyboard_icon.png"));
|
||||
keyboardButton->setIconSize(QSize(50, 50));
|
||||
restartButton = new QPushButton(centralWidget);
|
||||
restartButton->setFlat(true);
|
||||
restartButton->setIcon(QIcon(":images/refresh_icon.png"));
|
||||
restartButton->setIconSize(QSize(40, 40));
|
||||
|
||||
sizeSliderContainer = new QWidget(centralWidget);
|
||||
sizeSliderContainer->setObjectName("sizeSliderContainer");
|
||||
|
@ -8,7 +8,6 @@
|
||||
<file>images/stop_icon.png</file>
|
||||
<file>images/utils_icon.png</file>
|
||||
<file>images/file_icon.png</file>
|
||||
<file>images/trophy_icon.png</file>
|
||||
<file>images/folder_icon.png</file>
|
||||
<file>images/themes_icon.png</file>
|
||||
<file>images/iconsize_icon.png</file>
|
||||
@ -35,5 +34,6 @@
|
||||
<file>images/keyboard_icon.png</file>
|
||||
<file>images/KBM.png</file>
|
||||
<file>images/fullscreen_icon.png</file>
|
||||
<file>images/refreshlist_icon.png</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
Loading…
Reference in New Issue
Block a user