Hello!

With Qt4, is there a way to make sure, that this toolBar

Qt Code:
  1. toolBarKunden = new QToolBar(this);
  2. setObjectName(QString::fromUtf8("toolBarKunden"));
  3. addToolBar(Qt::TopToolBarArea, toolBarKunden);
  4. setWindowTitle(QApplication::translate("Erpel", "toolBarKunden", 0, QApplication::UnicodeUTF8));
To copy to clipboard, switch view to plain text mode 

will be created only once?

Something like

Qt Code:
  1. if (!toolBarKunden)
  2. {
  3. // createToolBar ...
  4. }
To copy to clipboard, switch view to plain text mode 

Thanks in advance,

Guenther