How to delete a button in pyqt5 application
-
The same what ?
-
I need to change the icons of the buttons on the upper left area and put my own image icons. How can I achieve that?
-
I need to change the icons of the buttons on the upper left area and put my own image icons. How can I achieve that?
@john_hobbyist
Did you try searching the source file you have foricon? -
@john_hobbyist
Did you try searching the source file you have foricon?@JonB Yes, but there are nowhere in the code the upper left area buttons...
-
@JonB Yes, but there are nowhere in the code the upper left area buttons...
@john_hobbyist
For me at least, perhaps show a screen shot of what you mean? -
@john_hobbyist
For me at least, perhaps show a screen shot of what you mean?@JonB Yes, I want to change these with my own buttons (image icons)...!

-
@JonB Yes, I want to change these with my own buttons (image icons)...!

@john_hobbyist
I don't see anything for this (the icons) in the.pysource file. At a guess: you haveimport matplotlib.backends.backend_qt5agg as mpl_qt ... class MyToolBar(mpl_qt.NavigationToolbar2QT):So is that some "matplot/Qt navigation toolbar"? Go look there.
-
I am studying stackoverflow and various google search results but I am lost...
-
You should rather study matplotlib since you are using it.
-
@SGaist I have read this: https://matplotlib.org/3.2.2/users/navigation_toolbar.html I cannot figure out something. Also, how do I move them to right side all the buttons?