Hello. I ran into this recently: Is there a reason that there is currently
(4.8.1) no constructor for QPointF from QPoint? I can understand that
QPointF should be explicitly converted to QPoint since it involves a loss
of precision but just as integers are accepted everywhere that doubles are,
it w
On 9/18/12 7:12 PM, Thiago Macieira wrote:
> On terça-feira, 18 de setembro de 2012 18.40.28, Stephen Chu wrote:
>> On 9/18/12 8:30 AM, Josiah Bryan wrote:
>>> I agree! I can't tell you how many times I've checked and rechecked my
>>> code, only to find out it was a sig/slot mismatch all along. Cri
On terça-feira, 18 de setembro de 2012 18.40.28, Stephen Chu wrote:
> On 9/18/12 8:30 AM, Josiah Bryan wrote:
> > I agree! I can't tell you how many times I've checked and rechecked my
> > code, only to find out it was a sig/slot mismatch all along. Crikey! :-)
>
> The only problem I have with the
On 9/18/12 8:30 AM, Josiah Bryan wrote:
> I agree! I can't tell you how many times I've checked and rechecked my
> code, only to find out it was a sig/slot mismatch all along. Crikey! :-)
The only problem I have with the new syntax is it doesn't handle the
case when the slot require more argument
> Why not use QSettings with this format as a custom format add in?
Because not all nested structures can be described using
QSettings::SettingsMap. I thought about it but came to the opinion that
it's not so good idea.
___
Interest mailing list
Inter
Why not use QSettings with this format as a custom format add in?
-Original Message-
From: interest-bounces+scott.bloom=onshorecs@qt-project.org
[mailto:interest-bounces+scott.bloom=onshorecs@qt-project.org] On
Behalf Of Igor Mironchik
Sent: Tuesday, September 18, 2012 9:56 AM
To:
On 9/18/12 11:00 AM, Konrad Rosenbaum wrote:
> On Tuesday 18 September 2012 14:21:58 Stephen Chu wrote:
>> On 9/18/12 4:10 AM, Thiago Macieira wrote:
How could I solve this?
In Qt 4 I could specialize the signal using SIGNAL(valueChanged(int)),
how could I do in Qt 5?
>>>
Hi.
> Use Lua instead:
>
> cfg = {
> stringValue = "string",
> listOfStringValues = { "str1", "str2", "str3" },
> intValue = 100,
> vecOfTags = {
> stringValue = "string1",
> intValue = 100
> }
> vecOfTags2 = {
> stringValue = "string2",
>
> Everything works as expected, until i try to add proxy server support. It
> works great without authentication, but a major problem comes up when I try
> to add support for authentication. I’ve verified the proxy server with auth
> using FireFox.
>
It appears the configuration of the proxy serv
18.09.2012, 11:15, "Igor Mironchik" :
> QtConfFile - it's C++/Qt library for reading and saving configuration files
> in a special format.
>
> Configuration file format is a set of tags, which are surrounded by curly
> brackets, with values. Tags can be without values, can have one, and can have
Yes.
On , Alex Strickland wrote:
On 2012/09/18 05:02 PM, Kandeler Christian wrote:
> You are looking for QScopedPointer::reset().
Thank you, that was quick. Like this?
yvreset(new a);
--
Regards
Alex
___
Interest mailin
On terça-feira, 18 de setembro de 2012 17.00.44, Konrad Rosenbaum wrote:
> I'm not sure how to detect a misalignment between instance type and the
> class name in the cast. E.g. if spinBox was not a QSpinBox, but a
> QLineEdit.
Then the compilation will fail. The connect() member template functio
On 2012/09/18 05:02 PM, Kandeler Christian wrote:
> You are looking for QScopedPointer::reset().
Thank you, that was quick. Like this?
y.v.reset(new a);
--
Regards
Alex
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.or
Hi.
>> QtConfFile - it's C++/Qt library for reading and saving configuration
>> files in a special format.
>>
>> Configuration file format is a set of tags, which are surrounded by
>> curly brackets, with values. Tags can be without values, can have one,
>> and can have several values. A sample co
You are looking for QScopedPointer::reset().
Christian (sorry about the format, sending via Outlook webmail)
From: interest-bounces+christian.kandeler=digia@qt-project.org
[interest-bounces+christian.kandeler=digia@qt-project.org] on behalf of
A
On Tuesday 18 September 2012 14:21:58 Stephen Chu wrote:
> On 9/18/12 4:10 AM, Thiago Macieira wrote:
> >> How could I solve this?
> >>
> >> In Qt 4 I could specialize the signal using SIGNAL(valueChanged(int)),
> >> how could I do in Qt 5?
> >>
> > void (QSpinBox:: *signal)(int) = &QSpinBox
Hi,
On Tuesday 18 September 2012 09:15:32 Igor Mironchik wrote:
> QtConfFile - it's C++/Qt library for reading and saving configuration
> files in a special format.
>
> Configuration file format is a set of tags, which are surrounded by
> curly brackets, with values. Tags can be without values, c
Hi
This is really a general C++ question, but I have looked long and hard
and not worked it out. In the code below how should I initialise v.v
using the QScopedPointer?
#include
class abc
{
};
class a : public abc
{
};
class x
{
public:
QScopedPointer v;
};
int main()
{
x y;
Hello,
I posted this question to qt project forums, but figured I would get better
luck here. If posting in both places is bad form, let me know, and I will no
longer do so.
I'm using Qt 4.8.2 on embedded linux, I can reproduce with same version on
desktop linux.
I am subclassing QNetworkAcce
Correction to my last post:
On Tuesday 18 September 2012 15:28:26 R. Reucher wrote:
> I've now reached another problem... it seems that qmake from this build
> doesn't work properly as it exposes *empty* values for QT_VERSION (and
> QT_MAJOR_VERSION, QT_MINOR_VERSION etc.), but others like CONFIG
On Tuesday 18 September 2012 15:28:26 R. Reucher wrote:
> I've now reached another problem... it seems that qmake from this build
> doesn't work properly as it exposes *empty* values for QT_VERSION (and
> QT_MAJOR_VERSION, QT_MINOR_VERSION etc.), but others like CONFIG or QT for
> example have vali
On Sunday 16 September 2012 18:29:26 R. Reucher wrote:
> On Sunday 16 September 2012 14:28:56 R. Reucher wrote:
> > On Sunday 16 September 2012 14:02:44 you wrote:
> > > https://codereview.qt-project.org/#change,34843
> >
> > Thanks. Will retry with this patch applied (it's the same diff as
> > su
On terça-feira, 18 de setembro de 2012 13.47.57, Sean Harmer wrote:
> > I like this new syntax much better since it finds signal/slot mismatches
> > at compile time. I used to miss the connection mismatch messages in the
> > sea of my REALLY chatty logs. And pulling my hairs wondering why
> > somet
On Tuesday 18 September 2012 08:21:58 Stephen Chu wrote:
> On 9/18/12 4:10 AM, Thiago Macieira wrote:
> >> How could I solve this?
> >>
> >> In Qt 4 I could specialize the signal using SIGNAL(valueChanged(int)),
> >> how
> >> could I do in Qt 5?
> >>
> > void (QSpinBox:: *signal)(int) = &QSp
Hi,
VS-Addin for VS2012 is not yet available. Beta version for Qt5 will be
available in few days. Also for Qt4.x there is a plan to publish one but no
schedule set yet.
BR,
Ismo
--
Ismo Haataja
Senior Software Specialist
Digia Plc
Elektroniikkatie 10, FI-90590 Oulu Finland
Email: ismo.haat..
Hi,
I am pleased to announce the release of ODB 2.1.0.
ODB is an open source object-relational mapping (ORM) system for C++. It
allows you to persist C++ objects to a relational database without having
to deal with tables, columns, or SQL and without manually writing any of
the mapping code.
Maj
Op 18-9-2012 14:21, Stephen Chu schreef:
>
> I like this new syntax much better since it finds signal/slot mismatches
> at compile time. I used to miss the connection mismatch messages in the
> sea of my REALLY chatty logs. And pulling my hairs wondering why
> something doesn't work. :)
We have our
On Tue, Sep 18, 2012 at 8:21 AM, Stephen Chu wrote:
> On 9/18/12 4:10 AM, Thiago Macieira wrote:
> >> How could I solve this?
> >>
> >> In Qt 4 I could specialize the signal using SIGNAL(valueChanged(int)),
> how
> >> could I do in Qt 5?
> >
> > void (QSpinBox:: *signal)(int) = &QSpinBox::va
On 9/18/12 4:10 AM, Thiago Macieira wrote:
>> How could I solve this?
>>
>> In Qt 4 I could specialize the signal using SIGNAL(valueChanged(int)), how
>> could I do in Qt 5?
>
> void (QSpinBox:: *signal)(int) = &QSpinBox::valueChanged;
> QObject::connect(spinBox, signal, slider, &QSlider:
Hi all,
I use a subclass object of QWebView to visit
http://www.youtube.com/leanback on my embedded linux platform (MIPS).
Input any keyword in leanback's search page, then view the search
results straight ahead always by “down” arrow-key.
I found that the memory usage is kept in incre
On terça-feira, 4 de setembro de 2012 04.59.19, 程梁 wrote:
> Hi, there! I try to connect signals and slot in Qt 5 using new syntax. But I
> have a question: how to connect overloaded signals to special slots?
You need to load it to a variable first to resolve the overload.
> For example, I have th
QtConfFile - it's C++/Qt library for reading and saving configuration
files in a special format.
Configuration file format is a set of tags, which are surrounded by
curly brackets, with values. Tags can be without values, can have one,
and can have several values. A sample configuration file i
32 matches
Mail list logo