Quantcast
Channel: Jobs
Browsing all 18427 articles
Browse latest View live

Streaming into default-constructed object

I want to create a static constant by streaming into a default-constructed object. However, the compiler cannot locate the streaming operator, although I provide it: QMap<float,...

View Article


How to setSortRole for QTreeWidget ?

I have QTreeWidget based class and need to do sorting by Qt::UserRole. How can I do this ? I know that QStandartItemModel has such method and treeWidget has model() method which return model, but it’s...

View Article


After removing widgets from layout with vertical spacer the spacer doesn't...

After clearing the content of a vertical layout it seems that the spacer that was there is also removed. At least, after the widgets in the layout are removed, and new widgets are added, the spacer...

View Article

Backround-color for a styledpannel | sunken QLabel

I would like to set a particular color to the sunken part of the design, that is to say a color following the inside part of the box. If I    ...

View Article

[RESOLVED] How to make a QSplitter the top Widget use always 60% of screen?

Hello, I have a QSplitter on my screen, and I have to QWidgets inside, one on the and other on the bottom… So I need that always the TOP Qwidget use 60% of screen… How can I make that? Thanks a lot.

View Article


QGraphicsScene and scale independent graphics

We have a QGraphicsScene that uses the BSP tree to rendering a combination of normal QGraphicsItems and items that dynamically change their rendering based on the viewport and device scale. We do this...

View Article

Debilitating regression bug in 4.8.x

https://bugreports.qt-project.org/browse/QTBUG-27043 We rely heavily on QListWidget to have real-live widgets with complex controls as rows. We cannot implement this complex row design with QListView...

View Article

Run console application in background

Hi! Say I would like to run a console application (for example a server) in the background on my linux machine, that can be started/stopped/restarted with ./MyApp <start|stop|restart>....

View Article


OS X - Key sequence Command + W is not received

I’m trying to get my app to respond to Command +W among other shortcuts. For some reason the keyevent is never called. Currently Command +q and Command +h work, but they do not call the key event...

View Article


where does the extra bytes come from?

with the following codes, when monitored by WireShark, there are extra 4 bytes 0,0,0,0×26(&) coming before my string “aaabbbccc…” in the UDP Packet data part. where are these bytes coming from?...

View Article

QDeclarativeImageProvider::requestPixmap called twice when using Image with...

I am using QtQuick 1.1 and I have a QPixmap provider called by an Image element with cache property set to false:    Image {          ...

View Article

qt5 static 32 bit source build - app mainwindow wrong color

I did a static build of Qt 5 from git (Qt 5 5.0.2) on Linix Mint 14 32 bit. When I build my app using the static kit and then run the program, the MainWindow is a different color (darker) than the...

View Article

Qt Animation

Hello, I am pretty new to QT. I am trying to construct an animation sequence, where the animations start at different times and have different durations. I looked at...

View Article


Why does mapToItem return a QVariantMap instead of QPoint?

An inconvenience I stumbled upon – it is not possible to assign the result of mapToItem to a point property. That just doesn’t seem like a very good design intent. Instead of: p = mapToItem(null,...

View Article

QML2 application shows no content if it runs outside Qt Creator. QM1...

Hello, I created a new QML1 application and a new QML1 application with the wizard and made a release build with VC and mingw. Then I copied the needed files from to the release folder to get it...

View Article


Process is not killing if started using QProcess::startDetached()

I am executing one qt process using QProcess::startDetached() from my Qt application. New process is starting successfully, but when I wanted to kill this process using QProcess::kill() OR Terminate()...

View Article

Broken DBus in Qt 5.0.1

I’ve build 5.0.0 with many problems. All these problems seems to be fixed in 5.0.1. Specially webkit compiles with no need to apply any patch, or trick; which is very pleasant. Unfortunately in the new...

View Article


[SEARCH] Poppler 0.22 MSVC binaries

Hello, has anyone statically or shared compiled poppler binaries for MSVC and would like to share them(with dependencies)?

View Article

drag and drop in QTreeWidget. How to ?

I’ve got QTreeWidget base class with it’s member QTreeWidgetItem * m_draggedItem I reimplement some of base methods: void GroupTreeWidget::mousePressEvent(QMouseEvent * event) {    ...

View Article

The Extension Example With PyQt4

what is the effect of leftLayout.addStretch(1) in this code example ? it seems that this program works the same even though leftLayout.addStretch(1) is commented . from PyQt4 import QtCore, QtGui...

View Article
Browsing all 18427 articles
Browse latest View live