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