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

ItemClipsToShape doesn't work

Hi, I have a custom QGraphicsItem class that paints some complexes figures into scene. I have re-implemented boudingRect() member in order to make suitable “click and drag” on these kind of items. But...

View Article


"QWT " how to add/delete and read coordinates of dots in graphs

what i’m talking about is that i should be able to draw and add/delete dots in the graph and should be able to read them ,what functions or classes allow me to do that in QWT add(draw),delete, and read...

View Article


Issues with 5.1 OSX install using online installer

I installed 5.1 on OSX install using online installer. When I ran the “QT Controls Gallery” example I received a number of issues/error messages. One had to do with caching not set for qmake with the...

View Article

Newbie Question: Share variable from C++ to QML

I’ve been going crazy trying to figure out this simple thing. I have a string (I’ve converted it to a QString) I created with an algorithm in C++. How do I show this string in a label on my app? I’m...

View Article

Newbie Question: Display fileURLs from FileDialog - getting error from delegate

Hi I’m a QT Newbie, UI Newbie, liking QT Quick but having problem displaying data retrieved with FileDialog. I get an error message from my cfilesDelegate. console output: You chose:...

View Article


How to create multiple rows tab with QTabWidget in Qt?

Hi all, I tried to create a multiple rows tab with QTabWidget like this I also set tabPosition = South but I can’t have multiple rows tab because all tabs are horizontal (all of them are in a row, not...

View Article

Failed to start on other machine..

Hello, My computer for compilation : Windows 7 SP1 ×86-64 – Mingw 4.8 32 bits – Qt 5.0.1 Get from the online installer I compile the exemple menu and i work very well on my computer. I put all the dll...

View Article

Porting to Android

I’m developing my application using QtQuick Controls and QML and the interface is good and work fine. In the future the application’s roadmap expects the porting on Android (using the newly Qt Android...

View Article


QProcess and Signal/Slot

Hi, I have make an IPC with DBus between two applications. The main app start the second application. I need to receive signal from the second app and do something with my slot in the main app. The...

View Article


Replace text smiley with images in QListView

Hi, I have an application in which i am entering text from text edit to QListView. when the user enters text smileys like :), it has to replace with smiley images in QListView. I don’t know how to do...

View Article

QMainWindow->setStyleSheet behaves unexpected (Q_OBJECT causing problems?)

Using Qt 4.8.4 on Windows 7 (MSVC 2010) I have a standard QMainWindow in my app with toolbar and menu. I want to achieve that toolbar and menu keep their grey color, but the central widget should have...

View Article

Porting from Qt 4.x to Qt 5.x

Hi, I have a lot of applications which are using QX11EmbedWidget and QX11EmbedContainer in Qt 4.8. After some reading i understood that these functions are not present in Qt 5.x anymore. I have...

View Article

Create MultiColoured Radial PushButton

Dear Friends, Add this code to your QPushButton Stylesheet and you will get Radial Multi coloured PushButton.Modify the colours you want and have a native look. QPushButton{ color: rgb(0, 0, 127);...

View Article


[SOLVED] Why can't i emit a signal from a method that's not declared in a .h...

Hi, I’ve got the following problem. I’m trying to emit a custom signal from a function in my .cpp file, basically it looks like this: something.h class something : public QObject { Q_OBJECT  ...

View Article

Creator Design Mode for QtQuick does cannot display Items that use added Types

I tried to add a qml Type for Application wide shortcuts in c++ like that:    QApplication app(argc, argv);     DeclarativeView view;    ...

View Article


Transparent QWindow with QtQuick 2.0

I tried to create a transparent QQuickView so that i can integrate QML with my own opengl render engine and use qml for user interface part, However i figured out that QT doesn’t suppert transparency...

View Article

QUdpSocket multiple network (broadcast)

Hi, I use QUdpSocket to send some broadcast packet. My computer (Debian) has 2 different IP (192.168.0.1 and 192.168.50.1). And I need send broadcast packet from second IP. It’s possible? ——-When I...

View Article


Make the Screen Center of Display

Dear All, I used following code to make the screen center of display. if there is any better solution. Kindly Share.  QDesktopWidget *desktop = QApplication::desktop();   int...

View Article

Android: Return to previous state when re-opening application

Hi, I’m working on QML application which has several “screens” (splash screen then login then main view, etc..). But when I switch to another application (or android home screen) and switch back to my...

View Article

[SOLVED] qmlRegisterType error with parameterized constructor

Hi I have a class. its constructor takes two parameters. 1st parameter type is a custom class I wrote (SomeLib), 2nd parameter is the QObject * parent. In the constructor, the 1st argument is used to...

View Article
Browsing all 13965 articles
Browse latest View live