0
votes
0answers
8 views
How to delete a specific row in wxListCtrl after sorting?
I'm using wx.ListCtrl for live report in my app, and there will be continuous status updating including inserting a new row when a task starts and deleting related rows when the tasks end. Since the ...
0
votes
0answers
14 views
Python Tkinter GUI scrambled
I'm trying to create a GUI for a simple numerical estimation of differential equation solution, but the layout doesn't work as intended (I've tried pack and grid). This is my first GUI and maybe I'm ...
0
votes
0answers
10 views
How can I use a jpg as an image for Qlabel in PYQT
I am trying to dynamically change the image for a label, this method works well with png
Can someone tell me how to modify the code to incorporate the code to display jpg as well
main class:
...
1
vote
1answer
20 views
How to change image in QGraphicsView in PyQT?
I am able show an image initially when the form loads. How can I change the image later with another class.
Main class:
self.scene = QtGui.QGraphicsScene()
self.graphicsView = ...
-2
votes
1answer
23 views
Python: How do you make a Tkinter Entry widget that already has text in it? [on hold]
I'd like to make an Entry widget that already has text inside it prior to anyone entering anything in. I tried:
x = Entry(frame)
x.grid(row = 0, column = 0)
x.insert(0, "blah blah blah")
But it ...
1
vote
1answer
34 views
Python - using a variable to determine which array is to be used?
I am trying to put together a python program for an I.T project I am doing at school and it is doing my head in! I am very new to python so I'm really struggling here.
Anyway, the program I am ...
1
vote
1answer
30 views
Video player creation in python
I need to create a widget that will play two synchronized (H264) videos, among other things. I have never done any GUI stuff before and would like to accomplish my goal with the least amount of work. ...
-1
votes
1answer
21 views
How can I make a in interactive list in Python's Tkinter complete with buttons that can edit those listings?
Basically I want there to be a list, which displays files I have stored in a certain folder, and beside the list there are buttons which open up separate windows which can edit or add a new item to ...
0
votes
0answers
21 views
pyqt: Memory Usage
I have a program and in it, it creates tabs, and every time I create one the memory usage goes up, but when I close a tab out the memory doesn't go down. I am just wondering, is this normal, and is ...
1
vote
1answer
33 views
Building menu of files in folder hierarchy
I have a folder, and in that folder are files and other folders, with files and folders in it, etc. Now what I am trying to do is make a drop down menu and add each filename to the menu, and if it is ...
1
vote
1answer
12 views
Subsequent tabs being closed in pyqt
I am trying to close a tab when the users presses the close tab button. This is the code that should do that:
self.tab_widget.addTab(text, TabName)
self.tab_widget.setTabsClosable(1)
...
0
votes
1answer
19 views
Python, PySide sleep without stalling the whole program?
So I have this piece of code:
self.connect(self.Yes_button,SIGNAL('clicked()'),self.Yes_pressed)
self.connect(self.No_button,SIGNAL('clicked()'),self.No_pressed)
def Yes_pressed(self):
...
0
votes
1answer
20 views
Where can I find an updated tutorial for Tkinter [duplicate]
I need to write a small application in python. From what I read, Tkinter should be a reasonable option to use. I tried several tutorials about it and all said I should import the module using
...
0
votes
1answer
21 views
PyQt: Get current tab number
Is there a way to get the currently selected tab's number/index? I have a dictionary of tabs but I need to be able to get the currently active one.
0
votes
5answers
55 views
Input in a Python text-based GUI (TUI)
I have been trying to make my own UI that is text-based in python 2.7, but I thought of an idea about input. So I figured something like this: input = raw_input("|" + "input: ".center(78) + "|"), but ...