459 Topics

Member Avatar for
Member Avatar for marcux

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: …

0
54
Member Avatar for CanYouHandstand

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 …

Member Avatar for Agni
0
202
Member Avatar for lllllIllIlllI

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 …

Member Avatar for Tommymac501
0
821
Member Avatar for Papenpa

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 …

Member Avatar for jholland1964
0
361
Member Avatar for alkeels

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 …

Member Avatar for albertbori
0
397
Member Avatar for CanYouHandstand

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). …

Member Avatar for CanYouHandstand
0
670
Member Avatar for thr

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 …

Member Avatar for JamesCherrill
0
172
Member Avatar for khess

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 …

Member Avatar for great2010
0
392
Member Avatar for abrou

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 …

Member Avatar for deepavj
0
4K
Member Avatar for Syphilis

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 …

Member Avatar for vello
0
121
Member Avatar for ajith1988ts

Hi friends, i want to make a gui using perl qt, any one have any useful links plz send me. faithfully

Member Avatar for scrappedcola
0
30
Member Avatar for sksingh73

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 …

Member Avatar for iamthwee
0
292
Member Avatar for hondros

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 …

Member Avatar for woooee
0
525
Member Avatar for brightsolar

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 …

Member Avatar for 0x69
0
205
Member Avatar for onurozcelik

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 …

0
80
Member Avatar for onurozcelik

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 …

Member Avatar for onurozcelik
0
202
Member Avatar for RicardoE

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 …

0
90
Member Avatar for BobC22

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 …

Member Avatar for BobC22
0
182
Member Avatar for vellayil

In linux Qt use “ksystemtray.h” for developing program. Anyone know which header file equal to “ksystemtray.h” use in Windows (mingW). Thanks Advance:)

0
70
Member Avatar for pinsickle

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 …

Member Avatar for aminit
0
104
Member Avatar for vishy1618

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 …

Member Avatar for vishy1618
0
115
Member Avatar for tinudeshmukh

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...!

Member Avatar for saiprem
0
64
Member Avatar for garyinspringhil

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() …

Member Avatar for garyinspringhil
0
138
Member Avatar for TheWolverine

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 …

Member Avatar for TheWolverine
0
2K
Member Avatar for Dan08

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 …

Member Avatar for snippsat
0
123
Member Avatar for xuexue

[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 …

Member Avatar for maba001
0
131
Member Avatar for Asalearam

I am going to write a game with QT but i dont know how to start. Give me a tutorial for QT please.

Member Avatar for Stefano Mtangoo
0
541
Member Avatar for BBKisaki

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 …

Member Avatar for switch3d
0
167
Member Avatar for mingas

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 …

Member Avatar for Ancient Dragon
0
213
Member Avatar for Zhrate

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=\

Member Avatar for Nick Evan
0
34
Member Avatar for mevkurray

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 : …

0
73
Member Avatar for ABShaman

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

0
52
Member Avatar for alvalany

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 …

Member Avatar for pritaeas
0
212
Member Avatar for Duki

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. …

Member Avatar for WaltP
0
25
Member Avatar for Japus

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 …

Member Avatar for Anarionist
0
140
Member Avatar for thisismyuname

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, …

Member Avatar for nezachem
0
564
Member Avatar for explorepython

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 …

Member Avatar for explorepython
0
751
Member Avatar for DimaYasny

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 …

Member Avatar for DimaYasny
0
3K
Member Avatar for mdawaina

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 …

Member Avatar for mdawaina
0
85
Member Avatar for it-lady

I have project for ATM application >> & design with QT windows >> How can connect between windows ? please help me soon....

0
56
Member Avatar for python.noob

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 …

Member Avatar for vegaseat
0
161
Member Avatar for glenlivet

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 …

Member Avatar for glenlivet
0
187
Member Avatar for fuzzed

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 …

Member Avatar for gasp
0
140
Member Avatar for funfullson

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 …

Member Avatar for funfullson
0
147
Member Avatar for Stefano Mtangoo

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!

0
63
Member Avatar for stevee1984

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 …

Member Avatar for stevee1984
0
123
Member Avatar for thisismyuname

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. …

0
67
Member Avatar for llemes4011

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 …

Member Avatar for rahul8590
0
85
Member Avatar for pymatio

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 ); } …

0
151
Member Avatar for kjiu

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 …

Member Avatar for masijade
0
84

The End.