Hi,
I am using Qt 4.5.3 and Windows XP. I need my application to generate documents that contains the information that is being used and generated. The information that is being used will be just strings (QString to be more specific) and the information that is being generated will be strings and images as well.
I want documents to be ...
Hi All,
How can I perform automation of MS Word documents (.doc) or ODF documents (.odt) in Qt 4.5? I know using the QAxWidget, QAxObject.
I have data (QString) and few images as well. I have to add them into the document. I googled but I couldn't find any commands for MS- Word/ ODF. But I want the specific commands that should be pas...
Hi all,
I have got a problem when I try to make following simple connections
QSpinBox *spinBox = new QSpinBox;
QSlider *slider = new QSlider(Qt::Horizontal);
QTextEdit *text = new QTextEdit("Hello QT!");
QObject::connect(spinBox, SIGNAL(valueChanged(int)),slider, SLOT(setValue(int)));
QObject::connect(slider, SIGNAL(valueChanged(in...
Based on QCA::Cipher Example I managed to get an encrypted value.
String: hellohellohellohello
Encoded: d2fde01cb467a97de2e56bbd76fb0855
Key: cekpo
IV: cekpo
My code:
QString enc = "d2fde01cb467a97de2e56bbd76fb0855";
QCA::Initializer init;
QCA::SymmetricKey key(QByteArray("cekpo"));
QCA::InitializationVector iv(QByteArra...
Hi I am trying to create a qt program. Here I need some library file which are in
C:\Documents and Settings\prabhakaran\Desktop\ChessServerNew\ChessServerNew
I tried to edit the .pro file like
INCLUDEPATH += C:\Documents and Settings\prabhakaran\Desktop\ChessServerNew\ChessServerNew
But, still the qt compiler is saying that it can'...
Hello All,
I need to read a part of a .svg file.
There are many graphs in the .svg file related to values.
Is there any way that each graph can be represented as a tab in Qt?
Thanking you.
...
hi
i'm trying to send a QList as a parameter to another class but for some reason i lose all it's content ...
(when i open the object with the debuger i see for objects...)
trying to send QList books to class Print:
class Store: public QWidget {
Q_OBJECT
public:
Analyze(QWidget *parent = 0);
void generate_report();
~An...
hello
i have just received a task to implement a software that paints over pictures (pretty much like microsoft paint )
i have no idea where to start or how to do that. do anyone have a good reference or idea for painting in qt or pyqt ?
this will be highly appreciated
thanks in advance
...
Is it possible to step into Qt sources, e.g. qmainwindow.cpp, in Qt Creator? At the moment I'm seeing the disassembly, but it would be nice to see the sources instead.
...
Hey guys .. Well ever since I've started programming in Qt, I've been having problems regarding scope visibility of objects I've defined .. Till now I've managed to find ways to get around these things but now its getting annoying ..
For example, I have this class defined called Canvas:
class Canvas : public QWidget//, public MainWindo...
Hi i have a Qt application and there are several plug-ins attached to the application.
i want to change the language of the program on runtime but i dont know how to do it.
i know i can do it by a call of this code:
ui.retranslateUi(this);
but since there are many plug-ins and many widgets on these plug-ins, it is hard to write th...
I had a problem at first compiling Qt static on windows, QTBUG-11249
When configured with "-no-qt3support", the build completes fine.
i did that and compiled successfully, but i get the same errors when i try to compile my application.
e:\Qt\2010.04-static\qt\lib/libQtGui.a(qapplication.o):qapplication.cpp:(.text+0x8e0f): undef...
Fist, apologies for the length of the question.
I am trying to propagate custom Qt event from child widgets to a top parent widget in order to trigger some action based on event type instead of linking signals.
Qt docs suggests that every event posted with postEvent() that have accept() and ignore() methods can be propagated (meaning e...
I have a Qt/C++ application that exposes some custom C++ classes via DBus methods (by registering them as MetaTypes, and using annotations in the xml), and I want my PyQt program to consume these methods.
The problem I see is that the exposed types are C++ classes, not python, so how can I make python aware of these classes?
...
Here, my signal declaration:
signals:
void mySignal(MyClass *);
And how I'm using it:
MyClass *myObject=new myClass();
emit mySignal(myObject);
Here comes my problem: Who is responsible for deletion of myObject:
1-)Sender code, what if it deletes before myObject is used? Dangling Pointer
2-)The slot connected to signal, what ...
Is there a terse introduction to GUI programming with Qt, meant for programmers with a decade's worth of experience (but who don't have any exposure to Qt). I am looking for something that gets one started quickly, and covers all the advanced stuff (including best-practices and patterns). Was looking for something like this book - Advanc...
Say I have a QTableWidget and in each row there is a QComboBox and a QSpinBox. Consider that I store their values is a QMap theMap;
When comboBoxes value or spin boxes value is being changed I want to update "theMap". So I should know what was the former value of the combo box in order to replace with the new value of the combo box and...
i made an app in the tray bar with an icon with qt, this is the way i make the icon;
trayIcon->setIcon(QIcon("favicon.ico"));
but it only show the icon on my pc, when i give the project to somebody else its just invisible.
even if i do the next thing;
trayIcon->setIcon(QIcon(QDir::currentPath() + "/favicon.ico"));
does somebody kno...
Hi all,
I am having an listview filled with the items, by default the 0th item will be selected.
If I try to navigate the list using mobile keypad its not gaining focus, instead i need to use my mobile select key for focus. In this process my mobile left soft key gets change do “Done” I don’t know why this “Done” menu is appearing in my...
I am trying to work with Netbeans ans Qt (on Windows) and I am having trouble getting set up.
I am getting a message that it can't find an included file: QtGui/QApplication.
I think that I must have a path wrong somewhere. Under Tools -> Options QMake Command I have
C:\Qt\2010.02.1\qt\bin\qmake.exe
In Windows, I have the PATH set ...