حواندن/نوشتن در تکست باکس
سلام من میخوام یک تکست باکس روی فرمم قرار بدم که کاری شبیه ترمینال در برنامه های کنسول انجام بده . یعنی بتونم رشته ورودی از کاربر بگیرم و بعدشم نتیجه رو بهش نشون بدم یک برنامه ساده یا تکه کد مربوط به...
View ArticleManually calling lineEdit's textChanged
How to force call of lineEdit’s textChanged at startup? The workaround is: MainWindow::MainWindow(QWidget *parent) : ... QString s = ui->vectorEdit->text()+" ";...
View Articleusing QT5 in vs2012 after compiling
i’ve been trying to get QT5 to work in vs2012 for 2 days now, and in the meanwhile i’ve seen a lot of topics on it so far i’ve gotten to downloading the source code and compiling it in the vs native...
View Articlei cant use console application
hi when i build a console program i cant see results in terminal page . just opened a empty terminal page and doesnt show anythings! i dont know why and i’ll be happy if anyone helps me
View ArticleEmbed a project into another.
Hi. I have a main and a secondary qt project. The secondary project has a form created from main.cpp. Is there a way for embed the form of the second peoject into the main project?
View ArticleImplicit Sharing and Pointers
Greetings. I’ve been reading about the feature ‘Implicit Sharing’ Qt classes and I doubt has arisen as follows: Is this feature works just when working with pointers and not directly with objects?...
View ArticleWhat is the javascript or c++ command/function to Inspect an element?
As you know QWebInspector has a button which enables element inspection. For this reason I want to know what is the javascript command or the c++ command to achive that result without clicking this...
View ArticleProblem with gqBegin/glEnd and others
Hello, This is my first post so welcome everyone!! I have problem with new Qt 5.0.1 After installation QT 5.0.1 with Qt Creator in one package I cannot compile simple drawing application. I think that...
View ArticleFail to launch Qt Creator 2.7.0 on ubuntu 12.10
Hi guys I followed the guide http://developer.ubuntu.com/get-started/gomobile/ to setup the dev environment, and failed to lauch qt creator. In Command Terminal I type the command line: qtcreator I am...
View ArticleOsx mountain lion 10.8, QT 5.0 OpenGL Example does not render anything?
Hey I basically copied and pasted the code from http://qt-project.org/doc/qt-5.0/qtgui/openglwindow.html And it does not actually render a triangle any one get a similar problem?
View ArticleСompilation .dll in Qt Creator
I am trying to recompile GLTools lib from superbible 5 in qt. I have added to all .h files “gltools_global.h” and Q_DECL_EXPORT derictive, excluding glew.h, glxew.h,wglew.h. And during the biuld i am...
View ArticlePySide: Creating GUIs with Qt Creator/Qt Designer or by code?
Hello there! I’m just starting with PySide and I have a question about GUIs: what do you use to create them? Qt Creator? Qt Designer? Other tools? Thanks for your answers and your time.
View Article[SOLVED]Problem with sending multiple requests.
I am trying to get information about size of files from url list. So I made recursive function that will send head request for each url in my list. Everything go fine if there is only one url in my...
View ArticleLazy Loading Model Example in Qt
Is there any example of Lazy population/loading model for QAbstractItemModel/QStandardItemModel in Qt. I want to implement it for a QListView. TIA
View ArticleProper QSettings Management
Hey there First I have a more philosophic question. The aim is to save all the interface variables and more (like window geometry, …) of the software a user does. So that at the next startup everything...
View Article[Solved] QtScript (Qt4) Object Ownership Clarification
edit: well reading the documentation is hard … :) objects created the way the original problem states get AutoOwnership (not QtOwnership as suspected) and get deleted/garbage-collected if they lack a...
View ArticleHoe koppel ik qtcreator 2.6.2 aan Qt 4.8.4
Ik heb deze programma’s gedownload en geinstalleerd. Maar voorzover ik heb kunnen zien leggen de makers niet uit hoe ze aan elkaar te koppelen zijn. Wie heeft dit al eerder gedaan en kan/wil het mij...
View ArticleDrawing Points and connecting them with a line
I have made this program which is a basic paint application, I’m trying to edit it now so when the mouse is clicked, a point(like a point on a graph) is made at the spot where the mouse has been...
View ArticleQLineEdit - Indicate if user enters an Invalid Value...
Hi… I have a QLineEdit in which the user can enter only an Integer. I used a QRegExpression validator instead of QIntValidator for the integer. Because the user can enter any value which can be out of...
View Article