49 Topics

Member Avatar for
Member Avatar for xopenex

Hi guys, still Noob here, so i apologize for not using the correct terminology. I will be as detailed and accurate as possible! I've been using QT Designer, and been trying to figure out how to "combine" the GUI ive created with the python script I wrote before making a …

Member Avatar for HiHe
0
2K
Member Avatar for iraj.jelo

hi friends . i have a sqlite program. i need get stuff data from QLineEdit and add to model & tableView . but i dont know what should I do :( plz help me

Member Avatar for TrustyTony
0
169
Member Avatar for iraj.jelo
Member Avatar for iraj.jelo
0
120
Member Avatar for iraj.jelo

Hi my friends , i have written a program that in client section in error occures frequntly , i think the error comes from socket function in client . what i have to do? [code] # This is my server code , this code has not problem import asyncore import …

Member Avatar for Gribouillis
0
3K
Member Avatar for wkarl
Member Avatar for telmo96

Hey mates, it's me again. I'm trying to develop a small application, but I'm not sure how to put two icons in the same toolbar, probably theres another way of creating toolbars instead of "self.toolbar", I'm not sure. Check my code: [CODE]import sys from PyQt4 import QtGui class Routine(QtGui.QMainWindow): def …

0
88
Member Avatar for wkarl

i want to Display my QTableView insid QTextEdit ? can i do this thing ?? if i can how i can do it ?

0
85
Member Avatar for huntaz556

Hi everyone ! i havent posted in a while i guess i just took a break O.o But i am having a problem i designed a UI in qt designer and then did [CODE]pyuic4 -x backup.ui -o backup.py[/CODE] That worked perfectly i can execute it and i have a nice …

1
91
Member Avatar for wkarl

hello everyone , i need to make a borders for my printing report and i need a function that move my logo into middle of my report at first line , how i can do these things in Qt4 ?? i write thia code using PyQt4 [CODE]QtCore.QObject.connect(self.pushButton_5,QtCore.SIGNAL(_fromUtf8("clicked()")),self.Delete) def Delete(self): self.printer …

Member Avatar for wkarl
0
191
Member Avatar for Srin

I wanted to install a GUI toolkit for python and pyqt looked good but when I install the complete binary on the pyqt site and run designer, I get this error when I try to go to the code [IMG]http://i167.photobucket.com/albums/u154/Final_04/pyqtdesignererror.png[/IMG] Anyone know how to fix it? And if not, can …

Member Avatar for nabla2
0
564
Member Avatar for Prahaai

Greetings, I'm using PyQt4 and trying to add a QGraphicsItem exactly in the center of the current screen, by clicking a menu button. So each click will add an item in the center of my screen. My QGraphicsScene is very large (10k X 10K), so the QGraphicsView cannot show it …

Member Avatar for Prahaai
0
1K
Member Avatar for Vertana

I'm trying to turn my PyQt4 into a .exe in order to give it my end users. I'm so-so familiar with cx-freeze and I know how to use Innosetup. My problem is that when run from the command line my Qt application uses the icon correctly. After I freeze the …

0
168
Member Avatar for blenkhn

I have been trying to no avail to load a ui file and insert it into a tabWidget as a new tab. I commented out a try that I thought would work, I was wrong. I have tried several different ways but I always seem to get the same error. …

Member Avatar for blenkhn
0
880
Member Avatar for GatorAlli

I'm using Python, PyQt4, and QtWebKit to load a web page into a bare-bones browser to examine the data. However, there is a small issue. I'm trying to get the contents and src of every iframe on the loaded page. I'm using [B][I]webView.page().mainFrame().childFrames()[/I][/B] to get the frames. To problem is, …

0
168
Member Avatar for pdini

Hi all, I developed a GUI application using PyQt which comport a QGraphicsView. In this QGraphicsView I have a QGraphicsScene with a lot of items (more than 10'000): polygons, rectangles, texts, etc. How can I save it as an image like it appears on the screen (.png for example)? I …

Member Avatar for pdini
0
2K
Member Avatar for sebcbien

Hi, I've got some trouble opening files saved by The Gimp in BMP 16bits 565. I've test some various bmp they all work except those saved from The Gimp and I really don't know why the format might be different from the one found there:[URL="http://wvnvaxa.wvnet.edu/vmswww/bmp.html"]http://wvnvaxa.wvnet.edu/vmswww/bmp.html[/URL] Bleu.bmp and Mire.bmp are some …

Member Avatar for sebcbien
0
397
Member Avatar for tzushky

hi everyone, I have a tiny problem with a simple implementation: - i have a main window with a table in my central widget - i want to add stuff in the table gradually, and I allow only the 1st cell (index 0) of each row to be selectable. - …

Member Avatar for woooee
0
799
Member Avatar for explorepython

hi all, In the example below [CODE]from PyQt4 import QtCore, QtGui class Ui_Dialog(QtGui.QDialog): def __init__(self,parent=None): QtGui.QDialog.__init__(self,parent) self.setObjectName("Dialog") self.resize(600, 500) self.model = QtGui.QDirModel() self.tree = QtGui.QTreeView() self.tree.setModel(self.model) print(self.model.flags(self.model.index("c:\Program Files"))) self.model.setFilter(QtCore.QDir.Dirs|QtCore.QDir.NoDotAndDotDot) self.tree.setSortingEnabled(True) self.tree.setRootIndex(self.model.index("c:\Program Files")) #self.tree.hideColumn(1) #self.tree.hideColumn(2) #self.tree.hideColumn(3) self.tree.setWindowTitle("Dir View") self.tree.resize(400, 480) self.tree.setColumnWidth(0,200) self.tree.show() QtCore.QObject.connect(self.tree, QtCore.SIGNAL("clicked(QModelIndex)"), self.test) QtCore.QMetaObject.connectSlotsByName(self) self.setWindowTitle(QtGui.QApplication.translate("Dialog", "Dialog", None, QtGui.QApplication.UnicodeUTF8)) def …

0
211
Member Avatar for python.noob

Hai friends, The problem here(in the code below) is i want to catch the minimize and close event of QTabWidget(by default this widget do not have any slot named close or minimize) to hide the widget.. so the only way the user can quit the application is by clicking exit …

Member Avatar for python.noob
0
733

The End.