mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-12-12 22:59:04 +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:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user