home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
qt3_emx.zip
/
examples
/
rangecontrols
/
main.cpp
next >
Wrap
C/C++ Source or Header
|
2001-10-11
|
772b
|
26 lines
/****************************************************************************
** $Id: qt/main.cpp 3.0.0 edited Jun 22 13:24 $
**
** Copyright (C) 1992-2000 Trolltech AS. All rights reserved.
**
** This file is part of an example program for Qt. This example
** program may be used, distributed and modified without limitation.
**
*****************************************************************************/
#include "rangecontrols.h"
#include <qapplication.h>
int main( int argc, char **argv )
{
QApplication a( argc, argv );
RangeControls rangecontrols;
rangecontrols.resize( 500, 300 );
rangecontrols.setCaption( "Qt Example - Range Control Widgets" );
a.setMainWidget( &rangecontrols );
rangecontrols.show();
return a.exec();
}