QTfrontend/about.cpp
author unc0rr
Sun, 29 Oct 2006 22:39:51 +0000
changeset 221 0f451dae4251
parent 187 96c3154efee5
child 235 28903e620258
permissions -rw-r--r--
Hedgehog on About page
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
187
96c3154efee5 "About" page, not yet filled with content
unc0rr
parents:
diff changeset
     1
/*
96c3154efee5 "About" page, not yet filled with content
unc0rr
parents:
diff changeset
     2
 * Hedgewars, a worms-like game
96c3154efee5 "About" page, not yet filled with content
unc0rr
parents:
diff changeset
     3
 * Copyright (c) 2006 Andrey Korotaev <unC0Rr@gmail.com>
96c3154efee5 "About" page, not yet filled with content
unc0rr
parents:
diff changeset
     4
 *
96c3154efee5 "About" page, not yet filled with content
unc0rr
parents:
diff changeset
     5
 * This program is free software; you can redistribute it and/or modify
96c3154efee5 "About" page, not yet filled with content
unc0rr
parents:
diff changeset
     6
 * it under the terms of the GNU General Public License as published by
96c3154efee5 "About" page, not yet filled with content
unc0rr
parents:
diff changeset
     7
 * the Free Software Foundation; version 2 of the License
96c3154efee5 "About" page, not yet filled with content
unc0rr
parents:
diff changeset
     8
 *
96c3154efee5 "About" page, not yet filled with content
unc0rr
parents:
diff changeset
     9
 * This program is distributed in the hope that it will be useful,
96c3154efee5 "About" page, not yet filled with content
unc0rr
parents:
diff changeset
    10
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
96c3154efee5 "About" page, not yet filled with content
unc0rr
parents:
diff changeset
    11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
96c3154efee5 "About" page, not yet filled with content
unc0rr
parents:
diff changeset
    12
 * GNU General Public License for more details.
96c3154efee5 "About" page, not yet filled with content
unc0rr
parents:
diff changeset
    13
 *
96c3154efee5 "About" page, not yet filled with content
unc0rr
parents:
diff changeset
    14
 * You should have received a copy of the GNU General Public License
96c3154efee5 "About" page, not yet filled with content
unc0rr
parents:
diff changeset
    15
 * along with this program; if not, write to the Free Software
96c3154efee5 "About" page, not yet filled with content
unc0rr
parents:
diff changeset
    16
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
96c3154efee5 "About" page, not yet filled with content
unc0rr
parents:
diff changeset
    17
 */
96c3154efee5 "About" page, not yet filled with content
unc0rr
parents:
diff changeset
    18
221
0f451dae4251 Hedgehog on About page
unc0rr
parents: 187
diff changeset
    19
#include <QGridLayout>
0f451dae4251 Hedgehog on About page
unc0rr
parents: 187
diff changeset
    20
#include <QSvgWidget>
187
96c3154efee5 "About" page, not yet filled with content
unc0rr
parents:
diff changeset
    21
#include "about.h"
96c3154efee5 "About" page, not yet filled with content
unc0rr
parents:
diff changeset
    22
96c3154efee5 "About" page, not yet filled with content
unc0rr
parents:
diff changeset
    23
About::About(QWidget * parent) :
96c3154efee5 "About" page, not yet filled with content
unc0rr
parents:
diff changeset
    24
  QWidget(parent)
96c3154efee5 "About" page, not yet filled with content
unc0rr
parents:
diff changeset
    25
{
221
0f451dae4251 Hedgehog on About page
unc0rr
parents: 187
diff changeset
    26
	QGridLayout *mainLayout = new QGridLayout(this);
0f451dae4251 Hedgehog on About page
unc0rr
parents: 187
diff changeset
    27
	QSvgWidget *hedgehog = new QSvgWidget(":/res/Hedgehog.svg", this);
0f451dae4251 Hedgehog on About page
unc0rr
parents: 187
diff changeset
    28
	hedgehog->setFixedSize(300, 329);
0f451dae4251 Hedgehog on About page
unc0rr
parents: 187
diff changeset
    29
	mainLayout->addWidget(hedgehog);
187
96c3154efee5 "About" page, not yet filled with content
unc0rr
parents:
diff changeset
    30
}