QML WebView 3.0 don't use the provided QQmlNetworkAccessManagerFactory
I have subclassed QQmlNetworkAccessManagerFactory because I want that the QML WebView item sends a custom user agent string. But it seems the WebView doesn’t use the custom...
View ArticleScrolling problems
Hey, i have implemented a widget which has a grid (QTableView object) and two scollbars, one horizontal and one vertical. I have implemented a function that fetches the data to be shown in the grid...
View ArticleCreate a marquee animation with QGraphicsScene
Hi all, I’m looking to create a marquee like the ones we could watch on TV, normally horizontal scrolls. What I’m having is a lot of flickering on the animation, and I would like to have other opinions...
View ArticleQt Application to do Linux Command
Bismillhirrahmanirrahim, I use QtCreator on Ubuntu. I wanna make an application that replace some Linux command. In example, if I click a button, it is same with bash command: cp...
View ArticleThreads and GUI
Hi, I am relatively new to Qt, so excuse my ignorance. I have a Qt application with a main window and a TCPServer. The TCPServer is forking, in the sense that it creates QThreads and pushes worker...
View ArticleQWebView wait load
Hello all, i try to load some site, but QObject::connect(&view,SIGNAL(loadFinished(bool)),&loop,SLOT(quit())); does not work (slot never calls, but site displayed correclty). It’s...
View ArticleAppending and reading from the end of a file.
Could any one help me in modifying this snippet of code or rewriting from scratch, to append a text to the end of the file and then read that text from the end of the same file. The text has a length...
View ArticleImages Slider in GUI
Bismillahirrahmanirrahim, How to create a simple image slider? An absolute example, that inspires me intensely, is Ubiquity in Ubuntu. If you install Ubuntu, you will face an installer which is show...
View ArticleJson import
I am importing from a QJsonDocument and it was working until i gave it a header and it stopped here is the code any suggestions
View ArticleQLabel output freezes when outputting data from separate process
Hello, I have two processes (One from Qt and one external) which I am using QSharedMemory as my IPC for. In my Qt GUI I have a separate thread that emits a signal to update my QLabel outputs every 100...
View ArticleQML and Qt ?
Can I develop same application either Qml or QT?And QML is fully supported for Desktop environment ?
View ArticleUppon including QCamera i have "mediacontrol.h: No such file or directory"...
I am on ubuntu 13.04 with qt 5. i have run the command sudo apt-get install qtmobility-dev and my mainwindow.cpp #include "mainwindow.h" #include "ui_mainwindow.h"...
View ArticleQML Draw order
How does QML draw order work, especially given that QML is declarative rather than imperative? If I have this code: import QtQuick 1.1 Rectangle { id: outerRect...
View ArticleResizing a Widget on the fly
I have two QTextEdit objects, side by side. The one on the right contains text being edited, and the one on the left contains notes about the text. This is similar to the way that QtCreator displays...
View ArticleCalling a function from a new state
I have a sqlite database, I’m using a function to load the database. I can only get the database to show the contents in all the states not just specific states. Can’t I just call the function in say...
View ArticleQImage: Make similar pixels of two images transparent
Is there a method/library that will only make specific pixels in the destination image full-transparent? That is, the pixels in the destination image that match the given source image. peili
View ArticleQfileSystemModel : removes rows that gaps can exist within them
since bool QAbstractItemModel::removeRows ( int row, int count, const QModelIndex & parent = QModelIndex() ) can only removes rows in one piece, next to each other without any gaps....
View ArticleCan't connect to SQLite DB
Doing my first steps in Qt Creator and lost already: To a basic, otherwise unchanged starting app from the Qt wizzard, I have added `sql` to the project file QT ...
View Articlehow do we support 4inch iphone5 screen
Hello guys, I tried the ios port of Qt, the problem is that the window size is always 3.5 inch. I have a 4inch iphone 5, so I have two black bars around the application. How do we support 4inch screen?...
View Article