Member Avatar
Hello!!I have a database and I want to display its data into a QTreeView in PyQt.The database's column has file paths.I have a problem in filling this treeview with data because it's a database and I'm not sure if it is like working with txt files and because it is …
by Odyssey2001 in Software Development ()
Member Avatar
Hello!At first,I'm so sorry for this huge post!!I wrote the whole code from the book,that's why the post is so big!!I'm reading this book : Rapid Gui Programming with Python and Qt.And I have problem understanding some parts of the code.I would be really thankful if someone could help me …
by Odyssey2001 in Software Development ()
Member Avatar
I have this as my major code ... and the ui_registron imported is this ... I am trying to change the content of the same window after the proceedBtn is clicked. What do I have to do to move the user to a new window frame? and then they can …
by silverdust in Software Development ()
Member Avatar
Hi need help passing an argument through signal emitted from a function at module level, when the function is executed I want to emit a signal with an argument whose value i want to pass to the method that is connected to that signal in the class in that same …
by krystosan in Software Development ()
Member Avatar
I have made a QTableView that displays images from disk, there are two seriously agonizing problem I am facing. First of after the windows shows up making it maximize or changing size of window is very slow, and secondly I want to display images height width dependong on what can …
by krystosan in Software Development ()
Member Avatar
How do I display images in QListView of size of standard thumbnail size like 250 x 200 , and file nametext should wrap to next line , right now the images displayed are very small and are not positioned under each other in proper row column order.
by krystosan in Software Development ()
Member Avatar
How do I rotate image in this code every n seconds lets say i want to change the image in pixmap after 5 seconds to next image, what is happening right now the last one gets displayed.
by krystosan in Software Development ()
Member Avatar
It seems like the slotDirChanged is getting executed twice, becuase everything seems to be working fine, Is ther any way error can be avoided? what I am doing wrong ?
by krystosan in Software Development ()
Member Avatar
in the designer when i right click a widget, and i click promote to i get this window? see attached screenshot what is it for ? does that mean i can create a new class in this case inherit QLineEdit and add more methos to it ? how can i …
by krystosan in Software Development ()
Member Avatar
I am trying to load the help on each method into a QTextEdit in PyQt4 how can I have this variable hold help on a method, example: but data value contains
by krystosan in Software Development ()
Member Avatar
I am trying to remove a column from PyQt4 implementation of table model , however I am not able to figure it out what I am doing wrong any help would be appreciated...
by krystosan in Software Development ()
Member Avatar
I wrote this function earlier to set the priority if the items in listwidget, however what I think would be more pythonic is to write get and set priority method... how should i proceed with writing the method in a pythonic way ?
by krystosan in Software Development ()
Member Avatar
Can anyone please suggest me best practice to create a Custom widget using QtDesigner? I want to see how to approach adding Qpushbutton or QCheckboxGroup inside the cells of QTable Widgets that will be added on user clicking add new row to QTable at runtime
by krystosan in Software Development ()
Member Avatar
I recently made an appication that utilizes pyqt , i could say i wrote the code pythonic and made everything work work as I wanted, but didnt used any data model , so later I realized I could have used data model since I am building list in the QListView …
by krystosan in Software Development ()
Member Avatar
I have made an standalone app inheriting from base class , and now i want to add a floating toolbar to it the way I could have in QMainWindow, how should I do it ?
by krystosan in Software Development ()
Member Avatar
why the above code is showing an empty window , I am trying to stack buttons in VBoxLayout().. any idea what am i forgetting ?
by krystosan in Software Development ()
Member Avatar
how do i make use of seticon inherited by QCheckBox to display icon with exclusive checkboxes i found a link here but doesnt have any example how to do so
by krystosan in Software Development ()
Member Avatar
The UI is as following . What I want is : When I press the Enter key ,the label should shows “Enter” When I press The blank space key ,the label should shows “space” How to implement this ? I know I should reimplement the keyPressEvent handler ,but I guss …
by chao.lee.927 in Software Development ()
Member Avatar
While I was trying to write a small program to preview DjVu files I encountered a peculiar problem. This is a small function that renders a page of a DjVu document into QImage class of PyQt4. Say now I set the image width and height to the program crashes out …
by britanicus 1 in Software Development ()
Member Avatar
I am trying to grab the string/object from the treeview. So when a user click on any item in the treeview, I can show it on the terminal. ANy help is appreciated.Here is the code. Output on clicking the item in treeview is: Instead of the actual string.
by jgehlot09 in Software Development ()