Quantcast
Channel: QtWebEngine
Browsing all 13965 articles
Browse latest View live

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 Article


Scrolling 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 Article


Create 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 Article

Qt 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 Article

Threads 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 Article


QWebView 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 Article

Appending 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 Article

Images 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 Article


Json 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 Article


QLabel 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 Article

QML and Qt ?

Can I develop same application either Qml or QT?And QML is fully supported for Desktop environment ?

View Article

QML tutorial ?

Is there any book for QML ? What is the best way for learning QML ?

View Article

Uppon 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 Article


QML 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 Article

Resizing 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 Article


Calling 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 Article

QImage: 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 Article


QfileSystemModel : 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 Article

Can'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 Article

how 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
Browsing all 13965 articles
Browse latest View live