Commit baf88079 authored by Radek Polak's avatar Radek Polak

childmath - fixes

parent ecac7a5d
#include <QApplication>
#ifdef QTOPIA
#include <qtopiaapplication.h>
#include "mainwindow.h"
QTOPIA_ADD_APPLICATION(QTOPIA_TARGET, MainWindow)
QTOPIA_MAIN
#else // QTOPIA
#include <QtGui/QApplication>
#include "mainwindow.h"
int main(int argc, char *argv[])
......@@ -6,6 +16,7 @@ int main(int argc, char *argv[])
QApplication a(argc, argv);
MainWindow w;
w.show();
return a.exec();
}
#endif // QTOPIA
......@@ -4,8 +4,8 @@
#include <QDateTime>
#include <QMessageBox>
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
MainWindow::MainWindow(QWidget *parent, Qt::WindowFlags f) :
QMainWindow(parent, f),
ui(new Ui::MainWindow),
okResults(0)
{
......
......@@ -12,7 +12,7 @@ class MainWindow : public QMainWindow
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
explicit MainWindow(QWidget *parent = 0, Qt::WindowFlags f = 0);
~MainWindow();
private slots:
......
......@@ -27,7 +27,7 @@
</property>
<property name="font">
<font>
<pointsize>64</pointsize>
<pointsize>24</pointsize>
</font>
</property>
<property name="text">
......@@ -58,7 +58,7 @@
</property>
<property name="font">
<font>
<pointsize>64</pointsize>
<pointsize>24</pointsize>
</font>
</property>
<property name="text">
......@@ -76,7 +76,7 @@
</property>
<property name="font">
<font>
<pointsize>64</pointsize>
<pointsize>24</pointsize>
</font>
</property>
<property name="text">
......@@ -94,7 +94,7 @@
</property>
<property name="font">
<font>
<pointsize>64</pointsize>
<pointsize>24</pointsize>
</font>
</property>
<property name="text">
......@@ -125,7 +125,7 @@
</property>
<property name="font">
<font>
<pointsize>64</pointsize>
<pointsize>24</pointsize>
</font>
</property>
<property name="text">
......@@ -143,7 +143,7 @@
</property>
<property name="font">
<font>
<pointsize>64</pointsize>
<pointsize>24</pointsize>
</font>
</property>
<property name="text">
......@@ -161,7 +161,7 @@
</property>
<property name="font">
<font>
<pointsize>64</pointsize>
<pointsize>24</pointsize>
</font>
</property>
<property name="text">
......@@ -192,7 +192,7 @@
</property>
<property name="font">
<font>
<pointsize>64</pointsize>
<pointsize>24</pointsize>
</font>
</property>
<property name="text">
......@@ -210,7 +210,7 @@
</property>
<property name="font">
<font>
<pointsize>64</pointsize>
<pointsize>24</pointsize>
</font>
</property>
<property name="text">
......@@ -228,7 +228,7 @@
</property>
<property name="font">
<font>
<pointsize>64</pointsize>
<pointsize>24</pointsize>
</font>
</property>
<property name="text">
......@@ -259,7 +259,7 @@
</property>
<property name="font">
<font>
<pointsize>64</pointsize>
<pointsize>24</pointsize>
</font>
</property>
<property name="text">
......@@ -277,7 +277,7 @@
</property>
<property name="font">
<font>
<pointsize>64</pointsize>
<pointsize>24</pointsize>
</font>
</property>
<property name="text">
......@@ -295,7 +295,7 @@
</property>
<property name="font">
<font>
<pointsize>64</pointsize>
<pointsize>24</pointsize>
</font>
</property>
<property name="text">
......
/****************************************************************************
** Meta object code from reading C++ file 'mainwindow.h'
**
** Created: Sat Jan 4 14:46:47 2014
** Created: Sat Jan 4 15:38:57 2014
** by: The Qt Meta Object Compiler version 63 (Qt 4.8.2)
**
** WARNING! All changes made in this file will be lost!
......
......@@ -18,12 +18,12 @@ pkg [
]
# Input files
HEADERS=\
src/childmath.h
SOURCES += main.cpp\
mainwindow.cpp
SOURCES=\
src/main.cpp \
src/childmath.cpp \
HEADERS += mainwindow.h
FORMS += mainwindow.ui
# Install rules
target [
......@@ -42,9 +42,3 @@ pics [
files=pics/*
path=/pics/childmath
]
help [
hint=help
source=help
files=*.html
]
\ No newline at end of file
/********************************************************************************
** Form generated from reading UI file 'mainwindow.ui'
**
** Created: Sat Jan 4 14:46:45 2014
** Created: Sat Jan 4 15:38:55 2014
** by: Qt User Interface Compiler version 4.8.2
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
......@@ -72,7 +72,7 @@ public:
sizePolicy.setHeightForWidth(label->sizePolicy().hasHeightForWidth());
label->setSizePolicy(sizePolicy);
QFont font;
font.setPointSize(64);
font.setPointSize(24);
label->setFont(font);
horizontalLayout->addWidget(label);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment