How to temporarily hide the main window PyQt5? [closed] - python

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 1 year ago.
Improve this question
I have removed the title of the main window.
Created a button that should hide the window, but not close it. How can I implement a similar function for her?

I guess you want something to minimize application
like this button :
To minimize your application you should call showMinimized(); function.
look at this Qt Documentation link :
https://doc.qt.io/qt-5/qwidget.html#showMinimized

Related

How to start Icons size [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed yesterday.
Improve this question
I don't know how to start I want to write a code that changes icon size on desktop without mouse click.
I need some help on how to get started and what it takes to gain control of the system.
take the icon and resize it with openCV and use os.system to change the icons

how can i create a delete button just as same as notepad? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 days ago.
Improve this question
I know it might be a essay question but I am new in python adn really need your help.
I wanna make delete in Edit menue using Qt textEdit. but working with these type of Data chaing it into Qt text cursor or Qtstring it's a bit difficult. in fact, I wanna select aome text and delet them in my app.
def delet(self):
print('Run delet')
cursor = self.connector.ui.textEdit.textCursor()
textSelected = cursor.selectedText()
str_text = str(textSelected)
I know its not working and didnt gave me a hand.

Hold down a button [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I want to execute a method when the button pressed and executes another method when it released. I searched a lot in the Internet and didn't understand how to do it, how can I do that ?
You can bind actions to specific functions with the following example. on_press and on_release are functions, you don't have to call them with () , they will automatically run.
button.bind("<ButtonPress>", on_press)
button.bind("<ButtonRelease>", on_release)

Drawing Text On Applications [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I really want to draw onto an application window.
For example, I want it to display 'Hello World' on the discord window at the top left. Is this possible?
In order to do that, you will need to download themes from internet for discord, maybe with BetterDiscord or something, then in the css file you will need some simple css knowledge about the coordinates/placement, and the text you want to display.

wxPython. How to open a folder with wxWidget (python) hyperlink? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I want to create a hyperlink in my wx widget which opens linked folder on clicking. Please help me how to build that.
Thanks.
os.system("start C:")
will launch a file window (on windows at least) ... it has nothing to do with wx
unless you are talking about opening a FilePickerDialog?
I have also been informed that
os.system("explorer C:")
would also work

Categories