Im not able to disable this icon in QT5 window. Present window is designed in QT5 community designer. Any help will be appreciated.
Thank you
Related
can I export ui element from ui software to kivy and tkinter?
I did not try but I want to learn that before I dive into tkinter more and more.
I'm trying to make a desktop application using pyqt5 because I need it to be cross platform but the UI is very inconsistent from a platform to another (the position of the widgets on the screen is different and sometimes they're on top of other widgets).
I'm new to pyqt5 and python in general so can you tell me why this is happening and how to fix it if possible?
PS: i'm using Qt designer to generate the UI and you can find all the code here
here are some examples:
on windows 10
on linux mint (ignore the missing images)
How is it possible to use the py5 tools from library inside a PyQt5 Canvas of a simulation project?
For example, using the py5 sketch as a PyQt5 canvas?
Thank you very much!
I'm developing a program in python with a gui in pyqt4.
Now i have some porblem with the design of my buttons.
They have some style like windows 98 and i don't like that.
I have change my theme of my raspberry but nothing changed in my python application.
The theme changed my raspberry but not my application.
I use LXDE on my raspberry.
Do have anybody some solution?
Thanks,
You can change style of the Qt Application using one of the built in styles from Qt, for example you can use:
app.setStyle('plastique')
There are QWindowsStyle, QPlastiqueStyle, QCleanlooksStyle, QGtkStyle, QMotifStyle, QCDEStyle...
or you can use QSS (Qt Style Sheets) to theme your application, docs are here: http://qt-project.org/doc/qt-4.8/stylesheet.html
I have a PyGTK application, and it works fine in Gnome, but under Unity (ubuntu 10.10+) the global menu bar doesn't work - the menus are not displayed in the application window or the top bar. Is there a way to force the menu to either skip the global menu bar or display in it?
Edit:
Minimal sample added.
#! /usr/bin/python
import GUI
from GUI import Window
app = GUI.Application()
window = Window()
window.show()
app.run()
I had similar problems with simple programs created using pygtk. I believe the situation is:
pygtk works with gtk2.x
Unity uses gtk3
pygtk does not work with gtk3
python-gobject is the gtk3 equivalent of pygtk
You have an extra layer of complexity since you're using pyGUI. Most likely, pyGUI uses pygtk, which will not work with GTK3 / Unity. You can either persuade the people at pyGUI to release a GTK3-compatible version, or re-write your app from scratch using python-gobject.