I try to implement an own QAbstractGraphicsShapeItem in Qt Jambi (4.5) but as soon as I implement a custom class (rather than use e.g. QGraphicsEllipseItem) the rendering speed drops by about on order of magnitude.
If looked in the original Code of QGraphicsEllipseItem and it seems to do basicly the same.
class Circle extends QAbstractG...
So I downloaded the ATI Stream SDK. I don't have a gpu now so I use the '-device cpu' and got the programs/examples in the OpenCl directory working by adding the directory to LD_LIBRARY_PATH etc.
Now the problem is when installing QtOpenCl.
configure script gives me:
skkard@skkard-desktop:~/Applications/qt-labs-opencl$ ./configure
Th...
Hey everyone,
I was working in qwt, and noticed I was setting device clipping to false. Does anyone know what device clipping is? I couldnt find anything about it really in their documentation.
Thanks.
...
Given a specific width, I want to find out the height of a QTextDocument. In other words, if the QTextEdit that contains the QTextDocument is w wide, what is its minimum height h in order to fully display the document without the need for scrollbars?
...
Hi,
how to determine the number of character of particular font will fit to screen.
how to implement it.
Thanks
...
In my application I want to use QGraphicsItemGroup for grouping items into one item.
I played with it a little and not sure using it because when I want to catch events, events are merged together but I want to handle specific event with specific child.
How can I achieve this?
...
How to place an image on a QWidget that will open a browser and go to Google when you click on the picture?
...
I amk new to qt. I tried to create a window with a widget. The widget contains a picture(a chess board). Now, If I tried to show the window it is showing a part of that picture. Here the code
#include<QApplication>
#include<QMainWindow>
#include<QWidget>
#include<QMenu>
#include<QMenuBar>
#include<QPainter>
#include<QFrame>
#include<QHB...
Is there a reporting library which can be linked with a Qt application to generate and print invoices (from within my own application, no seperate tool). The invoices are needed to print instantly, so I have the following requirements:
pipe data to be printed into the reporting library
choose from a predefined reporting template (creat...
I've written a game in C# with SDL.NET and OpenGL. I want to add a menu to it, for which I need Qt. What bindings do you recommend for Qt in C#?
Qyoto? (apparently it's still unstable in Windows.)
qt4dotnet?
other?
Requirements:
fast
should just work and be polished - i.e. no weird problems at every step
integration with the builds...
Hi,
i have installed Qt 4.6.2 and developing the application for symbian.
Now i want use Qt mobility API for accessing the contacts.. how can i install the Qt mobility and acces the API..
my build environment is windows XP :)
Thanks
...
I'm trying to build Qt in a shared 64 bit mode on my 32bit XP system.
I can configure the QMake and start the 64bit build. The problem is that when the build starts, the first thing that happens in that the process builds ui, moc and rcc utility compilers in 64 bit mode, then tries to run them on my 32bit machine.
Does anyone know h...
Hello friends,
I am a Qt beginner and just got stuck with the problem. I am looking for a file SomePath/NewDirectoryA/NewFile.kml ( NewFile.kml will be the only file in NewDirectoryA, having this directory just to maintain semantics in the project ).
If SomePath/NewDirectoryA/NewFile.kml exists then I will use it in my code and If it d...
Hi
I'm trying to display a QLabel (without parent) at a fixed position using PyQt. The QLabel functions as a graphic that appears only for a moment, it's appears in the middle of the screen by default but I can't find how to move its position.
Any suggestion??
updated:
This is my code, maybe is a problem in the way I'm doing this:
...
We have a commercial windows application making use of QT.
I'll be very simplistic in my description as I must have a clear answer.
At compile time we use QT *.LIB files
We have a result of our compilation is an *.EXE file, we wrap into an installer and ship to clients. This *.EXE files depends on *.DLL files in QT.
at runtime the *....
I've run into a weird error with a Qt program running on Windows. The program uses QProcess to spawn a child process wit two arguments. The program and arguments passed to the QProcess::start() method are of the form:
"batchfile.bat" "--option1=some_value" "--option2=some_other_value\with_a\path"
For some reason by the time those op...
How can I enable the intellisence in KDevelop using C++ and QT?
...
Hello,
i have a inherited from QGraphicsScene and QGraphicsItem to create my own classes. I use Qt 4.6.
I want to set a specific opacity on each items of my scene. I use setOpacity : setOpacity method, but its not the result i hope.
I want to have for example one item opaque and an other transparent (to see the desktop, or the other ap...
Hi,
I want to use a PyQt application to display an image when some acpi event is triggered under linux.
I already setting up the configuration for the event and the python scrip is executed when the event is triggered, but when program reach the creation of the QApplication
app = QApplication(sys.argv)
it stops without error.
I tri...
Suppose I have a class with 2 static functions:
class CommandHandler
{
public:
static void command_one(Item);
static void command_two(Item);
};
I have a DRY problem where I have 2 functions that have the exact same code for every single line, except for the function that it calls:
void CommandOne_User()
{
// some code A
Comm...