2011-05-07 17:13:39 -03:00
|
|
|
/*
|
|
|
|
* W.J. van der Laan 2011
|
|
|
|
*/
|
2011-05-12 08:49:42 -04:00
|
|
|
#include "bitcoingui.h"
|
2011-05-22 08:54:13 -04:00
|
|
|
#include "util.h"
|
2011-05-07 17:13:39 -03:00
|
|
|
|
|
|
|
#include <QApplication>
|
|
|
|
|
|
|
|
int main(int argc, char *argv[])
|
|
|
|
{
|
|
|
|
QApplication app(argc, argv);
|
|
|
|
|
2011-05-22 08:54:13 -04:00
|
|
|
/* Testing on testnet */
|
|
|
|
fTestNet = true;
|
|
|
|
|
2011-05-07 17:13:39 -03:00
|
|
|
BitcoinGUI window;
|
2011-05-12 14:28:07 -04:00
|
|
|
window.setBalance(1234.567890);
|
|
|
|
window.setNumConnections(4);
|
|
|
|
window.setNumTransactions(4);
|
|
|
|
window.setNumBlocks(33);
|
2011-05-13 02:30:20 -04:00
|
|
|
window.setAddress("123456789");
|
2011-05-07 17:13:39 -03:00
|
|
|
|
|
|
|
window.show();
|
|
|
|
|
2011-05-12 14:16:42 -04:00
|
|
|
/* Depending on settings: QApplication::setQuitOnLastWindowClosed(false); */
|
|
|
|
|
2011-05-07 17:13:39 -03:00
|
|
|
return app.exec();
|
|
|
|
}
|