dbhub: Support pushing to different branches than "master"

This commit is contained in:
Martin Kleusberg
2017-09-03 13:18:34 +02:00
parent 26f7cfbca4
commit 4339119377
6 changed files with 130 additions and 8 deletions

View File

@@ -57,7 +57,7 @@ p, li { white-space: pre-wrap; }
</property>
</widget>
</item>
<item row="3" column="0">
<item row="4" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Database licence</string>
@@ -67,7 +67,7 @@ p, li { white-space: pre-wrap; }
</property>
</widget>
</item>
<item row="3" column="1">
<item row="4" column="1">
<widget class="QComboBox" name="comboLicence">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
@@ -77,7 +77,7 @@ p, li { white-space: pre-wrap; }
</property>
</widget>
</item>
<item row="2" column="0">
<item row="3" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Public</string>
@@ -87,9 +87,26 @@ p, li { white-space: pre-wrap; }
</property>
</widget>
</item>
<item row="2" column="1">
<item row="3" column="1">
<widget class="QCheckBox" name="checkPublic"/>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_5">
<property name="text">
<string>Branch</string>
</property>
<property name="buddy">
<cstring>comboBranch</cstring>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QComboBox" name="comboBranch">
<property name="editable">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</item>
<item>
@@ -107,6 +124,7 @@ p, li { white-space: pre-wrap; }
<tabstops>
<tabstop>editName</tabstop>
<tabstop>editCommitMessage</tabstop>
<tabstop>comboBranch</tabstop>
<tabstop>checkPublic</tabstop>
<tabstop>comboLicence</tabstop>
</tabstops>
@@ -192,8 +210,41 @@ p, li { white-space: pre-wrap; }
</hint>
</hints>
</connection>
<connection>
<sender>editName</sender>
<signal>editingFinished()</signal>
<receiver>RemotePushDialog</receiver>
<slot>reloadBranchList()</slot>
<hints>
<hint type="sourcelabel">
<x>176</x>
<y>25</y>
</hint>
<hint type="destinationlabel">
<x>77</x>
<y>3</y>
</hint>
</hints>
</connection>
<connection>
<sender>comboBranch</sender>
<signal>currentTextChanged(QString)</signal>
<receiver>RemotePushDialog</receiver>
<slot>checkInput()</slot>
<hints>
<hint type="sourcelabel">
<x>172</x>
<y>138</y>
</hint>
<hint type="destinationlabel">
<x>33</x>
<y>151</y>
</hint>
</hints>
</connection>
</connections>
<slots>
<slot>checkInput()</slot>
<slot>reloadBranchList()</slot>
</slots>
</ui>