Adding a QCoreApplication::processEvents() call in each of the for or foreach loops has done the trick, and made the UI responsive.
Thanks for your help!
Type: Posts; User: marknotgeorge; Keyword(s):
Adding a QCoreApplication::processEvents() call in each of the for or foreach loops has done the trick, and made the UI responsive.
Thanks for your help!
I originally called the C++ method as you say, just after opening the dialog, and had the same problem, which is why I moved it to Component.onCompleted(). Are you saying putting the C++ method in a...
I'm writing an ePub reader for Symbian, using QML and C++. My current task is building a library of books. To do this, I'm using C++ to recurse though the directory structure, searching for epub...
I'd forgotten about this. Connecting the dialog to the Rectangle with a MouseArea was indeed a fairly simple task.
I'm developing a colour picker dialog using QML and QT Quick components for Symbian. I've managed to create a CommonDialog with a Grid containing coloured squares for the user to pick from. Ideally,...
I've reported my bug: https://bugreports.qt-project.org/browse/QTJIRA-154
I've tried that. I've also tried generating a new project and moving my source code files over to that. No joy.
Never mind. I'll just have to program old-skool for now.
I've tried rebooting, and I've upgraded to the latest 1.2 SDK. The empty project worked, but not the project I'm working on.
Every time I try to switch from Editor to Designer with an open QML file in QtCreator 2.4.0, QtCreator crashes. This happens with both my current project, and a new empty project. I've already tried...
By creating a new project and adding my code piecemeal, I've determined that it is the OutputFlickable element which is causing the crash. I've replaced it with a ListView-based component, and my...
I have solved this, in a way. By using a test program, and adding bits of code one-by-one, I determined that the OutputFlickable component was at fault. I've replaced it with a component based around...
I haven't done a backtrace, but I have sprinkled my code liberally with console.log() statements. I've also sent the return value of app->exec() in main.cpp to qDebug(). This shows that app->exec is...
This is a repost of my previous post in Beginning Qt, where I got no answers.
I am writing a simple (for now) IRC client in QML, using the Communi library and some C++ backend code. The main...
I am writing a simple (for now) IRC client in QML, using the Communi library and some C++ backend code. The main output page of my client consists of a TabBarLayout/TabGroup combo, with dynamically...
Yes, that is the code I had found. I the end, I have used this code, with some modifications. As I'm using the TextEdit read-only, and programmatically adding text, cursorPosition does not keep up...
I'm writing a program which uses one or more read-only TextArea elements to display text coming from a remote server (ok, it's an IRC client). I'm displaying new output by appending it to the text...
I have written a small app, which is basically a QListViewWidget full-size over a QMainWindow. It works well, but the last item in the list is hidden behind the softkeys. Is there an easy way of...