GriMel
GriMel

Reputation: 2320

Get title text of QDialog in Qt

How do I get the QDialog's title?

I know that I can set title by setWindowTitle but how do I get it?

Upvotes: 1

Views: 4703

Answers (1)

Tomas
Tomas

Reputation: 2210

Use the QWidget::windowTitle() method.

Upvotes: 4

Related Questions