Relative sizing of widgets with a maximum size limit in Qt Creator
Hi, I am struggling to design my UI with Qt Creator 2.8.1. I have multiple windows with multiple panels. The first window has 3 panels, 1 with a login/view button, 2 giving instructions and 3 serving...
View ArticleHow do I send Key Event from C++ to QML TextInput Item in Qt 5.2 ?
How do I send Key Event from C++ to QML TextInput Item in Qt 5.2 ?
View ArticleProblem with QtSerialPort on Windows
Hello all! I’m trying to develop a simple command line program to write to a device connected through USB-Serial adapter. Using the example application from here [qt-project.org] (scroll down to...
View ArticleRead keyboard input that can differ between LEFT Shift and RIGHT shift key
Hi, I am writing an application to test keyboards. I have to read input from both the shift buttons, the one on the right and the one on the left, and also for the right and left windows buttons. I...
View ArticleQGridLayout with cells of constant size
Hello there, Say I have a QGridLayout with a custom QWidget in each cell. The QGridLayout can be modified by buttons, adding or removing cells in a fixed pattern (1×1, 2×1, 2×1 and 1×2 underneath, 2×2...
View ArticleDownloadproblem because of meta refresh
Hello. I have a Problem with downloading in qt via QNetworkAccessManager. I successfully login. After that i request a Filelist in xml. But what i get back is this: <html>...
View ArticlePOST using Qt5
I’m stumbling my way through communicating with a web service and failing badly.. I’m trying to mimic a form that POSTs a chunk of json data to the server in a “json” field. There are similar questions...
View ArticleHow to Change QMenuBar Colour in Vista using QtDesigner
Hi, I have managed to change menu bar background colour using styleSheet property in property editor in QtCreator or QtDesigner. When I select Form->Preview in Windows or Windows XP style, the...
View ArticleFinding the cordinates in html page using qt
Hi, I am trying to give mouse events over network to a qt browser. In browser i have a socket receving the events .I get a coordinate to click with. I am posting the event to the webpage using...
View Article[SOLVED]Include reference object
Imagine we have 2 object types: TypeA and TypeB. TypeA has a property that is a ref to an object of TypeB. { //other properties "typeBRef":{ ...
View ArticleIncrementing the length of a QLineF in the negative direction?
The documentation seems to be spotty on this. Below is how I did it. Is this the correct way? QLineF refLine(100,100, 500,500); QLineF perpLine = refLine.normalVector(); //create a...
View ArticleSave a QPixmap in a label
Hello, I would like to save my picture (QPixmap) as a png in my label, when I finished to add lines and ellipses. Like describe in the commentaries: //---------------------------------------------Class...
View ArticleSending simulated key events through QX11EmbedContainer
Hi everyone! I have a “server”(the qx11embedcontainer) and a client(qx11embedwidget) and using Qt 4.8.1. Embedding the client works fine, except for when I try to send programmed key events from the...
View ArticleIs there anyone who use Qt 5.2 with Freescale imx53 ?
Is there anyone who use Qt 5.2 with Freescale imx53 ?
View ArticleQt Software Engineer - UK
We are a small company based in Somerset in the South West of England that designs and manufactures advanced borehole seismic equipment for permanent seismic monitoring, seismic interpretation...
View ArticleEmulator uzerinde DB hatası
Merhaba Arkadaşlar Normal desktop derleyicisinde Database bağlantısında hiç bi problem yok Connect yazıyor emulatorde çalıştırdığımda Disconnect yazıyor çözemedim nedenini 2.sorum biz dosyamızı ARM7 de...
View ArticleSizing items in Qt Quick 2.0
Hello, I am trying to give a fixed size to PushButton and GroupBox while coding QML. I am finding that no matter what I put for “height: xx” or “width: xx”, the item does not change size. Below is one...
View ArticleQListWidget Icon Alignment
Hello, I would like to align text to the left and icon to the right… I can align both together to the right or left, but how can I align each of them on its own side???
View ArticleConnecting to Q_INVOKABLE as a slot?
I am using Qt4.8 (in the form of BlackBerry Cascades on BlackBerry 10 OS). Somebody posted a question in one of the Cascades Dev Support forums that is really more about Qt itself. Without going into...
View ArticleUsing the same container widget in multiple windows.
My application has 3 windows; Each window has 3 container widgets, the bottom container widget is the same for all the three – a log and a quit button. Currently I create a new log panel in each...
View Article