Commit graph

121 commits

Author SHA1 Message Date
Maran
504ea37c79 Made cfg an class attribute and fixed server changing for lite gui since proxy got added 2012-09-21 23:18:32 +02:00
bkkcoins
ad24870a03 small edit to config syntax 2012-09-21 15:10:43 +07:00
bkkcoins
3007d95ceb Added code to remember window position 2012-09-21 10:53:14 +07:00
Samuel Tardieu
593b2552d1 Do not qualify relative imports
This is unneeded and fails while installed.
2012-09-07 11:27:00 +02:00
Amir Taaki
89a4045e3a Dump problem tx to temporary file when error happens. This allows developers to debug failed transactions from users by having access to the raw tx dump to see what is wrong.
This would useful in the pro-mode GUI. There should be implemenation for the send method between both these GUIs rather than having their own copy-pasted version. Also the fee system needs fixing.
2012-09-02 19:13:11 +02:00
Amir Taaki
9c122c23ea Fixed issue 19 by jimboman77: https://github.com/spesmilo/electrum/issues/19
"Right now the only check thats being done is making sure that the length isn't 0, ie something is being entered before the send button becomes clickable."

Also check that entered amount is <= btc_balance before enabling send button.
2012-08-29 21:43:34 +01:00
Amir Taaki
b3b910d926 WalletSynchronizer had a race condition caused by calling the callback before the Qt event loop (or other initialisation) finished. Ergo we split initialisation and the running of the thread, then use Qt SIGNALs to yield back into the Qt event loop. This ensures that the callback for the servers_list_changed is not called until the main Qt event loop is actually running. 2012-08-29 20:53:22 +01:00
Amir Taaki
3fe5ba85b2 Added QObject to MiniActuator. 2012-08-27 03:50:42 +02:00
Amir Taaki
10e3aa7c1e Merge branch 'servers'
Conflicts:
	lib/gui_lite.py
2012-08-27 03:48:57 +02:00
Amir Taaki
2b6d5ebd55 Change server in lite mode. 2012-08-27 03:47:40 +02:00
Amir Taaki
b25e93c4bc Update servers list once fetched from remote. 2012-08-27 03:32:31 +02:00
Amir Taaki
89953895f8 Added explanation to line returning qVariant for future eyes. 2012-08-23 10:09:54 +01:00
Amir Taaki
77b3052f44 (explanation: the value returned is a qVariant not a bool and so needs explicit comparison to work)
Revert "got rid of boolean value comparison using == as stated in pep8 style guide"

This reverts commit 3bd7717038.
2012-08-23 10:07:28 +01:00
Jimbo77
3f167cb650 got rid of magic number 2012-08-22 19:50:21 -07:00
Jimbo77
c2713f6089 changed to use built-in list methods 2012-08-22 18:33:55 -07:00
Jimbo77
6122898915 changed to use built-in list methods 2012-08-22 18:33:35 -07:00
Jimbo77
e0d6570a1f created set_quote_currency() docstring 2012-08-22 18:25:38 -07:00
Jimbo77
f8c68fc51e created amount_input_changed() docstring 2012-08-22 18:22:56 -07:00
Jimbo77
f2277adf10 created mousePressedEvents() and se_balance_text() docstrings 2012-08-22 18:07:35 -07:00
Jimbo77
3bd7717038 got rid of boolean value comparison using == as stated in pep8 style guide 2012-08-22 17:50:54 -07:00
Jimbo77
9f4f7ee3c6 created docstring for set_button_amount() 2012-08-22 17:45:19 -07:00
Jimbo77
fac2bc7387 updated create_quote_text() docstring 2012-08-22 17:30:59 -07:00
Jimbo77
36e250d3ab created create_quote_text() docstring 2012-08-22 17:26:50 -07:00
Jimbo77
e34243d778 created set_balance() docstring 2012-08-22 17:20:42 -07:00
Jimbo77
62ec74c010 created docstring for expand() 2012-08-22 16:35:34 -07:00
Amir Taaki
943bcd0c84 Use self.close instead of sys.exit (self.close() is the proper Qt method :) 2012-08-22 19:41:06 +01:00
Jimbo77
b027678d0e created several more docstrings in miniActuator 2012-08-21 23:34:12 -07:00
Jimbo77
69110160ac created docstring for miniActuator 2012-08-21 23:17:48 -07:00
Jimbo77
deb29affc5 created load_theme() docstring 2012-08-21 22:43:35 -07:00
Jimbo77
74cea9b709 Created docstring for miniActuator __init__() 2012-08-21 22:36:15 -07:00
Jimbo77
d76a85acff added quit functionality to menubar in lite gui 2012-08-21 22:21:28 -07:00
Amir Taaki
3a648f9119 Show list of all the servers available in the menubar. 2012-08-20 10:20:40 +01:00
Amir Taaki
2598e89d00 More Pythonics util.print_error 2012-08-20 10:11:23 +01:00
Amir Taaki
9115ef6416 alphabetically sort theme names in themes menu 2012-08-18 08:53:34 +01:00
Amir Taaki
2d1bd9d203 bugfix: reset path after switching to new theme selection. 2012-08-18 08:32:15 +01:00
Amir Taaki
4d5615b8a8 Show and change themes via GUI. 2012-08-18 08:23:57 +01:00
Amir Taaki
49aec96e1e Load theme in gui according to setting. 2012-08-18 08:23:26 +01:00
Maran
39660eeac5 Fix merge conflicts 2012-08-16 23:36:41 +02:00
Maran
175fd47130 Changing around where we issue the messages 2012-08-16 11:28:20 +02:00
Maran
00097a23de Added pretty errors when pyqt is not found or qt is not the right version 2012-08-15 22:50:36 +02:00
Amir Taaki
6b75c5f3fa Added donation address. 2012-08-14 20:53:02 +01:00
Amir Taaki
4b1feddcbd put it back to == True (oops :p) 2012-08-13 23:05:56 +01:00
Maran
7d7a32e1ad Fix send button not activating 2012-08-13 23:55:37 +02:00
Amir Taaki
75f8878562 Fix check_button_status. QVariant returned by property(...) will not return a python bool object, but it can evaluate. 2012-08-13 20:57:49 +01:00
Amir Taaki
2993f2313f fixed indentatioin to use 4 spaces, not 2 2012-08-13 20:54:11 +01:00
Amir Taaki
62aa814101 "BrainWallet Info" menu item in lite mode. 2012-08-13 14:42:38 +01:00
Amir Taaki
c684e4762e use prettier form of connect (which has less code, and more clarity) 2012-08-12 22:17:41 +01:00
Maran
0363f21c32 Merged history from master 2012-08-12 22:58:48 +02:00
Amir Taaki
c506139e68 use labels for to/from in lite history where available. 2012-08-12 21:52:28 +01:00
Amir Taaki
a61d1ad44b open electrum-desktop.com website instead of manual. 2012-08-12 21:48:51 +01:00