Commit graph

113 commits

Author SHA1 Message Date
Abdussamad
5997c18aef better code organization
function parameters should be lowercase

Fix crash on invalid labels import

Added invoice exporting and reduced duplicate code

Better exception handling

removed json module import

some more cleanup

Cleaned up some stuff

Added exporting contacts
2018-02-21 19:00:41 +01:00
SomberNight
51c235a8be privkeys WIF: store in extended WIF internally; export as "txin_type:old_wif" 2018-02-19 20:42:53 +01:00
SomberNight
c4d31674ab follow-up c3fd7db310: editable_columns is now a set 2018-02-16 16:12:08 +01:00
Johann Bauer
9e057e5446 Reset scroll position after updating list 2018-02-05 22:11:29 +01:00
Johann Bauer
95da5a8bed Enable adding transactions from file through Drag and Drop 2018-01-24 21:32:51 +01:00
SomberNight
3de5b91c15 ScanQRTextEdit allow_multi=True for sweeping and importing privkeys into existing wallet 2017-12-25 19:41:03 +01:00
SomberNight
d403c59ad7 fix #3486 2017-12-09 21:23:10 +01:00
SomberNight
098c2be919 follow-up 70d23f9e3b 2017-11-13 16:18:56 +01:00
Justin Turner Arthur
857eb4ac1d Remove unused imports. Explicitly import a few deep imports. 2017-11-13 02:28:00 -06:00
ThomasV
7578ce2331 cleanup py2 compatibility imports 2017-10-23 13:54:09 +02:00
ThomasV
252cb491c8 show message when copy button is pressed 2017-10-06 16:50:05 +02:00
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