459 Topics

Member Avatar for
Member Avatar for pato wlmc

SORRY FOR THE NOOB QUESTION, but until some time ago (1 or 2 weeks) all my programs we comand-line, so I didn't have to... build them(?) But some days ago, i decided to create a program with GUI, and I used QT creator for that. Now My program is finished, …

Member Avatar for pato wlmc
0
118
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
176
Member Avatar for raschko

Delving into modelview programming became complicated after seeing few explanations of the structure involving an editable model; Perusing through forums, source and documentation is only leading me so far. My issue currently is trying to edit a tableview header (subclass) entry using a custom delegate. I've seen implementations using an …

0
58
Member Avatar for annndrey

Hi all! I have a question about PyQT4. How can I get an index of current cell, in which the cursor is whitout clicking on it? According to official documentation of QT there are only signals that send current index when you click on it. But if you just enter …

Member Avatar for annndrey
0
275
Member Avatar for Mayank23

i just downloaded qt and i dont know how to build in qt, it keeps saying: Could not find make command: mingw32-make.exe in the build environment Error while building project case (target: Desktop) When executing build step 'Make' Could not find make command: mingw32-make.exe in the build environment Error while …

Member Avatar for bramsever
0
563
Member Avatar for Kamal_Java

HI I have a Map Image that I got from OpenstreetMap(Osmarender Image ) .My question is how to convert geographic coordinates to the co-ordinates of my picture (that is in pixels on X and Y on a picture). That is I receive geographic coordinates and it is necessary for me …

Member Avatar for jonsca
0
116
Member Avatar for daviddoria

What I really wanted was a single class, ImageSegmentation<T> that operates on images of type T. The problem was that this object needed to be a member of my Qt form object (called Form), but I didn't know T until runtime (the user selects which type of image to operate …

Member Avatar for mike_2000_17
0
242
Member Avatar for spetro3387

Hi everyone, I am working on a 3D viewer using libQGLViewer. In all of the examples provided, the main function looks something like this: [CODE] int main(int argc, char** argv){ QApplication application(argc, argv); Viewer viewer; #if QT_VERSION < 0x040000 application.setMainWidget(&viewer); #else viewer.setWindowTitle("pointCloud"); #endif viewer.show(); return(g_qApplication.exec()); //waits for Esc } [/CODE] …

Member Avatar for spetro3387
0
160
Member Avatar for blenkhn

I need help with a py generated file that was made in QT. I use the following line [CODE]QtGui.QTabWidget.addTab(self.tabWidget, QtGui.qApp.tr("New Tab"))[/CODE] and get this error [CODE]Traceback (most recent call last): File "C:\python\mainwindow2.py", line 349, in createInvoice QtGui.QTabWidget.addTab(self.tabWidget, QtGui.qApp.tr("New Tab")) TypeError: arguments did not match any overloaded call: QTabWidget.addTab(QWidget, QString): argument …

Member Avatar for bumsfeld
-1
1K
Member Avatar for cppgangster

I am getting the same problem with the languege. How to craete graphical user interface on windows platform without Qt? MCF is not anymore included in Visual C++ isn't it?

Member Avatar for jonsca
0
113
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
896
Member Avatar for rcjbff_21

Hi Guys! A newbie and a student here. I want to ask your assistance by being my respondent just to answer the following few survey questions here below. This will help me a lot for the completion of my project in Mobile Programming Subject which is one of my major …

0
66
Member Avatar for Tommymac501

I am having a problem using the common dialog in PyQT. For some reason, when I try and import 'QFileDialog', I get a not found error, same with importing QDialog. I am on Py 2.7 (was 2.6) using 'PyQt-Py2.7-x86-gpl-4.8.2-1'. I can import QTCore and QTGui just fine. I thought PyQT4 …

Member Avatar for Tommymac501
0
2K
Member Avatar for hannesvdc

Hi all, I want to make my own widgets in c++, but don't know where to start. I didn't find any examples, tutorials,... on google. I know there are some toolkits like qt, gtk+, wxwidgets, and i've used them already, but i want to make some myself. Qt says to …

Member Avatar for hannesvdc
0
1K
Member Avatar for bleedi

Hey, I have a bit of a problem. I have a class that uses C libraries to make a TCP connection, which is accomplished with the connect() function. Now, I'd like to use this class in a Qt program and make it inherit QObject. The problem is, since I need …

Member Avatar for jonsca
0
236
Member Avatar for delphine

Hi, I'm getting a BSOD when I try to boot into Safe Mode :/ The reason I've been trying to boot into Safe Mode is because I want to delete and replace some fonts with a newer version of them, and I can't do so in normal Windows because my …

Member Avatar for jholland1964
0
460
Member Avatar for viandante

Hi all, I am trying to modify sqliteman. I need to add a module able to import plug ins made in python. Mainly, this is in order to have some sort of powered Excel where data are stored in a DB and macro are written in Python and can have …

Member Avatar for viandante
0
127
Member Avatar for Sowena

Hi, I recently filmed a school nativity, I edited in final cut, exported to QT, created the DVD menu in iDVD and burned most disks from there. I copied a selection of the disks in the schools disk copier to save time. Some of the DVD's when played contain a …

Member Avatar for sophieharris
0
93
Member Avatar for bleedi

Hey, I'm trying to compile a simple producer-consumer program with Qt, using QThreads. I get this error message when trying to compile: [CODE] In file included from /usr/include/qt4/QtCore/QThread:1, from producer.h:4, from mainwindow.cpp:3: /usr/include/qt4/QtCore/qobject.h: In copy constructor ‘QThread::QThread(const QThread&)’: /usr/include/qt4/QtCore/qobject.h:309: error: ‘QObject::QObject(const QObject&)’ is private /usr/include/qt4/QtCore/qthread.h:60: error: within this context In …

Member Avatar for bleedi
0
236
Member Avatar for dyrshin

Hi, Since I starting dabbling in many areas of the tech world, I think I've lost some of the basic networking concepts I should already know. So I'm running into a problem: I came into a job with a network in place. After some issues, we had replaced some equipment …

0
215
Member Avatar for onus

I am trying to understand how can I make a graph in C. So I wrote some program. [CODE=c]#include "declarations.h" graph root = NULL; int main() { cgraph(); } void cgraph(void) { int n, choice, dir, count,sib; choice = 1; count = 1; graph priv, temp; printf("Printf we are making …

0
84
Member Avatar for Hayzam_#include

Hi i am new to qt but i have programing experience in c++ in dev - c++ after i moved to qt i thought i could start like this if i press a button it should output hello world it is just showing me 1 error system was not declared …

Member Avatar for Hayzam_#include
0
100
Member Avatar for sujan.dasmahapa

Dear Friends I am facing some problems in deploying my application for lower version of qt. Basically i want to generate scripts for my application and I have chosen pythonqt for this purpose. Pythonqt has the problem with lower version of Qt (Qt 4.5.2) and also with Higher version of …

0
65
Member Avatar for jgritty

I'm not a huge contributor on these forums, but I do read a lot. Anyhow, I have "completed" a couple things I've been working on in the last couple weeks, and thought I would share. [url]https://bitbucket.org/jgrigonis/mortgagecalculator[/url] A simple mortgage calculator written in python using tkinter that lets you calculate any …

0
77
Member Avatar for CrazyDieter

I am trying to use Qt 4.0 with devCpp. I have a weird error when i try to compile this simple code : [code] #include <QtGui/QApplication> int main(int argc, char *argv[]) { QApplication qApp(argc, argv); return qApp.exec(); } [/code] The error is : [code] 10 : no matching function for …

Member Avatar for gerard4143
0
173
Member Avatar for akssps011

Hi I wanted to start a project on implementing packet sniffer. Though I have fairly good experience of C++ programming and network protocols( theoretical), I am not able to get start with this. How should I approach towards it. What libraries or resources should be helpful ? Would Qt be …

Member Avatar for alwaysLearning0
0
111
Member Avatar for dorien

Hi, I have just installed CPLEX, and this has installed correctly. It put it's header files under: /home/dorien/ILOG/..../include/ Now I am trying to compile an example, which has: [CODE]#include <ilcplex/ilocplex.h>[/CODE] but I got: [CODE]/home/dorien/C++/cplex-build-desktop/../cplex/main.cpp:35: error: ilcplex/ilocplex.h: No such file or directory[/CODE] First thing I did was lose the .h... to …

Member Avatar for dorien
0
456
Member Avatar for daudiam

I downloaded data from google.com/favicon.ico and saved it in a file "icon.png" using the following: [CODE]URL url=new URL("http://www.google.com/favicon.ico"); InputStream ss=url.openStream(); byte bytes[]=new byte[100000]; int offset = 0; int numRead = 0; while (offset < bytes.length && (numRead=ss.read(bytes, offset, bytes.length-offset)) >= 0) { offset += numRead; } FileOutputStream out=new FileOutputStream("icon.png"); out.write(bytes);[/CODE] …

Member Avatar for daudiam
0
199
Member Avatar for prakash02

i have to crreate a splash screen to display messages at various instance of my project .So any one can provide me an example how to create a singleton instance for the creation of Qt widgets.

0
38
Member Avatar for Orion2k

well first of all I ask u people don't try to give me advices like use QT instead that waste my time lot I want a direct answer how to do this cause this is really important C++ Module in my college has just started well the whole yesterday night …

Member Avatar for Ancient Dragon
-1
153
Member Avatar for Orion2k

what are the advantages and disadvantages of these two. I know MFC is an old outdated technology but still people use MFC and OWL ,the main reason OWL is good over MFC ,it produces smaller GUI executable and don't need .NET framework and and lower level compare with Wxwidget and …

0
67
Member Avatar for koldhands

Morning guys, I've almost finished a new site i'm doing for a client but there's a few points that are causing me a headache and they're all related to the same thing. I've searched everywhere on the web for an answer and I'm beginning to think that there isn't one …

0
71
Member Avatar for loveu

PK   õS%=   META-INF/MANIFEST.MFþÊ óMÌËLK-.Ñ K-*ÎÌϳR0Ô3àårÎI,.Ö H,ɰRÐãåòMÌÌÓ‹Y)$è•æå¥é)^.^. PKKÓÏŒB G PK út$=  app/PK út$=  app/obj/PK   út$=  app/obj/User.classuQËNÂ@=Û:`Á ¾ßÄÄ&n5nL\AÝšG,ÁbÚâwi¢1qáøQÆ;CXëæ¾zî™sn¿¾?>`'‹v¿Õµ¯|ée‘b0»âIØ=ávìóVW¶†¢ n¥ܸƒ‡–ôʍ1¨xŽÛ9dÈ÷„Oñ Œ;Ç5™#Çu‚c†dm÷š!uÒ¿•’(päaä0Í@C‰#Œªf8²Ãj–#‡ ÃtÃqå™~þR´zRiè·EïZxŽêÃa*¸w|ܘ´EÚxG±<«¶ç€û¿P³µ¿ e §ŒžiHxO'¬üß}^ßaˆ-Ñ·f䐥Îß™Ñì¼¶<u”¡¼2°¯d`Î‘¤_—DB݉ª„º’Î9³„ ‹Rœ¢î‚ætYTëïàõrñ ¦Že­½X¡X!:E›¢l‘IDê«4åC Ìaž2ÃCz›²ú–®¿¢ü<"Ëè¡1±œ-/a9\>&tB¡ë{$h,ÅÐÓí5Ceˆ Tµ¢_`XbE…˜±BÖâ…XQ!3´cý#d=²ÏeF¹Ô•«ÿp¥C®ÍXSfÔÔ|¬©-ÚþPKñFpݽ á PK   út$=  app/obj/Book.class}”ÛNÛ@†ÿÍÁIÌÂÉÊ!„C@IKÏ!‘J•¢rĽn0Mcäl¨úV­TÔª}€>TÕÙµ ©Y÷fgwvæŸog,ÿúýã'€ìåbàÎåeÝo_Ô¾ÿ>‡ Cé¹rê]§×©µ/ÜSÁžèº ÍÛ»–¼^g—ÁpâÜLá §+uú “C¡‡=ávÜ€bͶ¼=¸r¼.%ö…#;ÓöƒÀÿèž5>µÄàÌ퉷ƒm—$=¯ç‰}†´]=aȼöÏ\iŒs1šÇ$ `˜æÈ»Ž s¸—Ã<Ãø Ž,2䮜îÀ=zÇ`Ù‡U ­T[æÈ£ w+f¸[å …

Member Avatar for NormR1
-1
171
Member Avatar for shabir_24

heyy guys wats up !?? i am trying to convert a list(c++) in qt list... i have no idea how i can do that.... the list is a list of employee objects.... (id , name, rate) i want a list of qtlist which containts the employee objects or at least …

Member Avatar for Banfa
0
122
Member Avatar for syd919

Hello Im new to qt and I have a problem, I am trying to connect a radio button to a signal and a slot that have different number of arguments,I know this is not possible, is the any way to get around it? [code=c]here is my code: void myclass::createbutton() { …

0
50
Member Avatar for Sismetic

Hi, Im trying to do a screen-flashing application, that flashes the screen according to the music(which will be frequencies, such as healing frequencies, etc...). I already made the player and know how will I make the screen flash, but I need to make the screen flash super fast according to …

Member Avatar for Sismetic
0
191
Member Avatar for Sismetic

Im trying to do a screen-flashing application that flashes the screen depending on the audio(like an audio visualizer, but instead of a visualization like bars or something like that, just flash the screen). I already made the music player and know how to make the widget get full screen and …

Member Avatar for Kanoisa
0
237
Member Avatar for medopunsher

Hello Everyone , I'am new to OOP and QT and i'm trying to write a simple chat program (client , server) with winsockets. I Have an error which i don't seem to understand : this is my code so far : [CODE] #include "pmessenger.h" #include "ui_pmessenger.h" #include <QMessageBox> #include <winsock2.h> …

Member Avatar for Stefano Mtangoo
0
115
Member Avatar for daudiam

I compiled a HelloWorld example using QtJambi. But on running it, it said "[B]failed to unpack native libraries[/B]. The complete error was : [CODE]daud@daud-laptop:~$ java -d32 com.trolltech.examples.tutorial.HelloWorld Exception in thread "main" java.lang.ExceptionInInitializerError at com.trolltech.qt.QtJambiObject.<clinit>(QtJambiObject.java:60) at com.trolltech.examples.tutorial.HelloWorld.main(HelloWorld.java:58) Caused by: java.lang.RuntimeException: Loading library failed, progress so far: Unpacking .jar file: 'qtjambi-linux32-gcc-4.6.3.jar' Checking …

Member Avatar for daudiam
0
251
Member Avatar for Gavin Harper

Hello, I am trying to read the raw interrupts from a USB mouse (Installed and functional) in a C++ application. I have read over LibUSB and WinUSB but WinUSB does not seem to play nice in Qt and LibUSB seems overcomplicated for what should be a simple task. I do …

0
12
Member Avatar for syd919

hello I need help with loading pages that have flash applications in them, my program works for just html pages, would anyone with qt knowledge plz help. TIA. here is my code: [code=c]#include <QApplication> #include <QWebView> #include <QUrl> #include <QWebSettings> int main(int argc, char *argv[]) { QApplication a(argc, argv); //QWebSettings::globalSettings()->setAttribute(QWebSettings::PluginsEnabled, …

0
71
Member Avatar for johnnyturbo3

Hi, I have a code design problem: I have several classes *MainWindow - holds 2 widgets, a QTableView Widget and a QTabWidget *TabLayout - layout of the tab, comboboxes etc. Creates an instance of TabCode and connects its signals to it. *VideoTab - contains the slots. Slots are called whenever …

0
68
Member Avatar for ultimatebuster

I currently have the budget to buy an intermediate to advanced python. The books price has to be below $50 (Canada), if possible, unless it's a really good book. Preferably there should be GUI programming in the book (not TK or QT, GTK or other toolsets preferred). Network programming (Socket) …

Member Avatar for Beat_Slayer
0
168
Member Avatar for Sismetic

Hi all, Im new to this website, and mostly to any type of programming. Recently Im trying to learn C++(Game Programming), and my father wants me to make him a web-based application, that flashes the window wether there is any sound playing(I believe it's called an audio visualization), I talked …

Member Avatar for PixelExchange
0
245
Member Avatar for sebcbien

Hello I'm currently working on a program which read 16bit(565) BMP files. I've tried hard to read them with pyQt and show them directly but it never worked properly, the image were not read properly even with the good format as argument. So I've decided to call a wx App …

0
62
Member Avatar for daudiam

Applications like browsers, etc. are written in Java, Python, etc. But when they are installed on a system that doesn't have Java or Python installed, how does it ensure that its code runs there ? Actually, I wanted to write a browser in Java with WebKit as engine. Since the …

0
41
Member Avatar for iamcreasy

Can anyone tell me how to compile "mingw-util 0.3"? I am a little confused, when some article says "use make command and it is all done".But "make" command in unknown in my command prompt.I have MinGW installed which comes with codeblocks. I need it to compile MySQL driver, to use …

Member Avatar for iamcreasy
0
119
Member Avatar for johnnyturbo3

Hi, I'm currently writing an application using VS C++, Qt, and SQLite. I have a user interface where the user uses a series of combo boxes to select certain criteria that they want to fetch from the database. When this dialog closes, all of the combo boxes selected text (string …

Member Avatar for johnnyturbo3
0
333
Member Avatar for sana_moi

hellow every body i m trying to do a graphique interface using c++ but i cant know which .dll i have to use such im using visual studio c++ 2010 express edition . when i thank to use QT with vs2010 there is a lot of problemes caus i don't …

Member Avatar for sana_moi
0
88
Member Avatar for Allophyl

I have been programming in C++ for a while now, though I have always only written programs with simple command-line interfaces, never a GUI. I have one such program right now which I would like to convert into a Windows application with a full-fledged GUI with customized graphics (for buttons, …

Member Avatar for Allophyl
0
131

The End.