smallB
smallB

Reputation: 17138

Do not want to have close button on my dialog

is it possible to remove close button from QDialog?

Upvotes: 2

Views: 5176

Answers (1)

aske
aske

Reputation: 205

Use window flags. For example:

QDialog d(0, Qt::CustomizeWindowHint|Qt::WindowTitleHint);
d.exec();

Upvotes: 9

Related Questions