qt: Treat regtest as testnet

No need to do anything special in the GUI for regtest mode,
but do treat it at testnet not mainnet to prevent confusion.
This commit is contained in:
Wladimir J. van der Laan
2013-12-18 09:45:36 +01:00
parent 57fdd68aac
commit 2ea980a77c
7 changed files with 32 additions and 23 deletions

View File

@@ -172,14 +172,14 @@
</widget>
</item>
<item row="7" column="0">
<widget class="QLabel" name="label_7">
<widget class="QLabel" name="label_8">
<property name="text">
<string>Number of connections</string>
<string>Name</string>
</property>
</widget>
</item>
<item row="7" column="1">
<widget class="QLabel" name="numberOfConnections">
<widget class="QLabel" name="networkName">
<property name="cursor">
<cursorShape>IBeamCursor</cursorShape>
</property>
@@ -195,19 +195,25 @@
</widget>
</item>
<item row="8" column="0">
<widget class="QLabel" name="label_8">
<widget class="QLabel" name="label_7">
<property name="text">
<string>On testnet</string>
<string>Number of connections</string>
</property>
</widget>
</item>
<item row="8" column="1">
<widget class="QCheckBox" name="isTestNet">
<property name="enabled">
<bool>false</bool>
<widget class="QLabel" name="numberOfConnections">
<property name="cursor">
<cursorShape>IBeamCursor</cursorShape>
</property>
<property name="text">
<string/>
<string>N/A</string>
</property>
<property name="textFormat">
<enum>Qt::PlainText</enum>
</property>
<property name="textInteractionFlags">
<set>Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
</property>
</widget>
</item>