Commit Graph

112 Commits

Author SHA1 Message Date
Neil Booth 544b829f6e Rework MyTreeWidget editing
Gets rid of need for EditableItem class.
New callback on_permit_edit to permit widgets to refuse editing.
Restores popup menu on activating a non-editable column behaviour.
2015-09-09 07:38:54 +09:00
ThomasV 533cdde366 right align numerical values in history widget 2015-09-08 12:09:22 +02:00
Neil Booth 9b50d1e7bc Fix history headers on plugin load / unload 2015-09-06 21:14:36 +09:00
Neil Booth f68c04e251 Only pass user edits to item_edited()
It was picking up changes made when the history tab updates when
a transaction changes confirmation state
2015-08-30 18:19:27 +09:00
Neil Booth 607664e663 Fix contact editing.
This fixes some bugs in contact editing:

- a changed address is now checked for validity. Shows
  error if invalid and restores prior value
- the changes are saved, before they were dropped
- adding a new contact switches to the contacts tab,
  it used to switch to the address tab

As an enhancement, the contact name, as well as its address,
can be edited and updated.

Finally, the platform edit key can also be used to edit,
in adition to double-clicking.  This is typically the F2 key.
2015-08-29 21:22:08 +09:00
Neil Booth 851db130ea Cleaner column editing in MyTreeWidget
Also enables arbitrary columns to be edited, but nothing
uses that yet.
2015-08-29 20:58:08 +09:00
Neil Booth f32cb71ed5 Clean up MyTreeWidget item editing 2015-08-28 22:55:25 +09:00
ThomasV e9523f231b fix account renaming issues #1158 #1299 2015-08-17 12:49:04 +02:00
ThomasV 2515fc9b6a use blue color to denote auto-filled values (fee, exchange rates plugin) 2015-08-06 12:56:48 +02:00
ThomasV 1e668209dc improve signed URI window 2015-07-19 10:54:45 +02:00
ThomasV 35aba0c14b show alias satus in gui after fetch 2015-07-11 18:14:00 +02:00
ThomasV 18032fc4f6 treewidget: keep default label when editing 2015-05-17 12:48:17 +02:00
ThomasV 1cb6c08a13 use get_config instead of passing window to ScanQRTextEdit 2015-05-08 19:58:29 +02:00
ThomasV 0a1c8f5546 underline help label 2015-05-03 07:06:54 +02:00
ThomasV 9f4a914526 change mouse cursor over clickable labels 2015-05-02 13:36:10 +02:00
Neil Booth b71d35f027 Make stretch column editable again. 2015-04-30 16:39:32 +09:00
ThomasV 953674aac7 resize columns to content by default 2015-04-29 09:26:22 +02:00
Neil Booth 72cf707e61 Filter on an array of columns. Make search string lower case too. 2015-04-27 08:37:03 +09:00
Jason Jackson acedbe304a Fix spelling of Clipboard 2015-04-24 23:20:34 -04:00
ThomasV d94aee83b9 enable sorting for all lists except history 2015-04-23 18:28:37 +02:00
ThomasV 706d605f91 recursive generator for tree leaves 2015-04-23 15:24:12 +02:00
ThomasV 45081b1c8b search box 2015-04-23 13:50:35 +02:00
ThomasV fd651709b8 fix 2015-04-22 09:56:16 +02:00
ThomasV 2f0f1aafa6 replace help buttons in send tab with clickable labels 2015-04-22 09:49:01 +02:00
ThomasV acf4ad5ec8 add preprocessing to ThreadedButton 2015-04-21 11:00:40 +02:00
ThomasV 2f729c2505 add copy button to tx dialog 2015-04-20 14:44:59 +02:00
ThomasV fa446eac2e improved buttons 2015-04-20 14:15:18 +02:00
ThomasV b42ff0b925 gui: fix buttonsTextEdit bug 2015-04-20 12:32:48 +02:00
ThomasV a3ed4ce2a7 new class to show buttons in LineEdit. fixes #1050 2015-04-20 11:49:27 +02:00
ThomasV 50fed3dce5 minor fix: parent.wallet 2015-04-20 09:25:01 +02:00
ThomasV ff152141ae fix: always use UserRole to store the key 2015-04-04 21:38:21 +02:00
ThomasV 3a2e2702bb fix parent of address history widget 2015-04-04 21:15:58 +02:00
ThomasV 93250b1041 gui simplification 2015-04-04 20:59:57 +02:00
ThomasV c89c449dd7 fix issue #421 2015-04-03 15:32:29 +02:00
ThomasV 7e6bd2eb8c give user the option to remove incomplete wallet 2015-04-03 13:10:43 +02:00
ThomasV bfb4240948 Rewrite labels plugin using requests and own signals 2015-03-24 15:37:57 +01:00
ThomasV 01cfb8f8f1 new Button widgets 2015-03-14 12:28:19 +01:00
Tafelpoot 256a467dd7 QR code fixes
New classes ScanQRTextEdit and ShowQRTextEdit.
Reason: dependencies on zbar availability and issues with the QRTextEdit constructor.
- ScanQRTextEdit needs access to the config (fetch camera). It needs to load
the zbar processor properly before trying to scan. Keeping a reference to
the processor in qrscaner fixes the crashes on windows.
- ShowQRTextEdit should not have access to scan_qr().
- no need to setReadOnly anymore. It is clear from the class name.

Show master pub keys now has a Combobox if multiple accounts are
available.
2014-10-24 15:45:10 +02:00
ThomasV 956f69f3d3 trezor: raise and catch BaseException in signing 2014-10-24 10:53:09 +02:00
ThomasV f00c4ed547 simplify error handling during transaction signing 2014-10-23 16:32:27 +02:00
Tafelpoot d9c5250a6f removed trailing whitespace and fixed indentation in history widget 2014-10-21 19:05:51 +02:00
ThomasV 6cd00eb36b request history rates asynchronously 2014-09-19 13:36:30 +02:00
ThomasV 98b361f328 code cleanup 2014-09-14 12:40:09 +02:00
ThomasV 6446d66859 do not call _ in default parameters 2014-09-12 16:49:01 +02:00
ThomasV 744eee6858 wizard integration 2014-08-26 16:23:24 +02:00
ThomasV c397f84fed simplified dialog for new file name 2014-07-11 19:29:18 +02:00
ThomasV 2da9a02fb3 catch exception within sign thread, to re-enable send button 2014-06-24 19:09:41 +02:00
ThomasV f410225dc2 print traceback in waiting dialog 2014-06-21 21:38:42 +02:00
ThomasV 7ceeb7e67a waiting dialog: handle exceptions 2014-06-16 18:06:39 +02:00
ThomasV d2cad7bbbb new widget: QRTextEdit 2014-06-14 12:17:44 +02:00
ThomasV 440f972fd3 show payment request details 2014-06-07 19:53:54 +02:00
ThomasV 26d133c20a payment request: show status with help button 2014-06-05 17:40:58 +02:00
ThomasV 17ff5d162d close method 2014-05-26 05:40:04 +02:00
ThomasV 40b3b47d5b rewrite WaiingDialog as child class of QThread 2014-05-24 22:54:54 +02:00
ThomasV 0bd1eb1f7a simple test for waiting dialog 2014-05-24 22:06:43 +02:00
ThomasV 6665a70a49 WaitingDialog class for better encapsulation 2014-05-10 20:36:07 +02:00
ThomasV ac93b86ebc export as json or csv 2014-05-05 11:31:04 +02:00
ThomasV 8ca7964dac address_field in sweep dialog 2014-05-05 09:58:29 +02:00
ThomasV 6c96b38abf installwizard: multisig wallets 2014-04-19 20:23:27 +02:00
ThomasV 2be8c7f7ed add optional default value to text dialog 2014-04-03 15:36:31 +02:00
ThomasV c5c1ed11f0 better waiting dialog, with Qt signals 2014-03-28 17:05:34 +01:00
ThomasV 2c0814f0d3 simplify gui names 2013-09-24 10:06:03 +02:00