Form1::Form1( QWidget* parent, const char* name, WFlags fl )
: QWidget( parent, name, fl )
{
if ( !name )
setName( "Form1" );
int row=0,col=0,k=0;
setPalette(QPalette(QColor(0,0,0)));//设置背景颜色
QPixmap pic(":/picture/ligong.jpg");
TextLabel1 = new QLabel( this, "TextLabel1" );
GroupBox1 = new QGroupBox(this, "Watching Windows" );
GroupBox1->setPalette(QPalette(QColor(100,100,100)));//设置GroupBox1背景