459 Topics
![]() | |
i have a project which am half way done but on compling ma code it shows errors i need help to clean it on login it should display a new JFrame with three labels and five buttons with actions when the book id is entered it should retrive the book(bkbtn) … | |
i have this 2 custome modules and when i try to call module turtle i get an error message and i dont know what it means or better said i dont know where seems to be a problem. i think it should work just fine this is the message i … | |
Hi all, i'm writing a Qt SIGNAL/SLOT capable class in order to be able to work with raw socket in a Qt application. To achieve this, i'm using a QSocketNotifier to monitor socket incoming data event in a S/S way. Now the problem: entering the event loop, causes the process … | |
Hey everyone, I've tried extensively to find a thread like this already, so I hope it's not a repose. Basically, I have a program with a nice GUI (Tkinter) which has a frame which takes in matplotlib figures. I am able to connect the plots to the Tkinter frame this … | |
Hello altogether, I am supposed to work through a project written in C++ and QT for Windows platforms. Now I am not an expert in window-related stuff. I installed MinGW 3.4.5 and QTSDK on Win XP SP3. I am using the tool "qmake" to create a makefile with all dependecies … | |
Hello! Here and example that we can add manually a path on windows: [url]http://1.bp.blogspot.com/_NtoTtHZadHE/S0SLPiJo-2I/AAAAAAAAAIg/GyoW0pPEW-g/s400/qt-mobility-windows-env-path.png[/url] I need to add new path on the system (or user (it does not matter) ) from my Java program (no problem if my java program must start with administrator privilages). Thank you! | |
Hi there everyone, I really hope someone can help me, I am working with Visual C++ with QT libraries and using... well... something that represents MVC (long story)... now I need to pass a const QString& from my 1 controller class to the model of another class... When doing so … | |
hello people, I have got a problem. I have written a program to simulate round robin scheduling program using visual c++ , version 6.0. Now, I want to add some simple graphics in my code so that a graphical representation of RR scheduling can be made. But, I don't know … | |
Can QT be used in creating an application for Nokia N90? If yes, Which would be better to use, Symbian C++ or QT? Thanks! | |
Hello to everyone. I'm trying to write a piece of C++/Qt code and I always seem to get stuck at the same thing. I'm creating a DAQ System for my MSc thesis, who's purpose is to present and get some variables from the user interface (class name Interface) and when … | |
I want to create my own widget toolkit, and I know it's possible without external tools(QT was written in C++, and so was wxWidgets). But I don't know how to do it, and I couldn't find anything in Google. So how exactly do I create GUIs in C++ that way? … | |
Hi!! This is some of the code I am using to add dynamic rows when user clicks the Add Row button.I want to show the calculated amount like: line_total=qty*unit_price; sub_total=total of line_total; total=sub_total+tax-advance; [CODE]<script type="text/javascript"> function addRow(tableID) { var table = document.getElementById(tableID); var rowCount = table.rows.length; if(rowCount<3) { var row … | |
I'm having a problem on try again program.I checked the syntax and yet is still not working.am trying to make a program that will output the student's grade and when the program is finished it will ask whether to try again or not.If the input is y or Y, the … | |
My code for the calculator is: calculator.h [CODE]#ifndef CALCULATOR_H #define CALCULATOR_H #include <QWidget> #include <QGridLayout> #include <QLineEdit> #include <QLabel> #include <QPushButton> #include <QLCDNumber> #include <QString> #include <QMessageBox> #include <QErrorMessage> class Calculator : public QWidget { Q_OBJECT public: //constructor Calculator(); public slots: //function to add the two numbers that the user … | |
I recently stumbled upon a boost installer (which I think is awesome), here [url]http://www.boostpro.com/download/[/url] and I was wondering if there is anything similar for QT and Visual Studio 2010? On the QT Website I found this page, but no VS2010 installer. Will the 2008 one work ? [url]http://qt.nokia.com/downloads[/url] I suppose … ![]() | |
[CODE=c++] #include <QtGui> class MaskedLabel : public QLabel { protected: void resizeEvent(QResizeEvent* event) { QLabel::resizeEvent(event); QPixmap pixmap(size()); pixmap.fill(Qt::transparent); QPainter::setRedirected(this, &pixmap); QPaintEvent pe(rect()); paintEvent(&pe); QPainter::restoreRedirected(this); setMask(pixmap.mask()); } }; int main(int argc, char* argv[]) { QApplication a(argc, argv); QLabel* label = new MaskedLabel(); label->setText("Qt Centre!"); QFont font = label->font(); font.setPointSize(72); label->setFont(font); label->show(); … | |
Hi all! I have been hacking some Qt before, but now I want to try to code in Gtk and std C++. I have been searching the web but I can not realy find what I am looking for. As I can see Gtk is written in C. Is it … ![]() | |
Hi. I have a very very easy problem in my program. The problem is that i want to load another page via press a button. It till work like any webbrowser. First och gonna write in the URL in a textbox, then press a button named Go or Enter or … | |
Ok, in a very simplified version ive got to write a C++ app to interface with a joystick and play various sounds depending on its position - Its a USB joystick and I will have a QT GUI. This app already exists, for Windows/C# . I just need help porting … | |
I literally hate to ask this question but I am having trouble with Qt 4 basically all I am trying to do is clear the textEdit area with clear() but I am not sure of what to do. In C++ I would just [CODE]textEdit->clear();[/CODE] and it would do so. I … | |
i am using QT software in solaris, i opened remote system through QFtp methods i.e.. connectToHost() after that, loged in through login(). now my problem is, i am trying to get data from remote system, through int get ( const QString & file, QIODevice * dev = 0 ) at … | |
Hello, I would like to use the QT LGPL version with my software, but I'm really not sure what I'm allowed to do with it. The license is very confusing. I'm hoping I can dynamically link to some QT DLLs and use them without too much GNU-tape. What other requirements … | |
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 … | |
![]() | Hi everyone, I am trying to create Tag Extractor which is much like Twitter's Trending topics or Google's Top searchwords. Input file consists of a collection of some 3000 tweets. Problem 1: I am using "Qt" as the front end.(Entirely newbie to qt). Using two "List View" controls. one loads … |
Hi, I'm trying to link c object with c++ (using QT Library) object and find the following error. tonysun:~/tmp# g++ -c main.cpp tonysun:~/tmp# gcc -c mainlib.c tonysun:~/tmp# g++ -o main main.o mainlib.o [ICODE]main.cpp:(.text+0x64): undefined reference to `para_prep()'[/ICODE] <<main.cpp>> [CODE]#include "mainlib.h" int main(int argc, char *argv[]) { para_prep(); /* Here are … | |
I noticed that the main.cpp in a Qt application has to contain the following line: QApplication app(argc, argv). I know that argc is the number of command-line arguments, and argv is that array list of command-line arguments. But, the question in my mind is: what are those arguments I'm passing … | |
Hi, I've posted two scripts that I would like to improve. The first one (SparePartsDemo.py) is a little utility that takes a .csv (.txt) data file exported from another application, builds a SQLite database,performs a request to select and sort records and write the results to a sqlite database file, … | |
I have the following `main.cpp` file: [CODE] #include <QApplication> #include "ui_checkabder.h" #include <QDialog> int main(int argc, char *argv[]) { QApplication app(argc, argv); Ui::CheckAbder ui; QDialog *dialog = new QDialog; ui.setupUi(dialog); dialog->show(); return app.exec(); }[/CODE] And, get the following errors when trying to run the program: [CODE] C:/Users/avbder/Desktop/abder/main.cpp:7: error: 'CheckAbder' is … | |
When I try running a Qt application with the following main.cpp file: [code] #include <QApplication> #include "ui_checkabder.h" #include <QDialog> int main(int argc, char *argv[]) { QApplication app(argc, argv); Ui::CheckAbder ui; QDialog *dialog = new QDialog; ui.setupUi(dialog); dialog->show(); return app.exec(); } [/code] I get the following errors: c:/QtSDK/Desktop/Qt/4.7.3/mingw/lib/libqtmaind.a(qtmain_win.o):-1: In function `WinMain@16': … | |
Nokia announced two new Symbian devices, the Nokia E6 and the Nokia X7. With the new smart phones, Nokia also introduced its latest software update, known as Symbian Anna. For details on the news check this: [URL="http://blogs.forum.nokia.com/blog/nokia-developer-news/2011/04/12/symbian-anna-software-and-2-new-devices"][U]http://blogs.forum.nokia.com/blog/nokia-developer-news/2011/04/12/symbian-anna-software-and-2-new-devices[/U][/URL] These devices also power apps developed with Qt, thus the business opportunity with … | |
Hi, I have a php page to take user input. My page has 3 sections. [B]Section 1::[/B] I am taking some information from the user. [B]Section 2::[/B] I am again taking some input from the user, and [B]Section 3::[/B] I am displaying the data from section 2, in a table. … | |
just have those questions about those code sinppets from the C++ GUI Programming with Qt 4 book: GoToCellDialog::GoToCellDialog(QWidget *parent):QDialog(parent) Does that mean we are inheriting QDialog(parent)? Or, what exactly does this mean? setupUi(this); Here, this code snippet is part of the gotocelldialog.cpp file, which is the implementation of gotocelldialog.h header … | |
Hello folks,i am teaching myself qt and i have run into a problem.In my data entry application,i want to bind my forms to my grid explained in this picture: [URL=http://imgur.com/KeNTI][IMG]http://i.imgur.com/KeNTI.png[/IMG][/URL] Right now,i am scratching my head plotting on how i am gonna accomplish this. Ideas are welcome. | |
I was just able to get PyQt4 to work on my system, and I'm now have that of python2.6, and that of python 3.2, but I have been trying to open Qt designer but all it does is just open a process in the background eating up my PCs memory, … | |
I was surfing net for updates and I found Mobile Hands-on Lab v1.5. It has modules that cover Qt, Web Development and Java Me. It give an outline to the module contents, explains the Development Environment, describes the key aspects of the programming language, also provides with an optional brief … | |
I have VS 2008, and QT. I wanted to know if I could include the .NET Framework and QT Framework in one application. How do you do this? Help! | |
I'm new to [B]Qt[/B]. What resources do you recommend for learning Qt? Thanks. | |
When trying to run a simple `Qt program`, I get the following erros: (How can I solve them?) [CODE]In function `WinMain@16': c:/Qt/2010.05/qt/lib/libqtmaind.a(qtmain_win.o)[/CODE] [CODE]error: undefined reference to `_Unwind_Resume: C:\qt-greenhouse\Trolltech\Code_less_create_more\Trolltech\Code_less_create_more\Troll\4.6\qt\src\winmain/qtmain_win.cpp:93[/CODE] [CODE]error: undefined reference to `_Unwind_Resume': C:\qt-greenhouse\Trolltech\Code_less_create_more\Trolltech\Code_less_create_more\Troll\4.6\qt\src\winmain/qtmain_win.cpp:135[/CODE] [CODE]error: collect2: ld returned 1 exit status[/CODE] Thanks. | |
[URL="http://www.pyside.org/"]PySide[/URL]: Python for Qt 1.0 released! The PySide team is thrilled to announce the release of PySide: Python for Qt version 1.0.0. In addition to the source code release, project community packagers have already released binary packages [developer.qt.nokia.com] for all major Linux distributions, Microsoft Windows, Mac OS X, and Nokia’s … | |
Please I downloaded the latest version of python QT but I've been unable to use because i don't know how, help from the experts in the house. Thanks in advance | |
0 down vote favorite I'm new to Qt, and trying to compile and run this Qt program I typed from the [I]Programming with Qt[/I] book: [CODE]#include <qapplication.h> #include <qlabel.h> int main(int argc, char *argv[]) { QApplication myapp(argc, argv); QLabel *mylabel = new QLabel("Hello",0); mylabel->resize(120,30); myapp.setMainWidget(mylabel); mylabel->show(); return myapp.exec(); }[/CODE] When … | |
Hi, I am starting to make programs with GUI, so with buttons, frames etc, and some of them will work via internet, like multyplayer card game or something like that. So during my search, I ran onto few choices, Qt, Win32 api, wxWidget and by most forums the Qt is … | |
Hello, I'm working with a team on a program and freeglut is causing trouble for one of team members. He's the only member working under Windows and he's unable to get the scroll wheel to work. Does anyone know a library for windows that'll read in the mouse wheel input … | |
Hello! I am trying to create a tabbed program with Pyqt4. The idea is that I want to be able to add python scripts in a folder. Those scritps should be then be accessible from a main framework/program. Finally, when I run the python script I want the window to … | |
Hai guys, I am a newbie here, maybe you know about my problem. this is VB source code : [COLOR="Red"][B]ReDim[/B][/COLOR] parent.Individuals(maxPop) As Individual [COLOR="Red"][B]ReDim[/B][/COLOR] offspring.Individuals(maxPop) As Individual Do While bil < maxPop bil_gen = 0 [COLOR="Red"][B]ReDim[/B][/COLOR] parent.Individuals(bil).Gen(batas_gen) As Genetik parent.Individuals(bil).Genome = AssignValue(1) List3.AddItem parent.Individuals(bil).Genome bil = bil + 1 Loop … | |
Hi, i have problem that i cant see data in data base. code has no error. i dont know whats wrong. i m using Visual Studio 2008. [CODE] Imports System.Data.SqlClient Public Class frmpurchase Dim cmd, cmd1, cmd2, cmd3, cmd4 As New SqlClient.SqlCommand Dim adp, adp1, adp2 As New SqlDataAdapter Dim … | |
Hi, I'm looking for a good book on Qt 4 programming, I checked both chapters and amazon but couldn't locate a Qt book with favorable reviews and was wondering if the daniweb members knew of a good text...Thanks in advance. Gerard4143 | |
Hello, Currently, I am trying to write a program which should upload a file to an FTP server. As recommended in the QT Docu., I chose to use QNetworkAccessManager's put function instead of QFtp. As far as I know, I should be able to access the FTP Server without using … | |
Alright guys, I'm in quite a situation. I have a project for school to create an application in C++ that can create and generate shopping dockets/receipts. This includes being able to add the names of the items, the prices, and then finding the total price of the purchase. We can … | |
Hi!! This is some of the code I am using to add dynamic rows when user clicks the Add Row button.I want to show the calculated amount like: line_total=qty*unit_price; sub_total=total of line_total; total=sub_total+tax-advance; [CODE]<script type="text/javascript"> function addRow(tableID) { var table = document.getElementById(tableID); var rowCount = table.rows.length; if(rowCount<3) { var row … ![]() |
The End.