Set the title bar icon, location and size example
:: MainWidow MainWidow (the QWidget * parent) : The QMainWindow (parent) { ui.setupUi ( the this ); the this -> setWindowTitle ( " QQ " ); the this -> setWindowIcon (QIcon ( " : /images/po.jpg " )) ; // settings icon the this -> setWindowFlags (the Qt :: FramelessWindowHint); // remove title bar the this -> setGeometry (QRect ( 950 , 55 , 350 , 250 ;)) // orientation and size of the window may be provided }