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

Getting current index from a QListView model

i am inserting items to a QListView using a QStandardItem model. when i am selecting an item from the listview, i want to retrieve the index in a sequential manner. instead of going 0,1,2… and so on i...

View Article


PySide app seems to ignore SIGTERM during shutdown when run at startup using...

My PySide app seems to ignore the TERM signal sent during shutdown on Linux when it is automatically started by putting an entry in ~/.config/autostart. I came to the conclusion that the issue is with...

View Article


Replacement for QX11Embedwidget and Container in Qt5

Hi, I would like to know few details about Qt 5 as we are planning to migrate to Qt5. We have several applications whcih are developed in Qt 4.8 using QX11EmbedWidgets and a main application which act...

View Article

设置QAbstractTableModel表头背景色的问题

QVariant TableModel::headerData(int section, Qt::Orientation orientation, int role) const {       if(role ==Qt::BackgroundRole)     {    ...

View Article

Can't watch preview

Hi, I’m quite new to Qt and got a bit of a problem. Preview in design mode only shows the layout of objects like the link below. On this screen I put a png file 64×64 resized to 0×0 for some reason...

View Article


PySide QEvent post crash

Hello everyone, I’m working on Linux Ubuntu 12.10, with PySide 1.1.1 and python 2.7 I have a problem when posting QEvent through a QStateMachine. If I want it to work I have to keep a reference on the...

View Article

style sheet woes

Hi I have a style sheet that sets the background colour for QDialog – QDialog {     background-color: red; } My application has a QListWidget added from Designer and is created with...

View Article

Combining two classes

Hi, First of all, I am a beginner in the QT word so sorry if what I wrote is bad. I would like to create a directory at the beginning of the application. The directory name can vary depending on the...

View Article


how to send/receive files of size upto 15MB

Hi, I am new in qt. I am using QNetworkAccessManager’s put method to upload a file to http server. I am able to send files of upto 600KB but bigger files fail to upload. Also i am not sure whether the...

View Article


[SOLVED] Need suggestion about sockets and threads in Qt.

Hi, I’m trying to write simple chat program, which will contain server where it will be located (e.g 192.168.1.2) and client(s)(192.168.3-255) which will be connected to server. When I entered IRC...

View Article

Not use QCustomEvent class in Qt 4.7.4

Hi all, I try use QCustomEvent but Although, #include <QCustomEvent> When i use it,   QApplication::postEvent(QApplication::instance(), new QCustomEvent(MyEvent)); I get error:...

View Article

Phonon Video Player : Can not play videos with a size of more than 1 GB

I am trying to play rawvideo(not compressed) in HD 1920×1080 with Phonon VideoPlayer. It works if the videos size are small (1Go) but if not the player crash. I check the buffering process and only...

View Article

Qt5 ,DFB and X11

Hi, Does Qt5 provides comman API for X11 and DFB or different. Can i run the same app on X11 and DFB environment if so how. Regards, Dcqt

View Article


Can i have a custom slot at Qt designer, Signals & Slot Editor?

For example when i push a button i want a stacked_widget to change it’s currend index to 1. Instead of doing it via “Go to slot” i would like to try and hide some useless code from my cpp thus i am...

View Article

Custom stylesheet properties

Hi! I have really searched the whole internet for this…without any success. So here is my question. I have my own class (OwnObject) derived from QObject and i do have a stylesheet. Is it possible to...

View Article


QSlider to control video display

Hi guys, I need to use QSlider to control a video display (like a very simple video player). Is that possible? If so, is there any exemple on how to do that?

View Article

Help our fellow Chinese with Qt question: Setting background color in...

The original thread can be found here: Here is the link [qt-project.org] Please help him because there are not enough specialists in Chinese section.

View Article


QT5 deploying on windows, mingw32

hello, being tired of always having to run QT Creator in order to execute my app i want to “deploy” (as they fancy call it) it on windows. My first thought? double click the mother-effer. Libs missing....

View Article

External Libraries With Android & iOS

Hello, i’m developing a project that depends on Web Scraping and as i wanted it to be a multi-platform project i choosed to use QT, the thing now is that i don’t know if i can depend on external...

View Article

Konsola wyświetla napis "naci" z każym uruchomieniem

Coś takiego: http://scr.hu/0vcf/704xa Jest to strasznie irytujące, domyślam się, że to przez windowskowską konsolę, ale nie mam pojęcia jak ty zmienić :< Dzieje się to w przypadku uruchamianie...

View Article
Browsing all 13965 articles
Browse latest View live