Questions tagged as 'pyqt-4'

0
answers

Screen Call Bug

Hello! I created a function that calls a screen (urban) when the trigger (Trigger) is triggered, but when the function is executed it automatically closes the screen that was opened (I wonder why this happens, if it is just a or if it terminates...
asked by 25.09.2018 / 05:53
1
answer

Manipulation and grid, hbox and vbox in pyqt4

I'm a beginner and I'm making a graphical interface with the help of pyqt4. I need to add two columns of buttons where there is only one, but every time I try, the button goes to the right and spoils the proportions. Can anyone help me? What...
asked by 21.10.2018 / 04:21
1
answer

How do I change the contents of a qLabel at runtime?

Good afternoon everyone! I need each qLinedit row to be numbered in ascending order from 1 to 24, I created a qLabel for this, but I do not know how to make it change the numbering according to each line, I could only print a lot of [i] as shown...
asked by 18.09.2018 / 23:04
0
answers

How to transform the string of a QLineEdit into float?

Good evening everyone! I've been trying to transform the string of a Qline edit into float and I can not !! It always returns the error saying that I can not convert string to float. What can I do to get around this? I'm trying like this: if f...
asked by 15.09.2018 / 00:10
0
answers

How to use a function f (x) given via graphical interface to perform calculations?

How do I get the function given by the user, and in the places of x, go changing by the numerical values? I tried the code below, but I am not receiving any value of y: try: #carregamento distribuído axial f(x) if (self.ql_distloads[st...
asked by 12.09.2018 / 19:31
0
answers

Define part scale of a drawing based on the complete drawing in 3D matplotlib

Good evening everyone! I need to create a graphical interface where the user can insert lines and eventually circles at the ends of these lines, as shown in the example, but, depending on the size of the lines, my circles that are fixed at radiu...
asked by 13.09.2018 / 00:41
1
answer

Arrange tabs in pyqt4

Good afternoon everyone! What command do I use to "break" the line of tabs? I would like to have, for example, 3 tabs in one row and 3 tabs just below it. The skeleton I have referring to the tabs is: # layout tab tabs = qg.QTabWidg...
asked by 04.09.2018 / 18:13
0
answers

I can not capture data provided in a lineEdit

Good afternoon everyone! I need to reuse the data from lineEdit's obj and obj1 in another class, but when I try to do this, I get the error: AppCAD 'object has no attribute' coord. Where am I going wrong? import sys import PyQt4.QtCore as qc i...
asked by 21.08.2018 / 20:39
0
answers

Interface to plot points on a graph with matplotlib

Good afternoon guys, I use pyqt4 and python 2.7. How do I create what I described in the title? I'm a beginner, forgive me if my programming or explanation is not the best. Below is the code I have so far class AppCAD(qg.QMainWindow): def...
asked by 21.08.2018 / 19:27
0
answers

Error string index out of range

Good evening everyone! I'm creating a calculator, but when it comes to finding the object that sent the signal to get the last character of the name to display on the lcd display, I get the above error. What am I missing? import sys from Py...
asked by 14.08.2018 / 23:48