|
Last change
on this file since 95 was 2, checked in by dmik, 20 years ago |
|
Imported xplatform parts of the official release 3.3.1 from Trolltech
|
-
Property svn:keywords
set to
Id
|
|
File size:
487 bytes
|
| Line | |
|---|
| 1 | /****************************************************************
|
|---|
| 2 | **
|
|---|
| 3 | ** Qt tutorial 13
|
|---|
| 4 | **
|
|---|
| 5 | ****************************************************************/
|
|---|
| 6 |
|
|---|
| 7 | #include <qapplication.h>
|
|---|
| 8 |
|
|---|
| 9 | #include "gamebrd.h"
|
|---|
| 10 |
|
|---|
| 11 |
|
|---|
| 12 | int main( int argc, char **argv )
|
|---|
| 13 | {
|
|---|
| 14 | QApplication::setColorSpec( QApplication::CustomColor );
|
|---|
| 15 | QApplication a( argc, argv );
|
|---|
| 16 |
|
|---|
| 17 | GameBoard gb;
|
|---|
| 18 | gb.setGeometry( 100, 100, 500, 355 );
|
|---|
| 19 | a.setMainWidget( &gb );
|
|---|
| 20 | gb.show();
|
|---|
| 21 | return a.exec();
|
|---|
| 22 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.