Sun, 26 Jan 2014 15:49:14 +0100
Added dialogs to enter the contents for initial .hgrc/mercurial.ini and .hg/hgrc files.
<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>HgRepoConfigDataDialog</class> <widget class="QDialog" name="HgRepoConfigDataDialog"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>650</width> <height>323</height> </rect> </property> <property name="windowTitle"> <string>Mercurial Repository Configuration</string> </property> <property name="sizeGripEnabled"> <bool>true</bool> </property> <layout class="QVBoxLayout" name="verticalLayout"> <item> <widget class="QGroupBox" name="groupBox"> <property name="title"> <string>Default</string> </property> <layout class="QGridLayout" name="gridLayout"> <item row="0" column="0"> <widget class="QLabel" name="label_2"> <property name="text"> <string>Upstream URL:</string> </property> </widget> </item> <item row="0" column="1" colspan="2"> <widget class="E5ClearableLineEdit" name="defaultUrlEdit"> <property name="toolTip"> <string>Enter the URL of the upstream repository</string> </property> </widget> </item> <item row="1" column="0"> <widget class="QLabel" name="label_3"> <property name="text"> <string>Username:</string> </property> </widget> </item> <item row="1" column="1" colspan="2"> <widget class="E5ClearableLineEdit" name="defaultUserEdit"> <property name="toolTip"> <string>Enter user name to acces the upstream repository</string> </property> </widget> </item> <item row="2" column="0"> <widget class="QLabel" name="label_4"> <property name="text"> <string>Password:</string> </property> </widget> </item> <item row="2" column="1"> <widget class="E5ClearableLineEdit" name="defaultPasswordEdit"> <property name="toolTip"> <string>Enter the password to acces the upstream repository</string> </property> <property name="echoMode"> <enum>QLineEdit::Password</enum> </property> </widget> </item> <item row="2" column="2"> <widget class="QToolButton" name="defaultShowPasswordButton"> <property name="toolTip"> <string>Press to show the password</string> </property> <property name="checkable"> <bool>true</bool> </property> </widget> </item> </layout> </widget> </item> <item> <widget class="QGroupBox" name="groupBox_2"> <property name="title"> <string>Default Push</string> </property> <layout class="QGridLayout" name="gridLayout_2"> <item row="0" column="0"> <widget class="QLabel" name="label_5"> <property name="text"> <string>Upstream URL:</string> </property> </widget> </item> <item row="0" column="1" colspan="2"> <widget class="E5ClearableLineEdit" name="defaultPushUrlEdit"> <property name="toolTip"> <string>Enter the URL of the upstream (push) repository</string> </property> </widget> </item> <item row="1" column="0"> <widget class="QLabel" name="label_7"> <property name="text"> <string>Username:</string> </property> </widget> </item> <item row="1" column="1" colspan="2"> <widget class="E5ClearableLineEdit" name="defaultPushUserEdit"> <property name="toolTip"> <string>Enter user name to acces the upstream (push) repository</string> </property> </widget> </item> <item row="2" column="0"> <widget class="QLabel" name="label_6"> <property name="text"> <string>Password:</string> </property> </widget> </item> <item row="2" column="1"> <widget class="E5ClearableLineEdit" name="defaultPushPasswordEdit"> <property name="toolTip"> <string>Enter the password to acces the upstream (push) repository</string> </property> <property name="echoMode"> <enum>QLineEdit::Password</enum> </property> </widget> </item> <item row="2" column="2"> <widget class="QToolButton" name="defaultPushShowPasswordButton"> <property name="toolTip"> <string>Press to show the password</string> </property> <property name="checkable"> <bool>true</bool> </property> </widget> </item> </layout> </widget> </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> <customwidgets> <customwidget> <class>E5ClearableLineEdit</class> <extends>QLineEdit</extends> <header>E5Gui/E5LineEdit.h</header> </customwidget> </customwidgets> <tabstops> <tabstop>defaultUrlEdit</tabstop> <tabstop>defaultUserEdit</tabstop> <tabstop>defaultPasswordEdit</tabstop> <tabstop>defaultShowPasswordButton</tabstop> <tabstop>defaultPushUrlEdit</tabstop> <tabstop>defaultPushUserEdit</tabstop> <tabstop>defaultPushPasswordEdit</tabstop> <tabstop>defaultPushShowPasswordButton</tabstop> <tabstop>buttonBox</tabstop> </tabstops> <resources/> <connections> <connection> <sender>buttonBox</sender> <signal>accepted()</signal> <receiver>HgRepoConfigDataDialog</receiver> <slot>accept()</slot> <hints> <hint type="sourcelabel"> <x>248</x> <y>254</y> </hint> <hint type="destinationlabel"> <x>157</x> <y>274</y> </hint> </hints> </connection> <connection> <sender>buttonBox</sender> <signal>rejected()</signal> <receiver>HgRepoConfigDataDialog</receiver> <slot>reject()</slot> <hints> <hint type="sourcelabel"> <x>316</x> <y>260</y> </hint> <hint type="destinationlabel"> <x>286</x> <y>274</y> </hint> </hints> </connection> </connections> </ui>