kqt2::kqt2()
: KMainWindow ( 0, "kqt2" )
{
setCentralWidget ( new kqt2Widget ( this ) );
this->resize ( 400,300 );
this->setCaption ( trUtf8 ( "主界面" ) );
int x=(KApplication::desktop()->width() - this->width())/2;
int y=(KApplication::desktop()->height() - this->height())/2;
this->setGeometry ( x,y, this->width(),this->height());
}
需要代码补全的 代码提示:工程选项-》c++特定选项-》代码补全-》添加...

爱国有理,抗日无罪。支持国产,我愿为先
guest