Design a window without a caption bar - QT Designer -


how can declare window without caption when use qt designer?

if you're looking remove window title, easiest way set window flags in widget's constructor, smth this:

mainwindow::mainwindow(qwidget *parent) :     qmainwindow(parent, qt::framelesswindowhint),  //<-- remove title bar     ui(new ui::mainwindow) {     ui->setupui(this); ...  

or call

qt::windowflags flags = qt::customizewindowhint; setwindowflags(flags); 

more details on window types here: enum qt::windowtype flags qt::windowflags

hope helps, regards


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

sql server - python to mssql encoding problem -

windows - Python Service Installation - "Could not find PythonClass entry" -