bitcoin/bitcoin.cpp

24 lines
436 B
C++
Raw Normal View History

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-07 17:13:39 -03:00
#include <QApplication>
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
BitcoinGUI window;
window.setBalance(1234.567890);
window.setNumConnections(4);
window.setNumTransactions(4);
window.setNumBlocks(33);
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();
}