459 Topics

Member Avatar for
Member Avatar for Eagletalon

Hey Everyone, I have run into a bit of a problem with regards to application startup... I have written a C++ application with QT libraries that uses active QT to communicate with our ERP system in our business, the requirements are that any application we use needs to communicate its …

Member Avatar for Lucaci Andrew
0
1K
Member Avatar for annitaz

#ifndef FILM_H #define FILM_H #include <QString> class Film { protected: QString title; double dailyRate; public: Film(QString ti,double dr); QString getTitle() const; virtual double calculateRental(int num)const; }; class Video: public Film { public: Video(QString ti,double dr,QString vt,int d); QString getTitle() const; QString getVideoType() const; virtual double calculateRental(int num)const; protected: QString videoType; …

Member Avatar for annitaz
0
234
Member Avatar for memomk

hey i have this code when starting the Process to make database it freeze at all what should i do? # -*- coding: utf-8 -*- from PyQt4 import QtCore, QtGui import sys try: _fromUtf8 = QtCore.QString.fromUtf8 except AttributeError: _fromUtf8 = lambda s: s class Ui_Dialog(object): def setupUi(self, Dialog): Dialog.setObjectName(_fromUtf8("Dialog")) Dialog.resize(400, …

Member Avatar for memomk
0
2K
Member Avatar for James19142

i'm making this function that replaces single slashes in a path with doubles slashes. It works for everything but slashes because I gotta use doubleslashes to specify a single slash so how do I refer to double slashes. QString AddDoubleSlashtoPath(QString Path){ QStringList splitup=Path.split("//") ;/*supposed to be a single slash*/ QString …

Member Avatar for triumphost
0
1K
Member Avatar for James19142

This app I finally got the splashscreen to the way i want it, but when I run the .exe from the explorer the splashscreen loses its transparency and has a white background replacing the glow; In when the compiler runs it directly after it builds it look exactly how it …

0
116
Member Avatar for rugged1529

I'm trying to seem if(t3.alive) is not ever entered. It successfully goes through t1 and t2 if statment but skips over three. I've tried the do while, while (like seen). I would think if t3 is still alive the loop would still go then once it's not, its out but …

Member Avatar for skatamatic
0
3K
Member Avatar for stereomatching

I would like to study the source codes of openCV and reimplement them by the boost generic image library, I hope the algorithms developed by GIL could be integrated with Qt seamlessly. There are many libraries of image processing and I don't need to implement them again if I only …

Member Avatar for stereomatching
0
165
Member Avatar for annitaz

#include <QApplication> #include <QLabel> #include <QVBoxLayout> #include <QTextEdit> #include <QWidget> int main (int argc, char* argv[]) { QApplication app (argc, argv); QWidget window; QLabel* label = new QLabel("Please enter some text"); QTextEdit* textEdit = new QTextEdit; QVBoxLayout* layout = new QVBoxLayout; layout->addwidget(label); layout->addwidget(textEdit); window.setLayout(layout); window.show; return app.exec(); } 1.Qt provides …

0
119
Member Avatar for naresh4230

Hii friends, In my QT code am using style sheet for radio button as below "QRadioButton::indicator:checked {image: url(" + strCheckedRadioButtonImagePath + ");}"\ It works fine and image is loaded but the problem is when i select the radio button a rectangle shaped dotted lines are appearing around radio button.Its the …

Member Avatar for raptr_dflo
0
189
Member Avatar for stereomatching

Code blocks are created by indenting at least 4 spaces ... and can span multiple lines class Wizard : public QDialog { Q_OBJECT public: Wizard(QWidget *parent); private slots: void what_ever(); private: QPushButton *what_ever; }; Wizard::Wizard( QWidget *parent ) : QDialog(parent) { QGridLayout *layout = new QGridLayout( this ); QScopedPointer<QTextEdit> textEdit(new …

Member Avatar for raptr_dflo
0
203
Member Avatar for Eagletalon

Hi There, I hope somebody can help me, I work with Visual C++ 2008 with QT libraries I am trying to include a Interop.Encore.dll file into my program to access our ERP system business objects and post new data to the ERP We have a Visual Basic program geared to …

Member Avatar for Eagletalon
0
3K
Member Avatar for Kob0724

I'm not sure if this is the best place for this thread, but it's the best I could come up with. I'm using a QT Style Sheet to style a radio button like this: [CODE] QRadioButton{ background:#5F7536; color:#CBF57D; font:bold; } [/CODE] It works fine except that in addition to changing …

Member Avatar for naresh4230
0
3K
Member Avatar for gunnerone

Hi I am working on Linux and I am trying to create a GUI app to go with my executable I have made. For some reason it unexpectedly ends. There is no error message, it just says in the Qt console window it unexpectedly ended with exit code 0. Can …

Member Avatar for gerard4143
0
199
Member Avatar for DesignGhosts

Hi there, I am trying to apply a Manifest file to my delphi application so that it can run with administrative permissions, I have been following [URL="http://delphi.about.com/od/delphitips2009/qt/delphi-vista-registry-run-on-startup.htm"]this Tutorial[/URL] part Faking UAC Rights - How to Request Execution Level. I have got to step 6 where I start getting problems, I …

Member Avatar for DesignGhosts
0
2K
Member Avatar for xopenex

Hi guys, still Noob here, so i apologize for not using the correct terminology. I will be as detailed and accurate as possible! I've been using QT Designer, and been trying to figure out how to "combine" the GUI ive created with the python script I wrote before making a …

Member Avatar for HiHe
0
2K
Member Avatar for nine9hours

Hi. I am a beginner and i have been facing this problem since Monday. I made a QMainWindow with name window and added an action in it. So when a user clicks the action, the QDialog dialog is displayed. In dialog i take input from user and then return it …

0
189
Member Avatar for nine9hours

I wrote the following code, so that whenever an item from the list is deleted, the file associated with the name of the items below the delted items get updated. But the program isn't working, i have been reviewing this code for last 2 days but worthless. Please help. void …

0
80
Member Avatar for nine9hours

Qt ide gives error about"error: passing 'const QChar' as 'this' argument of 'QChar& QChar::operator=(const QChar&)' discards qualifiers" here for(int i=reqposition;;i++) { if(data.at(i)==',') break; temp.at(j)=data.at(i); // ERROR IS HERE j++; } what do i do to solve it!

Member Avatar for nine9hours
0
211
Member Avatar for xopenex

Hi guys, converting .ui to .py to .exe using Qt Designer (PyQt4), Python 2.7, and py2exe Ive been able to do this with Tkinter gui's but having problems with gui's from Qt Designer? First error was due to missing msvcp90.dll which ive downloaded and copied into the python dll directory, …

Member Avatar for xopenex
0
1K
Member Avatar for tjsail33

First question here, so bear with me. I have been trying to create a view on a QMainWindow using a QDeclarativeView as the canvas, but whenever I try to switch the source of the QDeclarativeView my program segfaults and I frankly have no idea why, or how to fix it. …

0
95
Member Avatar for nine9hours

I made the following program, but now i am getting an error. I searched for error almost 3 hours but worthless. I want to discuss the problem with you people. I am getting the error: [B] expected class-name before '{' token[/B] #ifndef ASKDIALOG_H #define ASKDIALOG_H #include <QDialog> #include "umerwindow.h" namespace …

Member Avatar for ravenous
0
256
Member Avatar for nine9hours

Hi. I have made a simple testing program which I'll use in another program later. I create the items of the QListWidget through looping and now I want to make changes in one of the items of the list, which the user clicks. But when I call a fucntion to …

Member Avatar for nine9hours
0
996
Member Avatar for Panathinaikos22

Hello, i started learn litle "Game-Developing", i download Tiled QT to create game map, but my question is, (Game will be in java) How i make my character go to specifically positions, i mean, in map are some walls and playrs must not go above the image... An idea is …

Member Avatar for thanatos1
0
122
Member Avatar for C++ programmer

Hi guys. I am a bit confused among the following three functions. read() readAll() readLine() How do they work? I'll be really thankful to you all. Thanks alot for your precious time! Regards.

Member Avatar for deceptikon
0
731
Member Avatar for C++ programmer

What does this statement mean "[B]These functions (read(), readline(), readAll()) read a line of ASCII characters from the device, [U]up to a maximum of maxSize - 1 bytes, stores the characters in data, and returns the number of bytes read[/U].[/B]" I have used readAll() and readLine() it returns all the …

Member Avatar for thines01
0
149
Member Avatar for C++ programmer

I have designed a dialog in Qt designer and I want to use the name of each child widget for some coding in cpp file. But the names I have given to buttons etc in Qt designer are not working as pointer.More over their names in ui_[I]mydialogname[/I].h are not the …

Member Avatar for C++ programmer
0
192
Member Avatar for C++ programmer

Hi. I made a program and I write this code in order to make the window's size fixed. More over i am using a button to unhide some Groups on main window, But when i compile program, it crashes but when I comment out this line of code the program …

0
104
Member Avatar for C++ programmer

Hi guys I have been wondering can we develop android apps on Qt? Do we have to learn Java inorder to program for android in Qt or All the programming will be done in C++. Actually I don't want to learn Java any recent because I am working on someother …

Member Avatar for jbennet
0
100
Member Avatar for C++ programmer

what does the following code means in Qt programming.. QDialogButtonBox::Ok why are we using QDialogButtonBox:: .

Member Avatar for Eagletalon
0
200
Member Avatar for annitaz

I need to write a program in QT4 that converts the value entered by the user to Celsius or to Fahrenheit The temperatue.cpp: I need to write a program that converts celcius to fahrenheit and vice versa the temperature.cpp is: #include "temperature.h" //constructor Temperature::Temperature() { //{initializes and places widgets using …

Member Avatar for deceptikon
0
269
Member Avatar for Hand

Hello. I compiled a basic GUI example written with Qt. When I run with valgrind, it tells that there is memory leak. It is stranger, because at each time I run the app, the number of malloc calls are different. Qt seems nondeterministic. [CODE] #include <QApplication> #include <QPushButton> int main(int …

Member Avatar for MastAvalons
0
193
Member Avatar for Staric

I was dragging and dropping flv files onto this bat file so I could watch in fullscreen on my second monitor:[CODE]set vlcPath="C:\Program Files\VideoLAN\VLC\vlc.exe" %vlcPath% %1 --video-x=1366 --video-y=768 --width=300 --height=300 --fullscreen --no-video-title-show --no-embedded-video --no-qt-fs-controller[/CODE] but would rather write a batch file with a menu so I could simply select the video …

0
152
Member Avatar for jryans10

Hi, I've currently got a dilema. I'm aware that from within a C++ program, you can use return values to get data from a function, but I am currently developing a Qt program, and at the moment I have 2 GUI's: 1- Main Window 2- Dialog The main window calls …

0
67
Member Avatar for dan_code_guru

Ive been trying to code a GUI application in qt but im having trouble trying to get a button work. homewindow.h: [CODE]#ifndef HOMEWINDOW_H #define HOMEWINDOW_H #include <QWidget> class homeWindow : public QWidget { Q_OBJECT public: homeWindow(); ~homeWindow(); void init(); private slots: int when(); private: QWidget *aWidget; }; #endif // HOMEWINDOW_H[/CODE] …

Member Avatar for chikkupa
0
158
Member Avatar for pwolf

i finally started having a look at gui yesterday, and tried to do some things with PySide, however i have the following problem; Whats wrong with this code? [CODE] !/usr/bin/python # -*- coding: utf-8 -*- import sys from PySide.QtCore import * from PySide.QtGui import * class Form(QDialog): def __init__(self, parent=None): …

Member Avatar for snippsat
0
305
Member Avatar for Karlwakim

Hi everybody, I am new c++ and a few days ago I downloaded Qt for gui developing, I found some videos about it but I need something more advanced. Videos from basic to advanced ?? If i watch all of [URL="http://www.youtube.com/playlist?list=PL2D1942A4688E9D63&feature=plcp"]these[/URL] , will it be enough to make professional apps …

Member Avatar for Karlwakim
0
229
Member Avatar for dshiells

Hi all, I'm currently developing an application in QT, and using QML for the user interface. Using QDeclarativeView I am able to create custom objects and access their members from within QML (using the below code), however I am stuck when I want to access the methods from just within …

0
59
Member Avatar for wkarl

i want to Display my QTableView insid QTextEdit ? can i do this thing ?? if i can how i can do it ?

0
89
Member Avatar for huntaz556

Hi everyone ! i havent posted in a while i guess i just took a break O.o But i am having a problem i designed a UI in qt designer and then did [CODE]pyuic4 -x backup.ui -o backup.py[/CODE] That worked perfectly i can execute it and i have a nice …

1
94
Member Avatar for roshan_iiita

I am making a application for maping some keyboard shortcuts to some event. So, i need detecting the keyboard shortcuts pressed after clicking a button. For Example, i have a button having text on it "change". When i click on it text on it changes to "press keys" then i …

0
69
Member Avatar for mina_k

[B]Hello , I'm new here as I'm new in python.. :D I need help in viewing database's data ,[B][U] I could view data in python[/U][/B] but i need to view it in GUI . [B][COLOR="Red"]i'm using:[/COLOR] - Qt designer - pysqlite[/B] Thank you all :)[/B]

Member Avatar for robert99x
0
56
Member Avatar for xfbs

Hello everyone! I am Pat, I am currently 16 years old and I've been programming for 4 years. I started with PHP, then Python, then Ruby and currently I am programming in C++ with the awesome Qt framework ;). I hope to learn some new stuff here and meet like-minded …

0
46
Member Avatar for mrgadgets

I am a web developer and this is my first time doing coding for desktop program. I am looking for a software development tool to use for c++ which include GUI and be able to pack up and run on windows after I have finished written the program. This software …

Member Avatar for Frederick2
0
186
Member Avatar for -Theo-

i was working on a project to send sms through my cellphone connected to my usb, but i did it on java with the comm library and on windows, now im working on ubuntu with c++, but i dont find any library that i could use to communicate with the …

Member Avatar for ret801
0
51
Member Avatar for tubby123

Hey, I am doing my Final Year Project on NLP - something along IBM's Deep QA Project. [URL="http://en.wikipedia.org/wiki/Watson_(computer)"]http://en.wikipedia.org/wiki/Watson_(computer)[/URL] I would like to know what will be a good IDE to work on. My parameters for a good IDE in this project would be : 1)Good API's for Speech to Text …

0
53
Member Avatar for ChaosKnight11

Hi, I started with C++ development recently, and I think I'm ready to start building GUIs for my apps. I'm thinking about using Qt, since it is the most popular C++ GUI library, but the licensing is really confusing, and there isn't a lawyer nearby that understands software licensing who …

Member Avatar for Stefano Mtangoo
0
328
Member Avatar for bd338

I'm running Mac OS X Lion on my 64-bit MacBook, and I can't run any of the QT Jambi applications I create. Here's the code of the test program I'm trying to deploy. [CODE]import com.trolltech.qt.gui.QApplication; import com.trolltech.qt.gui.QPushButton; public class GUI { public static void main(String[] args) { QApplication.initialize(args); QPushButton b …

0
93
Member Avatar for TheHaxx0r1215

Alright, I have a members area, area.php, and I used mysql to find the userlevel and display content depending on the userlevel, 1 for user, 2 for admin. I made it, but it displays both the user and admin for 1, and 2. [CODE]<?php // Members Area // session_start(); $usernamee …

Member Avatar for kanchana Mala
0
241
Member Avatar for TriceD

Greetings to all. My problem is not particularly VB.Net specific but having looked around this forum, I didn't know exactly where to post it and considering that I'm writing my program in VB.Net, I just decided to do so here. I apologize in advance, if that was wrong of me. …

Member Avatar for TriceD
0
495
Member Avatar for Nikki2

My direct 3d option is unavailable and I have no clue how to fix, any help will be very appreciated, here the information from my DxDiag ------------------ System Information ------------------ Time of this report: 8/23/2011, 12:28:40 Machine name: ME Operating System: Windows XP Home Edition (5.1, Build 2600) Service Pack …

Member Avatar for pjhutch
0
288

The End.