summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2013-07-12 14:44:46 +0000
committerStijn Buys <ingar@osirion.org>2013-07-12 14:44:46 +0000
commit591fe0685bed981b7bc2824954a4df0c980f1166 (patch)
treef71f57acd7d6d409249cd64977d81a564cbde867 /src
parentc635dcc6ed0b2f6f923dca65066043d57440d964 (diff)
Adds an embeded application icon,
updates the TODO list.
Diffstat (limited to 'src')
-rw-r--r--src/mainwindow.cc27
1 files changed, 26 insertions, 1 deletions
diff --git a/src/mainwindow.cc b/src/mainwindow.cc
index 5a80459..873502e 100644
--- a/src/mainwindow.cc
+++ b/src/mainwindow.cc
@@ -2,10 +2,35 @@
#include "mainwindow.h"
#include "solverwindow.h"
+/* XPM */
+const char *icon_xpm[] = {
+"16 16 2 1",
+" c #000000",
+". c #FFFFFF",
+" ",
+" .... .... .... ",
+" .... .... .... ",
+" .... .... .... ",
+" .... .... .... ",
+" ",
+" .... .... .... ",
+" .... .... .... ",
+" .... .... .... ",
+" .... .... .... ",
+" ",
+" .... .... .... ",
+" .... .... .... ",
+" .... .... .... ",
+" .... .... .... ",
+" "};
+
+
MainWindow::MainWindow()
{
- setWindowTitle(tr("Sudoku"));
+ setWindowTitle(tr("Sudoku"));
+ setWindowIcon(QIcon(QPixmap(icon_xpm)));
+
mainwindow_solverwindow = new SolverWindow();
setCentralWidget(mainwindow_solverwindow);