Neil Booth
5071d75912
Clean up install wizard a little
Also fixes #1462
9 years ago
Neil Booth
835bc4e4aa
More cleanup now self.window is gone
No need for self.main_window in gui object.
No need for hooks "init_qt" and "close_main_window".
9 years ago
Neil Booth
8ce2a95695
Have plugins object track the window set
No need for self.gui nor init_qt hook any more. This makes
plugins more independent of window and gui types.
9 years ago
ThomasV
897a5d34ed
share contacts and invoices objects between windows
9 years ago
ThomasV
2a889d318b
fix: make uri optional in new_window
9 years ago
ThomasV
3cc7c1454b
move back URI rewriting to main electrum script
9 years ago
Neil Booth
87cff8e380
Check URI in "electrum" because of ambiguity
9 years ago
Neil Booth
27917af2bf
Get URIs working properly for multiple windows
9 years ago
Neil Booth
14cc260092
Remove redundant config argument.
Also don't default path for clarity.
9 years ago
ThomasV
5df03951e5
move window initialization hook inside class
9 years ago
Neil Booth
49797c3094
Create a Plugins class
Encapsulates plugin logic and removes global variable ugliness.
9 years ago
Neil Booth
f2fb856f1c
Exchange rate plugin fixes for multiple windows
This should be enough to keep everything working that was working
before. The plugin itself needs a lot more work to fix existing
bugs and be sane.
9 years ago
ThomasV
bdb4d3ecb8
move methods calling installwizard to main gui class
9 years ago
ThomasV
0cb8c21130
use wallet path instead of config
9 years ago
Neil Booth
3ac99af7c6
Remove unused variable
9 years ago
ThomasV
93c468504e
use the parent config instance when daemon starts a window
9 years ago
Neil Booth
90316d0459
Clean up imports, 2nd attempt
9 years ago
Neil Booth
0fa48b926c
Fix system tray icon for multiple wallets
QT doesn't permit dynamic menus for QSystemTrayIcon for some reason
so we need to rebuild it each time the window set changes.
Add a close and hide/show submenu for each wallet.
Double click hides / shows all the wallets.
9 years ago
ThomasV
ce06d92100
open each wallet in a separate window
9 years ago
Neil Booth
2b7a555f0f
Unminimize and raise an existing window
if its wallet is requested.
9 years ago
ThomasV
bbe64621ca
close wallet when window is closed
9 years ago
ThomasV
92e0744470
Refactoring of daemon:
* gui and daemon are in the same process
* commands that require network are sent to the daemon
* open only one gui window per wallet
9 years ago
ThomasV
aedfbd3855
start wizard from main_window. fixes #1250
9 years ago
ThomasV
e77f0c98e7
extend bitcoin: URI with signature data, instead of serialized format
10 years ago
ThomasV
060e3aa23e
plugins: call load_wallet in install wizard
10 years ago
ThomasV
f70a996619
fix trezor initialiation hook (pass window in load_wallet)
10 years ago
ThomasV
d5f6651237
follow up e20dfcd3eb
10 years ago
ThomasV
c2a4252065
do not pass config to storage. request height from network_proxy if connected
10 years ago
Neil Booth
1bafa42fbd
Remove two redundant refreshes of history tab during startup.
The call to update_wallet() is redundant with earlier call to load_wallet().
Set the need_update boolean so the timer will refresh rather than
unconditionally refreshing. This typically results in it merging with
the first network "updated" event resulting in one less refresh.
For me in online mode this results in history being calculated and shown
only twice during startup rather than four times.
10 years ago
ThomasV
7a7ad7fe2d
call go_lite after load_wallet
10 years ago
ThomasV
8251c5b6d9
fix #1057
10 years ago
ThomasV
21b2fcbe85
always_hook. fix trezor handler. fixes #1146
10 years ago
ThomasV
7e6bd2eb8c
give user the option to remove incomplete wallet
10 years ago
ThomasV
c00b1f649a
do not save gui_last_wallet if -w parameter was passed
10 years ago
ThomasV
cc48663d0e
set window.app in constructor
10 years ago
ThomasV
8644bbf734
uri fix
10 years ago
ThomasV
c56fe45ad7
show wizard before running it
10 years ago
ThomasV
20fc2da9b5
do not attemps last_wallet if file does not exist
10 years ago
ThomasV
77d010bcec
store gui last wallet separately, to fix command line
10 years ago
ThomasV
9f9bab6cf0
fix issue #968
10 years ago
ThomasV
5adb10e4d2
simplification
10 years ago
ThomasV
6d8eebe2db
raise exception when seed version does not match
10 years ago
ThomasV
b1eb6ebc91
qt gui: handle exceptions raised when opening wallet
10 years ago
Tafelpoot
d9c5250a6f
removed trailing whitespace and fixed indentation in history widget
10 years ago
ThomasV
5b84cbe9fb
close_wallet
10 years ago
ThomasV
bcb18bbde4
call set_language before QApplication. fixes #400
10 years ago
ThomasV
79588eb4da
init plugins before gui. register wallet types in plugin constructor
10 years ago
ThomasV
44566054a2
qt: quit on SIGINT
11 years ago
ThomasV
e702b3312b
proper return from install wizard
11 years ago
ThomasV
fb0574c5a0
fix callbacks
11 years ago