April 15, 2011

QT I

  • close() 關閉視窗
  • 改變widget background
QPalette palette
paletta.setColor(QPalette::Normal, QPalette::Base, Qt::green);
widget->setPalette(palette);

No comments: