Commit Graph

102 Commits

Author SHA1 Message Date
Johann Bauer 5c2beb4ab5 Adjust colors if dark color scheme is used 2017-10-04 15:17:20 +02:00
SomberNight 6d6f5683cb fix: return type of QFileDialog.getSaveFileName() changed 2017-09-24 04:51:11 +02:00
Johann Bauer d9db331580 Fix wrong argument type in QMessageBox.information
TypeError: information(QWidget, str, str, buttons: Union[QMessageBox.StandardButtons, QMessageBox.StandardButton] = QMessageBox.Ok, defaultButton: QMessageBox.StandardButton = QMessageBox.NoButton): argument 4 has unexpected type 'str'
2017-09-23 12:06:12 +02:00
SomberNight 4ac162f18b migration to PyQt5. initial commit. 2017-09-23 05:54:38 +02:00
ThomasV f3027fa574 m 2017-08-26 08:28:24 +02:00
ThomasV f1a8c0b0e6 misc. fixes for python3 2017-08-26 08:28:24 +02:00
Dmitry Sorokin d304ccdf17 py3 in qtgui 2017-08-26 08:27:47 +02:00
Dmitry Sorokin 5be78950ca py3 2017-08-26 08:27:47 +02:00
suut bc4fcfbebd Remove usages of deprecated apply() builtin 2017-08-01 05:22:18 +02:00
Johann Bauer ec6ab022e3 Keep filter after updating the list 2017-02-16 17:10:02 +01:00
ThomasV cd65516ff0 wrap list updates in setUpdatesEnabled() 2017-01-04 18:22:15 +01:00
ThomasV ac59296846 allow spaces in private keys (fix #1602) 2016-10-22 10:06:51 +02:00
ThomasV c90b2497f5 in-place labels update (fix #1841) 2016-10-10 10:32:47 +02:00
ThomasV 99a3250b3f wizard: show passphrase in the same window as the seed 2016-08-29 15:33:16 +02:00
ThomasV 12dfccb3ab Define TreeWidget subclasses for lists
* move class code in separate files
* make menu column-dependent (fixes #1734)
2016-05-27 10:31:58 +02:00
ThomasV fe9ec6de06 reformatting 2016-01-26 13:51:47 +01:00
Neil Booth f92843bb10 Top level window fix for tx_dialog and h/w wallets 2016-01-23 16:06:32 +09:00
Neil Booth 618026f96c Installwizard: tweak hardware wallet handling 2016-01-22 22:16:58 +09:00
Neil Booth e2627e0944 QMessageBox is a top-level window 2016-01-17 19:40:05 +09:00
Neil Booth 144f53be18 Use TaskThread to simplify ThreadedButton
And improve labels dialog
2016-01-17 16:13:32 +09:00
Neil Booth c714acf739 Add TaskThread, use to simplify WaitingDialog
This will be useful as a client thread for hardware wallets
2016-01-17 15:47:08 +09:00
Neil Booth 0219687d41 Some work on multisig. 2016-01-13 19:20:58 +09:00
Neil Booth 45f518e191 Improve Master Public Keys dialog
- Put the radio buttons inside the group box
- Share more code between the have-group-box and not cases
- Use ChoicesLayout
- Don't use cosigner terminology unless it's a Multisig wallet
2016-01-11 12:31:45 +09:00
Neil Booth 9cf0a9720f QT handler improvements
Now we have the top_level_window() function, stop using the window
stack.
2016-01-10 13:24:56 +09:00
Neil Booth 83cc5e2001 Fix top level window issue on Mac
Better, more generic fix superseding prior two patches.
2016-01-10 12:56:12 +09:00
Neil Booth 2377476207 Separate out new QT util ChoicesLayout
For future use elsewhere
2016-01-09 15:38:27 +09:00
Neil Booth 40ae744c1e Fix show_error inheritance issue 2016-01-03 11:18:20 +09:00
Neil Booth a7028176cd Trezor: Add wipe device functionality
Also add a chicken box for PIN removal.
2016-01-03 10:26:34 +09:00
Neil Booth 8f91af28a5 More cleanup of WaitingDialog
Simplify its interface
2015-12-26 11:18:32 +09:00
Neil Booth ffd081ac21 Clean up WaitingDialog
Prevent GC so callers don't have to.
2015-12-23 22:10:11 +09:00
Neil Booth 0ecf2565ce MessageBoxMixin-related cleanup 2015-12-23 20:05:09 +09:00
Neil Booth 9484b6371f More modality fixes and cleanups 2015-12-23 18:31:36 +09:00
Neil Booth 15e9991e2a Move message box logic to a mixin 2015-12-23 15:10:15 +09:00
Neil Booth 21e4a30371 Modality fixes for critical errors 2015-12-23 13:39:20 +09:00
Neil Booth 57d4b27696 Fix a bunch more modality issues for message boxes 2015-12-23 13:21:13 +09:00
Neil Booth 44a436e964 Make line_dialog, text_dialog window modal
Move new_wallet and get_wallet_folder from qt/__init__.py
to qt/main_window.py for correct centring and window modality.
2015-12-22 07:55:33 +09:00
Neil Booth 8598f9ef9c Permit sweep of private keys for watch-only wallet
Fixes #1585
Warn user if watching-only.
Introduce new helper class WindowModalDialog and use it in a couple
of places.  This is better than process-modal dialogs for our
multi-window daemon setup.
2015-12-21 23:52:48 +09:00
Neil Booth 2226667437 QT: Stop timer cleanly to avoid exceptions on exit 2015-12-20 16:15:33 +09:00
ThomasV 9d3162b1a1 simplify get_label 2015-12-15 12:52:30 +01:00
Neil Booth 0371a3dc32 Don't refresh whilst editing!
It's long been a pet peeve of mine that whilst editing a label,
something would cause Electrum to refresh the widget, such as
an incoming tx or a new block, and you'd lose your edits.
This changes MyTreeWidget so that, if editing, updates are
deferred until editing finishes.
2015-09-09 09:36:35 +09:00
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