d24cb66be9
- A regular collection open/close no longer goes through the upgrade/downgrade steps each time. This avoids wasted cycles, and will become more important in the future when decks and note types are split into separate tables. - Added a downgrade button to the profiles screen to downgrade all profiles and close the app. - Downgrading is still automatic when exporting/doing a full sync.
128 lines
3.3 KiB
XML
128 lines
3.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>MainWindow</class>
|
|
<widget class="QMainWindow" name="MainWindow">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>423</width>
|
|
<height>356</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Profiles</string>
|
|
</property>
|
|
<property name="windowIcon">
|
|
<iconset resource="icons.qrc">
|
|
<normaloff>:/icons/anki.png</normaloff>:/icons/anki.png</iconset>
|
|
</property>
|
|
<widget class="QWidget" name="centralwidget">
|
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<item>
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
<item>
|
|
<widget class="QListWidget" name="profiles"/>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<widget class="QPushButton" name="login">
|
|
<property name="text">
|
|
<string>Open</string>
|
|
</property>
|
|
<property name="default">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="add">
|
|
<property name="text">
|
|
<string>Add</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="rename">
|
|
<property name="text">
|
|
<string>Rename</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="delete_2">
|
|
<property name="text">
|
|
<string>Delete</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="quit">
|
|
<property name="text">
|
|
<string>Quit</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="verticalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>40</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="openBackup">
|
|
<property name="text">
|
|
<string>Open Backup...</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="downgrade_button">
|
|
<property name="text">
|
|
<string notr="true">Downgrade && Quit</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QMenuBar" name="menubar">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>423</width>
|
|
<height>22</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QStatusBar" name="statusbar">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
<resources>
|
|
<include location="icons.qrc"/>
|
|
</resources>
|
|
<connections/>
|
|
</ui>
|