> My testing result:
>
> Qt 5.3.0 + Nexus 5 (4.4.2)
> primaryScreen()->physicalDotsPerInch() 443.934
> Qt 5.3.0 + Samsung Galaxy Note 2
> primaryScreen()->physicalDotsPerInch() 264.903
>
> Qt 5.3.1 + Nexus 5 (4.4.2)
> primaryScreen()->physicalDotsPerInch() 453.754
> Qt 5.3.1 + Samsung Galaxy Note 2
On Tue, July 1, 2014 00:05, Jonathan Wilkes wrote:
> On 06/30/2014 03:30 PM, Alejandro Exojo wrote:
> I suppose I am looking for a kind of UI protocol. Here's another
> question-- do you know any cross-platform apps with a Qt GUI that talks
> to the "main" process over a socket?
I've written a fe
Folks,
I have a dynamically created table; whenever I add a new row, I do this:
QCheckBox *cb = new QCheckBox();
ui->innoLEDListTable->setCellWidget(row,0,cb);
connect(cb,SIGNAL(clicked()),this,SLOT(tableItemClicked()));
Now this works fine in that whenever I click a check box
FWIW, and maybe this will help someone else because I've seen a zillion
similar requests with Google searches and no decipherable answer:
row = ui->innoLEDListTable->rowCount();
ui->innoLEDListTable->insertRow(row);
QTableWidgetItem *tw = new QTableWidgetItem(row);
tw->data(Qt
Hi Robert,
What you mention is a common problem, which I also encountered... the solution
is to use a QSignalMapper.
It maps a signal to a signal with an object (or int or string). It is quite
easy, in my case just a few lines of code.
You can use it like this (copied from one of my projects). I
I've written a basic generic QVariantMap server/client set of classes. I
know this code is probably rather rough - might just be better used as
an "example" or a starting point on writing your own. Take it for what it's
worth, here's the code:
https://code.google.com/p/livepro/source/browse/trunk/