Question

I need help with a program. I need use a texedit + combobox. I need open a txt and set it to my textedit ( i've alredy did it) than i need use my cursor, to get some word, than use a specific thing in my combobox... for example Polarity, this box have only numbers, 1,-1,0 and with a button, i need save it on a new txt or other archive. I have a menu bar with open,new,save and close. I can open a file modify it and save, but i want to save with a buttom, the word that i underline(with cursor) + the number i selected and saved for that word.... it's possible? how i can do it? It's better using table widget? im new using pyqt4 :( please help me... i dont know how to do this thing ..

Was it helpful?

Solution

The best way to get started with PyQt4 is to look at some working examples that are similar to the application you want to write. The PyQt4 source has lots of these - download it from here, and have a look in the examples directory.

In addition to this, there are numerous tutorials available that will help get you started. A good place to start looking is the PyQt4 wiki.

Once you've worked through a few tutorials, you will probably be able to achieve what you want quite easily. And if you get stuck on something, you can always come back and ask about it on SO (just make sure to ask a specific question, and post the code that you have so far).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top