459 Topics
![]() | |
Hi all! I am programming in Qt and I am trying to draw a line on the screen, but it fails. My header file: [CODE]#ifndef GAMEAREA_H #define GAMEAREA_H #include <QWidget> #include <QPainter> #include "character.h" class GameArea : public QWidget { public: GameArea(); QSize sizeHint() const; protected: void paintEvent(QPaintEvent *event); private: … | |
Hi All I'm using the QClipboard class provided by Qt. I'm trying to create a QList that holds the last twenty items that have been copied. I am declaring the list as follows: [CODE] QList<const QMimeData*> *copiedList; [/CODE] I am creating the list as follows: [CODE] copiedList = new QList<const … | |
Hi I have been trying to install the ERIC python IDE [url]http://www.die-offenbachs.de/eric/eric-links.html[/url] for a while now to no sucess. I could not i kept getting errors when installing the QT module [code] Determining the layout of your Qt installation... Error: Make sure you have a working Qt v4 qmake on … | |
Iexplore.exe keeps running in the backround and making random popouts, it's really slowing down my computer, please help! D: [B]The logs :[/B] Malwarebytes' Anti-Malware 1.46 [url]www.malwarebytes.org[/url] Database version: 4052 Windows 6.0.6001 Service Pack 1 Internet Explorer 8.0.6001.18928 7/28/2010 10:16:58 PM mbam-log-2010-07-28 (22-16-58).txt Scan type: Full scan (C:\|) Objects scanned: 283758 … | |
Hi Guys, Wondering if you could help out at all, i am getting random DNS errors while browsing the internet in I.E, i am yet to try another browser. The problems is on my main PC, my Laptop and games consoles don't recieve any problems. I will try another browser … | |
Hi All I'm using SetWindowsHookEx to hook the keyboard. The connection is made and I am able to trap key presses. I'm also trying to call GetKeyboardState to obtain the state of the other keys at the time of the key press (to identify if shift, ctrl etc is pressed). … | |
hello I want too choose among c++ + qt + php and java for my programming language and platform please help me too choose best platform I want to choose a platform that has this features : speed, portable I am c++ programmer and familiar with java programming language i … | |
To get down and dirty in mobile phone competition, [URL="http://www.nokia.com"]Nokia[/URL] [URL="http://www.reuters.com/article/idUSTRE65N20Y20100624"]decides[/URL] to take on Apple and Google by adopting the Linux [URL="http://meego.org"]MeeGo[/URL] platform for its new N-Series phones. Back in February of this year, [URL="http://www.intel.com"]Intel[/URL] and Nokia [URL="http://www.nokia.com/press/press-releases/showpressrelease?newsid=1384419"]teamed up[/URL] to create the MeeGo mobile phone platform. This bold move allows … | |
Hello, I have come across a compile error, which should have a very simple solution, but I cannot figure it out. I am fairly new to programming and am still getting used to OOP. I am trying to call a function from another class. The class seems to work but … | |
What's Up? I can't seem to post this in the PyQt section (No post new thread button) Anyway I've started using PyQT to design a UI for my python script, I've googled around for ages and racked by brain, But to no avail, Nothing I've found is specificy tailored to … | |
I am making a server-client application in c++. In this i am also using shared memory & file read-write operations. my program is completely ready & i now wants to make a gui for it. someone suggested me to go for QT4, but when i tried it, i found i … ![]() | |
Here is my issue: I have a program, that downloads roms off the internet. Everything works fine, but I would like to show an indefinite progress bar while it is downloading. I have that with the following code: [code] # -*- coding: utf-8 -*- # Form implementation generated from reading … | |
Hi everybody have not posted in a while. In all truth i am stuck but very close to finding the collision answer. Note 1 (Most of this skelton was premade for the assignment). Some variables i don;t even know what they do like Vy1. Incx, Incy. Stuff like the file … | |
Hi, In my application I have two object type. One is field item, other is composite item. Composite items may contain two or more field items. Here is my composite item implementation. [CODE] #include "compositeitem.h" CompositeItem::CompositeItem(QString id,QList<FieldItem *> _children) { children = _children; } CompositeItem::~CompositeItem() { } QRectF CompositeItem::boundingRect() const … | |
Hi everyone I have system that has classes derived from QGraphicsWidget. I manage derived class objects in layouts on QGraphicsScene. Now I need a compound item that contain two or more QGraphicsWidget in it and also I need to put that item inside my layout. So I choose QGraphicsItemGroup and … | |
Hi All, I have a small company which is studying the posibilty to create a freeware opensource Visual Basic IDE, built in QT/C++ for running under linux and generating object code and assembler code in a easy way. So to start, I was wondering if anyone have a Visual Basic … | |
Hi, I have been working on a Reversi/Othello game using QT and have got stuck when trying to implement a new game function which will return the game state back to its original state. reversigame.cpp [CODE]/** @file reversigame.cpp @author Rob Charrett @brief ReversiGame implementation. */ #include "reversigame.h" ReversiGame::ReversiGame(QWidget *parent, Qt::WFlags … | |
In linux Qt use “ksystemtray.h” for developing program. Anyone know which header file equal to “ksystemtray.h” use in Windows (mingW). Thanks Advance:) | |
I am planning on starting a project during summer break. I am going to create a employee clock in system for my work place (and anywhere else that wants it.) I figured it'd be good to get some practical experience before I graduate. The actual structure of the program I … | |
Well, I am currently learning Qt and I develop on two systems, a Mac OSX 10.5 and Ubuntu. I decided to make a small app with the default template in QtCreator (Qt4 GUI app). I put some menubar entries, and the last entry "Exit" is separated by a separator. While … | |
hi... i need to automate my system.... for which i need to run a c++ program from a php function.. how cani do this plz help...! | |
I'm a newbie so please be patient... :) [CODE]def canvas(self): import qt self.setCaption('My Canvas') c = qtcanvas.QCanvas(self) # <- gives the canvas a parent QObject c.resize(315, 207) v = qtcanvas.QCanvasView(self) v.setGeometry(QRect(200,590,321,211)) lay = qt.QVBoxLayout(self) lay.addWidget(v) v.setCanvas(c) l = qtcanvas.QCanvasLine(c) l.setPen(qt.QPen(qt.Qt.black)) l.setPoints(10,10,390,390) l.show() v.show() c.update() l1 = qtcanvas.QCanvasLine(c) l1.setPen(qt.QPen(qt.Qt.red)) l1.setPoints(20,60,10,230) l1.show() … | |
Hi all, This might be bit of a silly question, but it's stumped me now for over a day and I've scourged the net for info but haven't found anything to sort out what I should be doing. I am currently using Qt Creator 1.3.1 (Based on Qt 4.6.2 (32 … | |
Each time I create a new GUI, the bit that I always hate, is the bit where the buttons and entries look like I am working on a Windows 98 machine, isn't there a way to make my buttons and entries look like Qt would look like? They're well squary … | |
[code=php] <?php mysql_connect("10.237.200.202", "root", "r00tb33r") or die(mysql_error()); mysql_select_db("spc_grinding_c1_dbo") or die(mysql_error()); $qt=mysql_query("SELECT DataReading FROM SPC_DataReading WHERE StationNumber = 'STATION2' && MachineName = 'GN-07' && ParameterName = 'outside diameter (2.4912)' && Date_Captured = '02-25-2010' && ReadingType = 'AVERAGE'") or die(mysql_error()); header ("Content-type: image/jpg"); $x_gap=40; // The gap between each point in y … | |
I am going to write a game with QT but i dont know how to start. Give me a tutorial for QT please. | |
Hi Pros! I've started a project called grina ( code name) which is web browser program fro people to view web pages using C++ with Qt based on the QtWebKit module. The fact is that, i know a little about the web browser system, that it acts like a compliers … | |
Hi forum! My name is Eduardo and I´m from Portugal. I´m a newbie to C++ and I hope to learn a lot with you I´m facing a doubt that I couldn´t solve yet. (I will also post this thread at c++ area, hope you don´t mind ) My doubt lies … | |
Hello, I'm seeking a solution to how to keep text updated in windows forms, currently Im using QT forms, and trying to keep my labeltexts updated but always fails, tried infinite true here and there but program always crash=\ | |
Hi all. Im developing a qt app to use on a wince device. I have compiled the OpenSource version of Qt for winCE, and it is working. My program compiles fine. However, if i have any slots defined in the header file, it throws the following linker error: moc_updatedialog.obj : … | |
How to connect ODBC data base with password in SQL / Crystal Report wise VB6 Code sample CR.WindowState = crptMaximized CR.ReportFileName = App.Path & "\Report\Reorder Report-All.rpt" CR.SelectionFormula = "{STOCK.QT}<=" & Val(QIS.Text) & "" CR.RetrieveDataFiles CR [COLOR="Red"] …………………………….. I Can’t write this lile[/COLOR]CR.Action = 1 | |
I know the heading is a bit confusing.. what made me to put this question here is that :Recently i heard an article that [URL="http://lwn.net/Articles/69835/"]the rumours are true! GTK is LGPL, QT is GPL big difference[/URL] It means even if I create something with front end QT , I can't … | |
Hey Everyone, I was just thinking it would be nice to have a forum dedicated to software development using Qt. I know IDE topics aren't really the goal of DaniWeb software development, but with the growing popularity of Qt I think it would be a move in the right direction. … | |
Hello I'm trying to use taglib in my Qt-program but it won't work. With this code, it doesn't compile although it should because I just changed the parameter [I]a[/I] from the example included with the source. [CODE]void Test(){ const char* a = std::string("song.mp3").c_str(); TagLib::FileRef f(a); }[/CODE] When I drop the … | |
Hallo, I must develop a Client application using (Qt) C++. The server application was developed by somebody. I need to register with the Server application to get data from it. I have problems here. Can anybody please let me know how to proceed. In order to register with the server, … | |
Hello all, I want to display a hyperlink in qt. For this i need to display the link for the url (as underlined text). I can achieve it easily using style sheets and the url can be opened with webbrowser module.. I want to get the clicked signal of the … | |
Hi guys, We're writing a GUI based on PyQt, and we're running into an issue when using different resolutions. Problem is, we can't find how to get the GUI elements to automatically resize when the window is resized, or when the GUI is running on a larger resolution than the … | |
hi guys, i am new in this forum, my project is about Quad Tree image compression, the problem is that it does not succeed to encode large images, it works good for my small 8 by 8 image, i work by QT c++ editor, i attached my project with my … | |
I have project for ATM application >> & design with QT windows >> How can connect between windows ? please help me soon.... | |
Hi everybody, I just started learning pyqt.. I referred it's wiki page and found some but only two links are useful.. I finished pyqt tutorial in zetcode.. It was really good.. I've downloaded cross-platform GUI programming with pyqt book.. But it's not an ideal book to start with for the … | |
I'm pretty new to java but have lots of coding experience with ruby, c and gui with gtk2 and qt. I'm trying to understand (and get rid of) the dead space to the far left portion of the window. The split panes have white backgrounds to separate it from the … | |
ok, i'm technologically challeneged so please bear w/ me. i've just moved up from my old beaten up white macbook to my new 17" MBP came w/ snow leopard etc. i had a friend do the installs for me, including final cut pro - which is the main reason why … | |
I wrote a gui with qt and converted it into python.it came below. know I want to use the information witch user entered.for example the text boxes text or want decide around the buttons clicked or any thing else.at all how can i manage my qt forms data in my … | |
Hi there, please point me to decent 2D plotting library. Compatibility with QT/wx is an added advantage. Oh! I forgot to mention it should be free! | |
![]() | Hi all, and must say a great looking forum! I wish to start developing c++ apps on Linux and would like to know what GUIs are supports out of the box on Linux, especailly the main distros anyway? QT, KDE, GTK, etc? I basically want to write gui apps that … ![]() |
Hallo All, I am a beginner in C++ and currently need help in finishing the following task: I need to write an UDP code(C++) which sends and receives a random number (between 0 to 100). On the receiver's side there must be an User Interface showing the number received graphically. … | |
The company that I work for just bought a Qt License, so we've been messing around with it. So far, it's really nice. I'm more of a Java guy, and it's made the transition from Java to C++ much easier. The only real problem I have with it now, is … | |
I'm creating a media player with Qt & the phonon module: [CODE] #include "mainwindow.h" #include "ui_mainwindow.h" #include <fstream> #include <string.h> #include <stdlib.h> #include <QtGui> void MainWindow::slotFinished(){ int index = sources.indexOf(mediaObject->currentSource()) + 1; mediaObject->enqueue(sources.at(index)); setLabelNowPlaying(); } std::string ExtractFilename( const std::string& path ) { return path.substr( path.find_last_of( '/' ) +1 ); } … | |
Hello, I have to change this code (c++) on Java, can you help me. [CODE] QAbstractItemModel *MainWindow::modelFromFile(const QString& fileName) { QFile file(fileName); if (!file.open(QFile::ReadOnly)) return new QStringListModel(completer); #ifndef QT_NO_CURSOR QApplication::setOverrideCursor(QCursor(Qt::WaitCursor)); #endif QStringList words; while (!file.atEnd()) { QByteArray line = file.readLine(); if (!line.isEmpty()) words << line.trimmed(); } #ifndef QT_NO_CURSOR QApplication::restoreOverrideCursor(); #endif … |
The End.