Member Avatar
-- coding: utf-8 -- from PyQt4 import QtGui from PyQt4.QtCore import * import sys import os class VideosToMp3(QtGui.QWidget): def init(self, parent = None): super(VideosToMp3, self).init(parent) ''' Labels and GUI ''' extension = QtGui.QWidget() download_label = QtGui.QLabel("Enter YouTube video URL:") self.download_line_edit = QtGui.QLineEdit() file_label = QtGui.QLabel("Enter file name (optional):") self.file_line_edit = …
by -ordi- 6 in Software Development ()
Member Avatar
Hi Guys, I wanna know how to change a label's text thats in a different form when the user presses a button in the mainform, I have heard about the Signals and Slots thing but not experienced enough to understand that, Please Help Me!
by iPoor in Software Development ()
Member Avatar
Hi all, I am developing a Qt Gui application. Here I have a Qtreeewidget that has a list of Qtreeewidgetitems. I also have a qtablewidget beside it which displays some information when any item present in the list is clicked/selected.When the content of any of the cell in the tablewidget …
by myk45 48 in Software Development ()
Member Avatar
I am developing Client-Server application in C++ using Qt framework, but the clients can be android phones and computers(Qt client app) Now i'm having troubles to handle Reception of data on the server side; the server is not receiving data properly. First, I got things working nicely between the server(Qt …
by Xsmael in Software Development ()
Member Avatar
Hi all I have a qt application in which I have a QTreewidget that displays some content in the QTextBrowser. I set the contents for the html document in the textbrowser using the setHtml() function. All I want now is to fetch the url of this html document so that …
by myk45 48 in Software Development ()
Member Avatar
Hello, I am trying to add a feature to a lab I am working on where I have to have a way to show images of the 20 pen widths the Easy Paint Lab can do. I am trying to use a ComboBox from Qt in order to do that. …
by alyssa.wilkins.77 in Software Development ()
Member Avatar
Hello, So I'm having trouble figuring out what the correct syntax is for a function with a return type that is a template type and is within a namespace. Anyone see anything wrong with the code below? -------.HPP file: ... ------------------- .CPP file: ... ------- In use: ... ------ Error: …
by Mr.UNOwen in Software Development ()
Member Avatar
I have a horizontal layout inside which i have added a group box. The group box is split using a QSplitter and contain a QListWidget and a QTextBrowser. I want to add two push buttons at the bottom right corner of the window to navigate inside the QTextBrowser. I'm adding …
by myk45 48 in Software Development ()
Member Avatar
hello i download qt sdk and started the qt creator and tried to do a simple empty project but it says The program has unexpectedly finished on the error list and i tried many examples but same thing happens , im using windows 7 x64 homepremium and mingw as a …
by Moaid in Software Development ()
Member Avatar
I´m using a QTextBrowser to display an external html document (and its image resources) which is placed in the same directory as the application. Everything works fine except that images are not displayed properly. Instead of the actual picture there is a "missing image" icon. I tried different image formats …
by myk45 48 in Software Development ()
Member Avatar
I am new to Qt and I'm trying to connect a remote database. this code works like a charm in local but when i give my server ip instead of localhost i can not connect. Should i use a different mechanism? PS:I've never retrieved data from web before.
by Sinan_2 in Software Development ()
Member Avatar
i made a project using visual studio and opencv ,it worked fine. however later i thought of adding GUI. i googled and found abput QT.some how i managed to include libraries and build paths,when i use C fucntions of opencv the program works fine but when i use c++ features …
by ravi_14 in Software Development ()
Member Avatar
I am using Qt5.2.1 and I made a program that stores some data into a file and then reads the data. After I restart my program... I want to read those values and re-store the values of those variables... How can I do this? I am fairly new to Qt …
by butterfingerss in Software Development ()
Member Avatar
I am using Qt 5.2.1 and I made a program that takes some values and saves them on a text file. What I want is that everybody can see this file and read the content but nobody can edit it. To edit it, you would have to run the program …
by butterfingerss in Software Development ()
Member Avatar
Hello People! I am quite new to Qt (and programming in general). And I am making a program that requires me to encrypt a file and decrypt it after asking for a password through the program. But I have no Idea where to start. What I already have - A …
by butterfingerss in Software Development ()
Member Avatar
I am using Qt5.2.1 and I made a program to do some stuff. In it I added a radio button (named 'others') i want that when the user clicks this button a line edit pops up besides it and lets the user enter some stuff inside it. when the user …
by butterfingerss in Software Development ()
Member Avatar
I wrote this function I plan on using to load in .obj files from Blender into a DirectX application. The problem I'm having is that when when the model is loaded, it appears that every other triangle face is missing in a pattern, for every quad, only 1 traingle is …
by James19142 -4 in Software Development ()
Member Avatar
Hi daniwebbers. I've been hearing a lot about Qt when searching for a library to ease my pain of creating GUI's with native windows API. I'm hoping folks here might be able to offer some sage councel before I do something irreversible to my IED environment (vs 2010) that I'll …
by Suzie999 229 in Software Development ()
Member Avatar
Hi there, I am a newbie in programming. Python is my choice. because it is easy to learn. But the Tkinter GUI making is horiible. I don't like to write code for GUI. I like the visual basic method. So i installed Qt Designer. But i don't know how to …
by vinodvinu -3 in Software Development ()
Member Avatar
Hi, I'm creating remote desktop application in qt 4.8. I have to implement some way to browse remote computer directory structure and possibility to download files on local machine. I'm wondering how can achieve this...
by bejfake in Software Development ()
Member Avatar
Hi friends, Heading Here Could anyone help me,how to send email in qt using command prompt commands..
by mohan_2 in Software Development ()
Member Avatar
Hey i try to work on custom signal but i get an compiling error: QObject::connect: No such signal QLabel::changerSignal() in ..\textbasedrpg\FenPrincipale.cpp:173 But i seem to write exactly same thing in header and .cpp »That an big moment i try to see what i do incorrect but can't find. Same an …
by J-P1988 in Software Development ()
Member Avatar
Hello, I have a problem using Qt 4.8.4 on VS2012. I manage to compile the code but when I run it, it says: on the console but since it has reached the end of the program where it says 'press any key to continue' and upon pressing any key, the …
by wilsonz91 in Software Development ()
Member Avatar
I'm writing classes for widgets on a ui. While planning what I would do, I realized majority of the of the classes would look very similar. What I decided to do was to use a macro that takes a few parameters to define the similar parts of the class bodies. …
by James19142 -4 in Software Development ()
Member Avatar
Hello, I'm building opencv library with cmake for mingw to be used with qt and i've been able to generate the makefilelist. But when i type mingw32-make at the command prompt i get error when it's 44% built. error says: Cannot export _ZN12_GLOBAL__N_13R)p3aLLEv: symbol not found Cannot export _ZN12_GLOBAL__N_17CmpType3allEv: symbol …
by capton in Software Development ()
Member Avatar
Hello, I'm having a play with Qt and can draw what I want, perform transforms, more the origin with a translation but would like to know how big the area I have to paint on is and is it possible to control this. I've read the entries for things like …
by TheBrick in Software Development ()
Member Avatar
After appending an item to a QList which is pointed to by a QMutableListIterator, I find out the next value of the iterator points outside the list. Or can't i point the iterator to any where in the list except the beginning and end? Please i need help.
by capton 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
Hi everyone, Heres my problem: I've installed Qt 4, and there is no qmysql.dll/.a in C:\Qt\4.8.4\plugins\sqldrivers. I am running a MySQL database program and I get Database error: Driver not loaded. Theres not really a lot of help anywhere on google so hopefully DaniWeb will yet again prove itself as …
by mattster 195 in Software Development ()