mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-06-24 19:36:17 +00:00
Adding Top and Bottom trophy option for pop window + Trophy improvements (#2566)
* Adding top button option for trophy pop up * Ui fix * Clang format * improvements to trophy pr * improvements * Note: The sound will only work in QT versions * -. * Update path_util.cpp * Update path_util.cpp * centered text when using top and bottom option * Clang * trophy viewer now opens in window not fullscreen --------- Co-authored-by: DanielSvoboda <daniel.svoboda@hotmail.com>
This commit is contained in:
parent
f4110c43a7
commit
d59536a71c
9 changed files with 158 additions and 36 deletions
|
@ -4,12 +4,15 @@
|
|||
#pragma once
|
||||
|
||||
#include <QApplication>
|
||||
#include <QCheckBox>
|
||||
#include <QDir>
|
||||
#include <QDockWidget>
|
||||
#include <QFileInfoList>
|
||||
#include <QGraphicsBlurEffect>
|
||||
#include <QHeaderView>
|
||||
#include <QLabel>
|
||||
#include <QMainWindow>
|
||||
#include <QPushButton>
|
||||
#include <QTableWidget>
|
||||
#include <QTableWidgetItem>
|
||||
#include <QVBoxLayout>
|
||||
|
@ -26,6 +29,8 @@ public:
|
|||
void updateTrophyInfo();
|
||||
|
||||
void updateTableFilters();
|
||||
void onDockClosed();
|
||||
void reopenLeftDock();
|
||||
|
||||
private:
|
||||
void PopulateTrophyWidget(QString title);
|
||||
|
@ -39,6 +44,9 @@ private:
|
|||
QCheckBox* showEarnedCheck;
|
||||
QCheckBox* showNotEarnedCheck;
|
||||
QCheckBox* showHiddenCheck;
|
||||
QPushButton* expandButton;
|
||||
QDockWidget* trophyInfoDock;
|
||||
QPushButton* reopenButton;
|
||||
|
||||
std::string GetTrpType(const QChar trp_) {
|
||||
switch (trp_.toLatin1()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue