Files

198 lines
5.1 KiB
XML
Raw Permalink Normal View History

2026-08-03 18:42:47 +08:00
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>Dialog</class>
<widget class="QDialog" name="Dialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>338</width>
<height>320</height>
</rect>
</property>
<property name="windowTitle">
<string notr="true">Load Session</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QLabel" name="label">
<property name="text">
<string notr="true">The current PyMOL window has a session in progress. How do you want to proceed?</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="check_discard">
<property name="text">
<string notr="true">&amp;Discard current session</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_3">
<property name="styleSheet">
<string notr="true">margin-left: 30</string>
</property>
<property name="text">
<string notr="true">All currently &amp;loaded objects will be deleted.</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
<property name="buddy">
<cstring>check_discard</cstring>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="check_partial">
<property name="toolTip">
<string notr="true">partial=1</string>
</property>
<property name="text">
<string notr="true">&amp;Merge with current session (partial load)</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_2">
<property name="styleSheet">
<string notr="true">margin-left: 30</string>
</property>
<property name="text">
<string notr="true">Will not restore &amp;global settings, selections, scenes or movies from the session file</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
<property name="buddy">
<cstring>check_partial</cstring>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="check_rename">
<property name="enabled">
<bool>false</bool>
</property>
<property name="toolTip">
<string notr="true">auto_rename_duplicate_objects (global setting)</string>
</property>
<property name="styleSheet">
<string notr="true">margin-left: 30</string>
</property>
<property name="text">
<string notr="true">Automatically rename duplicate objects</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="check_new">
<property name="text">
<string notr="true">Open &amp;in new PyMOL Window</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_4">
<property name="styleSheet">
<string notr="true">margin-left: 30</string>
</property>
<property name="text">
<string notr="true">Each session will have i&amp;ts own window.</string>
</property>
<property name="buddy">
<cstring>check_new</cstring>
</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="QDialogButtonBox" name="buttonBox">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
</property>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections>
<connection>
<sender>buttonBox</sender>
<signal>accepted()</signal>
<receiver>Dialog</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>224</x>
<y>224</y>
</hint>
<hint type="destinationlabel">
<x>157</x>
<y>202</y>
</hint>
</hints>
</connection>
<connection>
<sender>buttonBox</sender>
<signal>rejected()</signal>
<receiver>Dialog</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>292</x>
<y>224</y>
</hint>
<hint type="destinationlabel">
<x>286</x>
<y>202</y>
</hint>
</hints>
</connection>
<connection>
<sender>check_partial</sender>
<signal>toggled(bool)</signal>
<receiver>check_rename</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>41</x>
<y>91</y>
</hint>
<hint type="destinationlabel">
<x>51</x>
<y>111</y>
</hint>
</hints>
</connection>
</connections>
</ui>