bitcoin/gui/src/bitcoin.cpp

29 lines
541 B
C++
Raw Normal View History

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