Hi
I would derive from QLabel, get the length of it (in pixel) with frameWidth()
use QFontMetrics QWidget::fontMetrics () with int QFontMetrics::width ( const
QString & text, int len = -1 ) to get the length of the text in pixels, check
if it fits, and if no cut some chars and replace it with …
Hi
Since Qt already uses OpenSSL for networking are there any plans to add the
encryption capabilities of OpenSSL (AES etc.) to Qt?
So far there seems to be no regular encryption in Qt included.
Regards
___
Interest mailing list
Interest@qt-project.or
Hi
If got a QTableWidgetItem which I fill with text that includes newlines.
Example text:
"a
b
c"
On Linux (Qt 4.7.2) it behaves like I want to: it replaces the newlines with
blanks and shows the first 2 text-rows ("a b").
On Windows (Qt 4.8.0) the newlines get delete but not
Hi Qt community,
I have a QListWidget in an embedded device which is use as a menu. You can
choose the menu points with the arrows up/down.
I'd like that if the current selected entry is the last and you press down the
first entry is selected.
Do I have to catch the key events or is there an eas
Hi,
we are looking for a way to load the Qt5 libs, that are required for a
Qt5 application, during boot-time.
Reason is:
We are using an iMX6-quad with a Freescale BSP. Every startup of our
application seems to get slowed down by the required loading of the Qt5 libs
(app
How can I have multiple font-directorys for a Qt-Application?
I'd like to have one with the default (and fallback) fonts and one for the
localized once (e.g. Arab-Fonts), both in different places.
___
Interest mailing list
Interest@qt-project.org
http:/
Hello
Inotify doesn't work on /sys/bus/usb/devices/ (at least not on my kernel
version)
Can I use QFileSystemWatcher on that directory or is it just a Qt-Wrapper for
inotify?
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.or
Thanks everybody for the explanations.
I've added nexPendingConnection() and a readAll() now.
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
Hi everybody,
What happens when I have a QTcpServer which gets a connection that writes much
data to it (endless), but I never create a QTcpSocket (with
QTcpServer::nextPendingConnection() ) and read this data?
Will I the memory usage of my application increase endless? Or will the
QTcpServer j
Thanks for the answer, I've found the problem.
I called a Qt Slots from outside my object from a non Qt-Thread (std. Linux
thread).
I've fixed the problem by call a function of my (Qt) instance which emits a
signal that is connected to my slot.
___
Int
Hi,
I got a thread access problem with QTcpSocket.
In the initialisation of my object I got 2 QTcpServer created listening on 2
different ports.
For each of them I got a the signal newConnection() linked to a different slot.
In each I save the QTcpSocket I get from nextPendingConnection().
No
Will Qt be avaiable for WP8 since it supports C++ ?
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
> Without code its difficult to tell.
> My best guess:
> Most likely the code that watches over the network connection state is
> broken.
> I dont remember any API in qt that does that. So this may be platform
> specific code in your application.
Unfortunately I'm not allowed to publish s
>>perhaps something like "new" default port range:
>>http://support.microsoft.com/kb/929851
>>in combination with firewall rules?
>I have turned firewall full off.
>The defined Port is 12537.
>The default port range doesn't affect me since its just if I don't set a port
>by my own?
Oh no, this
>perhaps something like "new" default port range:
>http://support.microsoft.com/kb/929851
>in combination with firewall rules?
I have turned firewall full off.
The defined Port is 12537.
The default port range doesn't affect me since its just if I don't set a port
by my own?
Hello Qt People,
Maybe this is not a Qt specific question, but maybe someone has an idea or had
a similar problem.
I got a Services running under Windows (till now XP) which connects to our
device through Telent/TCP.
On Windows XP the services reconnects automatically after a disconnect (plug
> I am in a work to create a web browser,I modified the fancy browser source
> code, My problem is how to pop up print dialog to print my web page
QPrinter printer;
QPrintDialog *printerDialog = new QPrintDialog(&printer, this);
if (printerDialog->exec() == QDialog::Accepted) {
hm yes since Digia doesn't even sell commercial support for Symbian/Meego they
interpret mobile system as not embedded systems.
Maybe one day Google will open the doors for Qt programmers by official
supporting Qt on Android...
All OS makers want apps, apps, apps but they want the developers to
Quoted from digia.com (digia.com/en/Qt/Digia-is-Committed-to-Qt/):
"
Digia is comitted to:
...
- Advancing the cross-platform Qt promise by supporting leading ( !! ) desktop
and embedded platforms
...
"
So we doubtless can expect an official Android and iOS port since they're
leading embedded p
>just a shot in the dark:
>do the scrollbars appear when you hover the mouse near to the assumed
>position, e.g. at the bottom of your right view in your screenshot?
>thus, are the scrollbars auto-hiding?
No, they're not.
I'm usign default Ubuntu Theme. I've tried anyway.
Also scrolling with the
Hello,
I've got a problem with scrollbars in a QTableWidget. They should be shown,
since I've set horizontalScrollBarPolicy to ScrollBarAsNeeded.
On Windows (left side of the picture) it works, but not on Ubuntu Linux (11.10
with Unity).
Any suggestions?
Freundliche Grüsse
Lucas Betschart
Hi Lucas,
> I'm trying to write Unit Tests.
> Because I have to wait till some data arrived from network and a signal
> triggers, I want to use qWait.
>
> But everytime I use qWait I get this error, even when there is nothing but
> qWait in the code.
>
> QCOMPARE, QVERIFY etc are working,
> I ha
Hi,
I'm trying to write Unit Tests.
Because I have to wait till some data arrived from network and a signal
triggers, I want to use qWait.
But everytime I use qWait I get this error, even when there is nothing but
qWait in the code.
QCOMPARE, QVERIFY etc are working,
I have added testlib to
Thank you. This works
Von: Diego Iastrubni [mailto:diegoi...@gmail.com]
Gesendet: Montag, 5. März 2012 13:46
An: Betschart Lucas
Cc: interest@qt-project.org
Betreff: Re: [Interest] QPushButton Background Colour
On Mon, Mar 5, 2012 at 2:37 PM,
mailto:lucas.betsch
Hello,
I made some QPushButton with only a icon. I'd like to have them flat (like the
left one in picture 1&2) & with no text.
But when I click on such a flat QPushButton some background colour appears. How
can I turn this off?
Normal:
After clicked:
I hope adding pictures to this mail wo
Thank you both for the hints.
I looked at RTF-Qt. It seems that there is no documentation for it, but it
might have everything I need.
Calligra also uses RTF-Qt.
I will try it with that.
-Ursprüngliche Nachricht-
Von: Boudewijn Rempt [mailto:b...@valdyas.org]
Gesendet: Freitag, 2. Mär
Hello
I'm looking for a way to display & write MS RTF in a Qt Widget.
I already googled for that and it seems that there is no build in Qt Widget
that can handle this.
I know HTML/XML would be better then MS RTF, but my tool has to be compatible
to an older program which is written in VS C++ an
27 matches
Mail list logo