Prevent QMdiArea object from removing QMdiSubWindow when user clicks close...
I want the hide the sub window and not remove it when the user clicks the close button on the sub window. How do I prevent the QMdiArea object from removing this object?
View Articleresiving signal from qml
i want to receive a string from my qml file…all that i do is copying this two codes from sub url in my program and including libraries… this link!!! [qt-project.org] but this error occur… undefined...
View ArticlePassing item from GridView (using a ListView and delegate) to a Popover as...
I am using an ActionSelectionPopover, which is an Ubuntu component, it has a property called “caller”, which you set the item that calls it (a button, or other item that you click on for the popover to...
View ArticleQt documentation format
Hi, browsing a little through the oldest (Qt4.7) documentation on DevNet I came to a conclusion that previous format has had some benefits. For example, class members and methods in a table, with...
View ArticleQGLBuilder and QGLSceneNode help
How do I use QGLBuilder and QGLSceneNode to add multiple objects to a scene? When I try the code below app expectedly quits… QGLBuilder builder; QGLSceneNode *node; builder <<...
View ArticleMaking a custom QML type element or just use regular elements
I am making a game. There are two characters in the game like ‘hero’ and ‘enemy’. I have made separate classes of them. Should I declare a new custom type for each character like import QtQuick 1.1...
View ArticleCross Compiling Qt for ARM with OpenGL
hi everyone, After searching the web and going through tutorials I tried configuring qt 4.8.4 with OpenGL options: This is my command ./configure -embedded arm -xplatform...
View ArticleI want to start working on c++ projectin qt on rhel 6...can someone enumerate...
Plz help me with the requirement of complete set of libraries needed
View ArticleTo draw a graph with real time input using QTWidgets for Technical(QWT)
hi, I am very new to this topic. I am installed QWT from Ubuntu software centre. In .ui file I drag n drop the QwtPlot widget and I selected the slot as void qwt::on_qwtPlot_legendChecked(QwtPlotItem...
View Articleپروژه گرافیک کامپیوتری با opengl
سلام دوستان این ترم یه پروژه درس گرافیک کامپبوتری دارم این بازیه که ازون بالاش شکلا میان پایین کنار هم باید جوری چید که ی ردیف اینجوری پر شه … ازتون کمک میخوام آخه نمیدونم چجوری باید سر همشون کنم اینم...
View Article[Solved] Old/deleted reference moc_mainwindow.o causing 'Undefined symbols...
Update/Solved: In my post I mention the files are exactly the same; however, I was playing around w/ my version control during the time and it’s possible that it reverted to the older file. Original...
View ArticleRemoving all Items from QListView
Hi all, How can i delete all rows/items from a QListview. I am using QStandardItem to insert rows into a QListview. At a point i want to remove all the elements that are present in the QListview. can i...
View ArticleWhy does "Save all files" not save cmake files?
In QtCreator 2.7 I switched on Build & Run —> General —> Save all files before build. Why does this option not save my changed cmake file? (This drove me crazy a few times.)
View ArticleQt Qml Database
hi ,friends i have created one database..i have stored peoples in table…. whenever i retrieved people names it should display in my qml through listview…suppose if there are similate name in the...
View ArticleHow to customize a tabwidget using stylesheet ?
I would like to customize a QTabWidget. I have seen a nice example( rounded-border rectangle with a gradient) but it is given in QML…....
View Articlebuilding error: Unknown module (s) in QT: webkitwidgets
Hi guys, I downloaded “qt-everywhere-opensource-src-5.0.2” and built it with msvc10 to D:\qt-5.0.2-msvc10-bin. And then I ran “Perl qtwebkit\Tools\Scripts\build-webkit” to build QtWebkit. I got the...
View Articledesallocate a QStandardItem [SOLVED]
Hello, I would like to desallocate a QStandardItem but it doesn’t work. This is my code: QStandardItem *qsItem = new...
View Articleadd rows and columns in tablewidget
i have a Qtablewidget in forms and i want to add data dynamically in the rows and columns.i have a timer and i am incrementing value of a variable after every 1 second. so i want that after everyone...
View ArticleProblem with .ui file
hi… I am coming with silly problem but it is irritated me from 2hours. In Qt creator, I am open the project which is already exist one or new one it’s fine but when I click on .ui file total QT creator...
View Article