what is the parent of ListElement in ListModel
I found that when I use the parent property of ListElement , it will always return a QDeclarativeItem object address, what it real is ? Thank u.
View Articlehow to remove the moving effect when changing the index of ListView and...
how to remove the moving effect when changing the index of ListView and VisualItemModel: I found that there will always be a down-to-up of right-to-left moving effect when I want to change the current...
View ArticleHow to set default text in QcomboBox
How to set a default text to QComboBox. For Eg., “Select an option”, as shown below Before : ———————————- Select a Catagory On Click : ———————————- Option 1 Option 2 Option 3 “Select a Catagory” will...
View ArticleHow to set validator for all lineEdit in application ?
My application has 90 lineEdit widget. I want to set QDoubleValidator for every lineEdit. So how can I do that ? I can set individual I mean something like: QLineEdit::setValidator(new...
View ArticleFailed to Display with swapBuffers()
it says QOpenGLContext::swapBuffers() called without corresponding makeCurrent() I would like to know where to put the makeCurrent() function… Thank you very much. By the way, if you have idea about...
View Article[Solved] Windows application icon not apear in the explorer
I think I did follow all the step guided here. [qt-project.org]. I guess res file has linked with the `exe` because the file size has increased. My .pro file (vaastu.pro) QT ...
View ArticleNeed to stop QML Audio from cpp code
Hi, I have a qml which has audio playing.I need to pause the audio from QAPPlication ie cpp code. * QML CODE is as follows *********************************************************** import Qt 4.7...
View ArticleDots while freehand drawing on QGraphicsView and Problem while remove items...
Hi, I want to draw freehand drawing on QGraphicsView. I am able to draw it. But, when the line draw on QGraphicsView, it also create small small dots. How can i remove these dots ? I am sharing code of...
View ArticleHighlight definition for CSS was not found (but does exist).
Hi, When I open a CSS file, I’ve a message ‘A hightlight definition was not found for this file…’. I’ve showed the highlighter options, downloaded all definitions, but still I got the message (and no...
View Article[SOLVED] Difference between QWidget::hide() and QWidget::close()
Hello, I am little bit confused regarding difference between QWidget::hide() and QWidget::close(). What exactly happens if “I close and show a widget” and “I hide and show a widget”
View ArticleReplacement for QFtp
Hi, It looks like QFtp is said to be buggy, unsupported and discontinued in Qt5. My question is simple : what do I use to download binary files from a FTP server with login, using the same asynchronous...
View ArticleQt5 Visual Studio 2012
Hi, I see Qt build is available with VS2012 but it’s for 64 bits platforms. Do you know, or do you think 32bit version of this package is coming soon ? Thanks,
View Article[Solved]How to create OS specific Qt Widget ?
Hi Everyone Have a nice day.I want to create Qt widget, but aware of all OS and unique to the windows OS .In windows OS had jumplist ,i want to create that kind of Qt widget but it unique for the...
View ArticleMoving cursor or widget with lots of ghostings
Hi all, I writed a Demo in ARM Linux,it works fine(It workd on direct fb). And when I’m moving cursor or widget it has a lot ghostings! What’s wrong? My codes: MainWidget::MainWidget(QWidget *parent) :...
View ArticleQTcpSocket and QByteArray problem!
Hello everybody, i have a problem with wich i struggled for the last 2-3 days. I have a simple Server application in wich i get data in a QByteArray variable i use the next line for this: QByteArray...
View ArticleThe Mystery and Voodoo of Attached Properties
Hi Everyone, I’m trying to work out whether Attached Properties is something I should be using in my current project. This could be a longish post, so please bare with me =) I’ll start off by...
View ArticleNSView in QWidget
Hi, I have an application which uses NSTextView. Since QT5 doesnt contain QMacCocoaViewContainer any more, i had to find an other way to set an NSView into a QWidget. This way works in most cases:...
View Article[Solved] QtCreator say I don't have a compilator
Hello everybody, I downloaded the last version of Qt, Qt 5.0.2 and installed it. But when I wanted to build my project, Qt Creator said that “you need a compilator in order to build a project”. Where I...
View Articlein Qtableview convet julianday to Qdate
i have table in database which stores date in julianday , I use QSQLRelationaltablemodel for the tableview model the table view displays the data in integer format so how i can i convert integer to...
View ArticleHow to change the name and the emplacement of the SQLite database ?
Hi, is there a way to change the name and the emplacement of the SQLite database ? As exemple my database name is : 33704e7720b9d2247ed1258cad464a99.sqlite and is placed in this folder under linux :...
View Article