mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-04-10 05:28:56 +02:00
This adds a "Data Manager" dialog to the Tools menu. The Data Manager allows for the following operations: - Open w/ system file manager - Clear - Export - Import On any of the following directories: - Save (w/ profile selector) - UserNAND - SysNAND - Mods - Shaders TODO for the future: - "Cleanup" for each directory - TitleID -> Game name--let users clean data for a specific game if applicable Signed-off-by: crueter <crueter@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2700 Reviewed-by: MaranBr <maranbr@eden-emu.dev> Reviewed-by: Lizzie <lizzie@eden-emu.dev>
205 lines
5.3 KiB
XML
205 lines
5.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>DataWidget</class>
|
|
<widget class="QWidget" name="DataWidget">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>275</width>
|
|
<height>200</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Form</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
<item row="0" column="0">
|
|
<layout class="QHBoxLayout" name="horizontalLayout" stretch="3,2">
|
|
<item>
|
|
<widget class="QLabel" name="tooltip">
|
|
<property name="text">
|
|
<string>Tooltip</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignmentFlag::AlignCenter</set>
|
|
</property>
|
|
<property name="wordWrap">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="size">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>10</pointsize>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string notr="true">Size</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignmentFlag::AlignCenter</set>
|
|
</property>
|
|
<property name="wordWrap">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
<item>
|
|
<widget class="QPushButton" name="open">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
<horstretch>1</horstretch>
|
|
<verstretch>1</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>52</width>
|
|
<height>47</height>
|
|
</size>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Open with your system file manager</string>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QPushButton {
|
|
max-width: 50px;
|
|
max-height: 45px;
|
|
min-width: 50px;
|
|
min-height: 45px;
|
|
}</string>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>28</width>
|
|
<height>28</height>
|
|
</size>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="clear">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
<horstretch>1</horstretch>
|
|
<verstretch>1</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>52</width>
|
|
<height>47</height>
|
|
</size>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Delete all data in this directory. THIS IS 100% IRREVERSABLE!</string>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QPushButton {
|
|
max-width: 50px;
|
|
max-height: 45px;
|
|
min-width: 50px;
|
|
min-height: 45px;
|
|
}</string>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>28</width>
|
|
<height>28</height>
|
|
</size>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="upload">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
<horstretch>1</horstretch>
|
|
<verstretch>1</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>52</width>
|
|
<height>47</height>
|
|
</size>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Export all data in this directory. This may take a while!</string>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QPushButton {
|
|
max-width: 50px;
|
|
max-height: 45px;
|
|
min-width: 50px;
|
|
min-height: 45px;
|
|
}</string>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>28</width>
|
|
<height>28</height>
|
|
</size>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="download">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
<horstretch>1</horstretch>
|
|
<verstretch>1</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>52</width>
|
|
<height>47</height>
|
|
</size>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Import data for this directory. This may take a while, and will delete ALL EXISTING DATA!</string>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QPushButton {
|
|
max-width: 50px;
|
|
max-height: 45px;
|
|
min-width: 50px;
|
|
min-height: 45px;
|
|
}</string>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>28</width>
|
|
<height>28</height>
|
|
</size>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|