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

Minimum required width of a QTextBrowser containing HTML table.

Hi, I am new to Qt. I am using a QTextBrowser to display HTML table. I need to resize the browser to minimum size that would be enough to show the table properly without scrollbars. QTextBrowser...

View Article


Playing MP4 and FLV with QMediaPlayer

Good day everyone! background info All machines mentioned below are Win 7 Pro Using Qt 5.0.2 I am trying to do as the title says, I am using the QMediaPlayer and QVideoWidget to try and play video....

View Article


Reusable SequentialAnimation

I’m trying to make a reusable animation and it’s not working. Why would I not be able to do something like this? I’m defining an animation in file “ZoomAnim.qml” : import QtQuick 2.1  ...

View Article

Does a QWidget need to live in QApplication?

Let me elaborate. Say for example that an application such as Gimp for instance hosts a Qt widget which when displayed in the app has its own user interface with associated window messages and events....

View Article

Nested QGraphicsView + OpenGL issue

I am having an issue when I embed a QWidget into a QGraphicsScene and the widget I am embedding contains another instance of the same QGraphicsView that is hosting the scene. My QGrapicsScene is set to...

View Article


I need to delete objects in mainwindow?

MainWindow::~MainWindow() {     delete ui; } This is default code when I create a project in Qt Creator. It’s necessary? I think after close program OS will delete it automatically.

View Article

Getting Qt5.1.1 to work in Visual Studio 2012 Professional on Win 7 64 bit

Hi, I’m new here to the forum, and I hope that this hasn’t been answered elsewhere. I’ve googled quite a bit, but nothing I try seems to work. I figured I would ask here since its the Qt homeplace....

View Article

QT5 Yocto Build - IMX6 - Ubuntu Cross Compile

Hello, I’ve got Qt 5.1.2 compiled with QtDeclarative and QtMultimedia running on target. My issue is that the Yocto sysroot folder has many libraries that it doesn’t include in the images it produces....

View Article


[Qt 5.1.1] QtWebView and QtWebpage not printing text when Qt built manually,...

Hi, I am newbie to Qt. Trying to generate basic pdf from html. I created project in QtCreator on ubuntu. When I run the resulting binary created by Qtcreator for my project on ubuntu, it works fine. I...

View Article


QtJambi and Qt creator

Hello guys, If I want to write a code in java Qt creator, google shows QtJambi as the solution. From what I have understood, it provies java language bindings. I reffered this link...

View Article

[Qt][Android][Phone]How can i make keyboard disappear when i kill the focus...

hi guys, I run an app writen by Qt for Android on a phone device. When i set focus on the TextEdit, the keyboard will appear, but when i kill the focus, the keyboard still there. What can i do with...

View Article

Combobox does not show arrows to scroll when list are much larger than the...

Combobox does not show arrows to scroll when list are much larger than the screen height.

View Article

Applying a Qt::TextFlag to the cells of a QTableWidget

Hi all, I am trying to apply a Qt::TextFlag like Qt::TextWordWrap to the cells of my QTableWidget but could not find a function to do that.I feel this should be straight forward but can’t quite nail it...

View Article


Are Qt Widgets really native controls (on Windows)?

I suspect they are all custom paint/message handled and not real HWND. Most obvious with the QComboBox which behaves differently (keyboard navigation after you selected an entry) and the QTableView...

View Article

How to write qreal literals correctly?

How do I write qreal literals, so they do not need to be cast regardless on what CPU architecture I compile? E.g. I use qMax qreal someValue = calcFunc(); qreal min = qMin(someValue, 0.0); The qMin...

View Article


Why is setFilterFixedString using invalidateFilter instead of invalidate...

I have to wonder if anybody has used a QTableView with a QSortFilterProxyModel and more than a couple of thousand entries. Its crawling slow on my i7 with 16GB of mem. Not only is the scrolling...

View Article

Set Font QListWidget::item with QSS

Hello. I have tried setting the font for the QListWidget::item in the following way: QListWidget::item{ font: bold 12pt; color:red; } or for selected item QListWidget::item:selected{ font: bold 12pt;...

View Article


How to Disable the QDialog's Close Button?

How to disable the QDialog’s “X” close button. And Also I want to Remove “?” Help Button from a QDialog. I know setWindowsFlags will work. But that makes a frameless dialog. I dont want a frameless...

View Article

install QT5.1 in ubuntukylin 13.04

my OS is ubuntuylin 13.04,I download QT 5.1 int http://qt-project.org, then I use- cmd “chmod 755 ./QT……run” “./QT…..run” try to install QT5.1 and finish it work. and I going to make a first QT...

View Article

Patched autoexp.dat for VS2010 Express debugging

I am using Visual Studio 2010 C++ Express, which means I can’t use the Qt add-in. But I know that one of the things it does is patching the autoexp.dat file so that when debugging the values of Qt...

View Article
Browsing all 13965 articles
Browse latest View live


Latest Images