initial commit

This commit is contained in:
Rick Blommers
2013-04-19 08:26:54 +02:00
commit 89f9bc2f3f
11 changed files with 1131 additions and 0 deletions

26
QtAwesomeSample/main.cpp Normal file
View File

@@ -0,0 +1,26 @@
/**
* Copyright 2011-2013 - Reliable Bits Software by Blommers IT. All Rights Reserved.
* Author Rick Blommers
*/
#include "QtAwesome.h"
#include <QApplication>
#include <QMainWindow>
#include <QPushButton>
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
QMainWindow w;
QtAwesome* awesome = new QtAwesome(&w);
awesome->initFontAwesome();
// a simple beer button
QPushButton* beerButton = new QPushButton( awesome->icon( icon_beer), "Cheers!" );
w.setCentralWidget( beerButton );
w.show();
return app.exec();
}