-
-
Notifications
You must be signed in to change notification settings - Fork 353
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Small refactorings in spats GUI as well as spats core. Correct setting of total supply's number of decimals after dot in modify spark asset dialog. Added more checks on spats actions construction/deserialization. Some other, minor improvements.
- Loading branch information
1 parent
2a5b7d3
commit c8b60c6
Showing
23 changed files
with
632 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<ui version="4.0"> | ||
<class>SpatsMintDialog</class> | ||
<widget class="QDialog" name="SpatsMintDialog"> | ||
<property name="geometry"> | ||
<rect> | ||
<x>0</x> | ||
<y>0</y> | ||
<width>400</width> | ||
<height>200</height> | ||
</rect> | ||
</property> | ||
<property name="windowTitle"> | ||
<string>Spats Mint Dialog</string> | ||
</property> | ||
<layout class="QVBoxLayout" name="verticalLayout"> | ||
<item> | ||
<layout class="QFormLayout" name="formLayout"> | ||
<property name="fieldGrowthPolicy"> | ||
<enum>QFormLayout::ExpandingFieldsGrow</enum> | ||
</property> | ||
|
||
<!-- New Supply --> | ||
<item row="0" column="0"> | ||
<widget class="QLabel" name="labelNewSupply"> | ||
<property name="text"> | ||
<string>New Supply:</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item row="0" column="1"> | ||
<widget class="QDoubleSpinBox" name="newSupplySpinBox"> | ||
<property name="minimum"> | ||
<number>0</number> | ||
</property> | ||
<property name="maximum"> | ||
<number>1000000000</number> | ||
</property> | ||
<property name="decimals"> | ||
<number>2</number> | ||
</property> | ||
</widget> | ||
</item> | ||
|
||
<!-- Recipient --> | ||
<item row="1" column="0"> | ||
<widget class="QLabel" name="labelRecipient"> | ||
<property name="text"> | ||
<string>Recipient:</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item row="1" column="1"> | ||
<widget class="QLineEdit" name="recipientEdit"> | ||
<property name="placeholderText"> | ||
<string>Enter recipient address</string> | ||
</property> | ||
</widget> | ||
</item> | ||
|
||
</layout> | ||
</item> | ||
|
||
<!-- Error Label --> | ||
<item> | ||
<widget class="QLabel" name="errorLabel"> | ||
<property name="text"> | ||
<string>Error: Invalid Input</string> | ||
</property> | ||
<property name="visible"> | ||
<bool>false</bool> | ||
</property> | ||
<property name="styleSheet"> | ||
<string notr="true">QLabel { color: red; }</string> | ||
</property> | ||
</widget> | ||
</item> | ||
|
||
<!-- Buttons --> | ||
<item> | ||
<layout class="QHBoxLayout" name="buttonLayout"> | ||
<item> | ||
<widget class="QPushButton" name="okButton"> | ||
<property name="text"> | ||
<string>OK</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item> | ||
<widget class="QPushButton" name="cancelButton"> | ||
<property name="text"> | ||
<string>Cancel</string> | ||
</property> | ||
</widget> | ||
</item> | ||
</layout> | ||
</item> | ||
</layout> | ||
</widget> | ||
<resources/> | ||
<connections/> | ||
</ui> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.