I didn't create a toolBar, why does it appear? How can I delete the toolBar?
-
Hi,
Your base widget is a QMainWindow, the toolbar is a feature of it.
You should be able to find it in the Object Inspector on the right-hand side, right-click and select Remove Toolbar 'mainToolbar' (the name might be something else).
You can also hide it in code.
Or depending on what you want to do, change the base widget to QWidget.
-
@SGaist said in I didn't create a toolBar, why does it appear? How can I delete the toolBar?:
Hi,
Your base widget is a QMainWindow, the toolbar is a feature of it.
You should be able to find it in the Object Inspector on the right-hand side, right-click and select Remove Toolbar 'mainToolbar' (the name might be something else).
You can also hide it in code.
Or depending on what you want to do, change the base widget to QWidget.
@SGaist said in I didn't create a toolBar, why does it appear? How can I delete the toolBar?:
Hi,
Your base widget is a QMainWindow, the toolbar is a feature of it.
You should be able to find it in the Object Inspector on the right-hand side, right-click and select Remove Toolbar 'mainToolbar' (the name might be something else).
You can also hide it in code.
Or depending on what you want to do, change the base widget to QWidget.
I cant find the toolBar on here
-
Since you are using a fairly outdated stack, use the other option which is to remove it in code.