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 have been making a GUI with pyQt5 and I'm at the point where I need to think about how to save the things the user do in my GUI. For example, if he/she checks a box I want it to be saved until next time they start the GUI.
I have been thinking of using a .ini file, but I'm asking if there is another file type I should be using or is there a function/class in pyQt5.
Sry for my bad English plus I'm on my phone typing.
Ty in advanced.
I would use QSettings, Its part of PyQt/Qt and handles location of your settings/config files.
https://doc.qt.io/qtforpython/PySide2/QtCore/QSettings.html
Related
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 1 year ago.
Improve this question
Hi I'm trying to catch the change in the paperclip of my computer with the library pyperclip something same as
url=pyperclip.paste()
I want to create a thread which can append all the urls into a list my script, but I don't know how to could I do it
Thanks for your time and help c:
Did you check the documentation or the source code at all? That's all I did. pyperclip supports waitForPaste and waitForNewPaste methods that can do this.
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
How do you build complex application, I mean application with lots of code in kivy. Like a game that has many levels when you can't import one kivy file inside another(not .kv)
You can use Screen Manager for create pages so you can transfer values between these screens.It doesn't matter how many screen u created or you wrote code.You can create your own game which has different levels or characters (and other things.) I'm seeing you asking many questions in these days.But you're asking another question before giving any feedback or confirmation. You have to start coding first, after that you can share your issues here with an examples. Start coding for you game. So we can help you.
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.
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 5 years ago.
Improve this question
I have a python script that incorporates Excel sheets being imported, written, and that also contain username and password information. I received the massive script from a friend. It is very long and intricate and I need to incorporate it into a GUI. What is the best way to do this without having to rewrite and edit the whole script? I am a beginner to most of this.
I'd start with PyQt and read about the model-view structure it implements. Design a layout with Designer, then connect GUI buttons (signals) with functions written in the script (slots) to perform the functionality.
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