Greetings,
In the QT application we develop we need to display several 'Viewer windows'(to display data in XY plane ,YX plane,XZ plane and in 3D).
We were hoping to use MDI application model ,but later client asked for a requirement to drag and view 'Viewer windows' in multiple desktops.(using multiple monitors).
This can not be done u...
Hi I am working on an application which reads XML file. Here I am trying to read "name" node under the "a"node not under the node "b".
When I tried to read the root "name" node I get both nodes.
Please help me to solve the problem.
Bellow is the sample.
<a>
<x>rrr</X>
<b>
<name> 123 </name>
</b>
<n...
Is it possible to draw an animated text with QPainter?
I only want to change color of text periodically.
If possible how to achieve?
...
hello
is there any way to get the selected item in a qmenu ?
i want to bind all items in that list to one function and get the item once user click it .
i've been looking for a way to get the item's label or index for 3 days , but couldn't find it .
any ideas ?
thanks in advance
...
Hello.
Here is what I have:
Visual Studio 2008 (on 32-bit Windows XP)
Qt libraries 4.6.2 for Windows (VS 2008, 194 MB)
Visual Studio Add-in (44 MB)
After I installed all the software, I created simple Qt Application project, with Visual Studio: menu File | New | Project... and Qt4 Projects | Qt Application.
Build it, and here is th...
I want to change text color inside a rectangle periyodically
Here is my trial:
TrainIdBox::TrainIdBox()
{
boxRect = QRectF(0,0,40,15);
testPen = QPen(Qt:red);
i=0;
startTimer(500);
}
QRectF TrainIdBox::boundingRect() const
{
return boxRect;
}
void TrainIdBox::paint(QPainter *painter, const QStyleOptionGraphicsItem *opt...
Is it possible to work with an encrypted SQLite database directly in Qt? Or, do I have to read it entirely into memory, decrypt in memory, do work, encrypt in memory, write to disk?
...
I have subclassed QComboBox to customize it for special needs. The subclass is used to promote QComboBoxes in a ui file from QtDesigner. Everything works except that when I put a break point in a slot, the program does not stop at the breakpoint. I do however know that it is being called from the result it generates. I checked other slot...
I am interested in developing a workstation-based application that communicates with a proprietary data server and that presents information from that server to the user. I am not intending the user interface to be browser-based, and have been considering Qt as my framework. Should I consider RoR for this? Thanks.
...
We have a designer creating a user interface for an application. The main window has several QStackedWidgets used for in place panel switching. What I'd like to be able to do is extract each individual panel that makes up each page of the QStackedWidget into it its own .ui file.
Is there an easy way to accomplish this from within Qt...
I'm not big on creating GUI's, and generally my philosophy is: I don't create them, or I make them as simple as possible (and convince myself that it's better for usability :)
For my current project, I'm using Qt from Python (PyQt), and I want to start adding some GUI elements without cluttering the interface.
My idea is to create thes...
Hello,
I am trying to find a way to play in Qt 4.6 rtsp streaming, that i got from youtube api
can it be done somehow?
...
hi, I am very new to Mac.
I downloaded QT SDK Mac Open source (http://get.qt.nokia.com/qtsdk/qt-sdk-mac-opensource-2010.02.dmg) and installed the Package.
I can run qmake, build samples and run demos,
but I cannot run configure (in order to build the Qt libraries statically).
It says: -bash: No such file or directory.
Documentation say...
I'm trying to build a 64 bit version of my application (and yes I really do need the memory) on my 32bit xp dev box for production testing on our Vista64 server.
Previously, I have built w/o any errors the Qt 4.6.2 DLL's in 64 bit mode. That step went vary smooth.
Just to get started in building production, I'm trying to rebuild Qt'...
In order to keep my Qt project somewhat organized (using Qt Creator), I've got one .pro file and multiple .pri files. Just recently I added a class to one of my .pri files that has the same filename as a class that already existed in a separate .pri file.
The file structure and makefiles generated by qmake appear to be oblivious to the...
I'm getting from server data using signal and slot. Here is slot part:
QString text(this->reply->readAll());
Problem is, that in text variable will be unicode escape, for example:
\u043d\u0435 \u043f\u0430\u0440\u044c\u0441\u044f ;-)
Is there any way to convert this?
...
Hello,
I need to save web page using QT webkit similar to "Save as complete webpage".
Following are my requirements,
Save the index html file, maintaining entity encoding.
Need to download all linked images and other resources.
Need to change resource path in html page to local downloaded path.
Need to maintain webpage current stat...
Hi,
I have QTableView with checkbox, but the checkbox is aligned left I need to align it center
I try this: http://qt.nokia.com/developer/faqs/faq.2008-01-03.2614755816
But have problem with check function
def drawCheck(self, painter, option, rect, state):
textMargin = QtGui.QApplication.style().pixelMetric(QtGui.QStyle.PM_FocusF...
How Qt's Opengl widget works? Is it a software-only implementation or it relies on the configuration of the platform
...
The thing is I have to run the OpenCl examples, as given here:http://labs.trolltech.com/blogs/2010/04/07/using-opencl-with-qt/.
The problem is that I have no clue where to start. I downloaded the source for QtOpenCl but it needs a valid OpenCl installation. I have Qt installed already.
How do I install OpenCl? I don't have a GPU at hom...