Strange bug with a Qt dialog ( Qt4.6/windows)
If the dialog is started from MainWindow (from a toolbar/or menu action) and it is modal none of the text boxes will accept any edits. Other controls (drop down, buttons etc) all work.
If I make the dialog non-modal, with show() rather than exec(), it works perfectly!
Anyone come across a...
I would like to know if it is more efficient to use a int ** than a QList > or if they are pretty much equal. I have to do alot of calculations so I might want to get to faster one
...
Hi Geeks,
I recently downloaded the QT embedded widget source code and documentation. I am using QT creator for QT development. After downloading the source code and project files I dont know how to use it in QT creator. In the embedded widget package I have the installation instructions. In the install documentation its told to run the...
I am trying to add QProgressBar in my code but having some troubles. I added progress bar via Designer and in the code, I pass the pointer to QprogressBar object to a separate thread to have it update QProgressBar as it's processing data, however, I get this message:
../../src/xcb_lock.c:77: _XGetXCBBuffer: Assertion `((int) ((xcb_req) -...
I'm trying to make a simple application for calendar and it doesn't seem to link properly.
Platform: WinXP, Qt: 4.5.3 with MinGW
The application is trying to use a predeveloped qt plugin "worldtimeclockplugin" from C:\Qt\4.5.3\plugins\designer. I dragged and dropped this widget in Qt designer on a dialog and then tried to build the app....
I have an application written in QT4, that uses an openGL window. It has been running happily for months. Windows XP, service Pack 3,
Recently I was diddling with my screensaver, and happened to select the 3D text choice. When I previewed it, the QT4 application seg-faulted immediately. When I ran in the debugger,it is crashing in i...
I am drawing some polygons using the Qt4 GraphicsView framework, and I allow the user to zoom in and out of the drawing. I would like the polygons to get larger and smaller as the user changes zoom levels (scale) in the view, but is there a way to make the outline thickness always remain the same?
Thanks!
...
I come from a fairly strong C background, and have a rather solid foundation in C++. More recently I've been working with C# and other higher level languages. A project I'm looking at working on could really benefit from using QT4, but I have some questions on memory management I can't seem to understand. I've read the QT4 documentation ...
Hi,
i am new to QT, i don't have any knowledge about it.
from scratch i need to learn, if you people have some tutorials or some technical blogs please
feel free to share with me..
i have seen some stuffs in troltech, tell me any thing else apart from it.
Thanks
...
How can I create a HTTP POST request with some URL encoded parameters using Qt 4.6.1?
I figured out that I can create a QNetworkRequest, set all the parameters there and send it via QNetworkAccessManagers post method. But how can I add some URL-encoded parameters to the request?
In the end I want to access the Eve API using Qt/C++. A P...
Hi..
i am new to QT, i am facing some problems in inserting images to list view.
can you please figure what is the problem in code snippet
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
QListWidget* list=new QListWidget();
QListWidgetItem *item1=new QListWidgetItem(QIcon(":\temp\boat.png"),"BlueHills",list);
...
I have class which handles packages:
typedef void (*FCPackageHandlerFunction)(FCPackage*);
class FCPackageHandlers{
...
void registerHandler(FCPackage::Type type, FCPackageHandlerFunction handler);
void handle(FCPackage* package);
...
QHash<FCPackage::Type, FCPackageHandlerFunction> _handlers;
};
Then I have a serv...
I'm having problem with understanding some of QList behavior.
#include <QList>
#include <iostream>
using namespace std;
int main()
{
QList<double> *myList;
myList = new QList<double>;
double myNumber;
double ABC;
for (int i=0; i<1000000; i++)
{
myNumber = i;
myList->append(myNumber);
AB...
I don't have much experience with QT and this problem came out today.
QList<int> memList;
const int large = 100000;
getchar();
for (int i=0; i<large; i++)
{
memList.append(i);
}
cout << memList.size() << endl;
getchar();
for (int i=0; i<large; i++)
{
memList.removeLast();
}
cout << memList.size() << endl;
getchar();
After ...
Currently Im using QT Creator which created UI file for view and I'm a QT starter.
There is a part I am curious is that how can i create another Class for, let say a GraphicView, so that I can send signal and slot to that class instead of the main form?
Side Question: why I can't edit Singal and Slot in other place than MainWindow in E...
HI..
i am new to QT,i want to know how to customize the listview in QT i.e i want to add multiple icon in single row.. etc.. i tried lot i am not getting how to do that..
i tried with Qlistwidget, in tat i can only insert single row with one image.. i am not able to place multiple icon with desired locations..
please assist me, which...
I have libraries created from visual studio.I want to use the functions in library in Qt GUI.
How to do that?How to make the GUI understand that it depends on the lib?
...
My QT app has multiple windows and sometimes, even though the windows are already open but burried under other windows, the user will select an option to open one from the mainwindow menubar in which case I want to simply bring it up and make it the current one. Now using QWidget->raise makes this window go on top of all other windows b...
Hello,
I've been trying to figure out how to drag and drop an image into a QGraphicsView using Qt and the QtCreator IDE.
I have read the documentation here: http://doc.trolltech.com/4.6/qgraphicsscene.html#dragEnterEvent
This documentation is too general for me to understand. Can anyone give me an example that works?
I also found a ...
Hi..
i am new to QT,
i tried lot searching samples of how to get the button paint event in QT.. i am not getting the way to do it..
how to set the delegates for pushbutton in QT?.
how to get the paint event for pushbutton?
i read so many articles, it says we can get the paint event of button we can customize too.
but i didnt get the ...