Hi all,
I'm writing a simple table view to display a selection of files
available in a repository for the user to select for download.
Using the model/view approach I have set the item to isCheckable(True).
The one tweak in behaviour I am trying to introduce is that I'd like the
checkboxes to
Hi Mironchik, your example is very helpful. It seems that QListView is just
what I want. I'll take a deeper loop at it. Thank you.
2016-01-20 23:36 GMT+08:00 Igor Mironchik :
> Just to clarification.
>
> Don't forget to setWrapping( true ) on QListView. With such settings list
> view will be disp
> On Jan 20, 2016, at 4:26 PM, Thiago Macieira
> wrote:
>
> On Wednesday 20 January 2016 09:50:51 Nils Jeisecke via Interest wrote:
>> On Tue, Jan 19, 2016 at 5:29 PM, Thiago Macieira
>>
>> wrote:
>>> Yes. Debug symbols in the pre-compiled builds do not work.
>>
>> Is this a known issue or s
I am implementing a model where items have a "check" property. The GUI calls it
a Toggle.
If the first item is checked, all other items should be unchecked, and vice
versa. In my delegate I have:
Toggle {
id: toggle
checked: check
onCheckedChanged: {
mod
Hi,
If you have a QCoreApplication or any derivated class, you could hook
yourself on the following signal:
QCoreApplication::aboutToQuit()
or could use the following on QMainWindow:
http://doc.qt.io/qt-5/qwidget.html#closeEvent
The latter allow you to catch the event and interrupt it if needed (
On Wednesday 20 January 2016 12:34:33 Mojmír Svoboda wrote:
> On 20.1.2016 11:26, Igor Mironchik wrote:
> > Just looked a little at your code. And that what I can say: your code
> > has nothing with QStringLiteral.
>
> QStringDataTable uses the same technique as QStringLiteral.
There's no such cl
On Wednesday 20 January 2016 09:50:51 Nils Jeisecke via Interest wrote:
> On Tue, Jan 19, 2016 at 5:29 PM, Thiago Macieira
>
> wrote:
> > Yes. Debug symbols in the pre-compiled builds do not work.
>
> Is this a known issue or shall I create a bug report?
It's a known and, AFAIU, unfixable issue
Hello all,
Every Qt application on Mac OS X has a built-in “Quit" action item that is in
the menu connected to the application’s icon in the dock. Is there a way to
hook up a slot to that action, so that when it’s triggered, it drops into my
own Quit slot instead of Qt’s own Quit function?? I
Just to clarification.
Don't forget to setWrapping( true ) on QListView. With such settings
list view will be displayed as table. And you can play with scroll bars...
On 20.01.2016 17:52, Hualet Wang wrote:
Really ? That’s quite good enough for me if it’s true. Thank you for you
suggestion,
Hi,
sorry for noise, forgot to write to the list...
#include
#include
#include
#include
#include
class Delegate
:public QStyledItemDelegate
{
public:
Delegate()
{
}
void paint( QPainter * painter, const QStyleOptionViewItem & option,
const QModelIndex & i
Look at this example:
#include
#include
#include
#include
#include
class Delegate
:public QStyledItemDelegate
{
public:
Delegate()
{
}
void paint( QPainter * painter, const QStyleOptionViewItem & option,
const QModelIndex & index ) const
{
pain
> On Jan 20, 2016, at 8:46 AM, william.croc...@analog.com wrote:
>
>
>>>
>>> I do not remember why I added a styleSheet. Perhaps to make it more
>>> fat-finger
>>> touch-friendly for Android or iOS. Anyway, I must re-think and re-test.
>>
>> I always tell my customers to stay away from style shee
Op 20/01/2016 om 15:46 schreef william.croc...@analog.com:
I do not remember why I added a styleSheet. Perhaps to make it more
fat-finger
touch-friendly for Android or iOS. Anyway, I must re-think and re-test.
I always tell my customers to stay away from style sheets. They are
way more
I do not remember why I added a styleSheet. Perhaps to make it more fat-finger
touch-friendly for Android or iOS. Anyway, I must re-think and re-test.
I always tell my customers to stay away from style sheets. They are way more
trouble than what they are worth.
My complaint:
Some things c
Really ? That’s quite good enough for me if it’s true. Thank you for you
suggestion, I’ll check
it out. :D
> 在 2016年1月20日,下午10:48,Igor Mironchik 写道:
>
> Hi,
>
> On 20.01.2016 17:09, Hualet Wang wrote:
>>> And one more, what about QTableWidget with icons? And why you decided that
>>> QTableVi
Hi,
we have a very slow arm v5 device without hardware acceleration. When using QT5
and directfb we see a huge performance difference compared to qt4. After
looking deeper into the code to find the reason for this, I saw that the
QDirectFbWindow::createDirectFbWindow method always sets the capa
Hi,
On 20.01.2016 17:09, Hualet Wang wrote:
And one more, what about QTableWidget with icons? And why you decided
that QTableView will not do the trick?
Because I’m not sure if QTableView is capable of re-layouting the
items after I delete one or more cells from it. And that’s the whole
point
On 20.01.2016 17:09, Hualet Wang wrote:
And one more, what about QTableWidget with icons? And why you decided
that QTableView will not do the trick?
Because I’m not sure if QTableView is capable of re-layouting the
items after I delete one or more cells from it. And that’s the whole
point of
Den 20-01-2016 kl. 15:23 skrev Edward Sutton:
I don't know what you did, but that's not how it normally looks. Obviously not.
You are correct. My mistake.
I could not reproduce when I made a new app using both SVG and PNG image
sources.
The root cause was my icon sizes were too big for the Q
> >I don't know what you did, but that's not how it normally looks. Obviously
> >not.
You are correct. My mistake.
I could not reproduce when I made a new app using both SVG and PNG image
sources.
The root cause was my icon sizes were too big for the QComboBox::iconSize. I
had also found som
> And one more, what about QTableWidget with icons? And why you decided
> that QTableView will not do the trick?
Because I’m not sure if QTableView is capable of re-layouting the items after I
delete one or more cells from it. And that’s the whole point of my question.
> And QtMWidgets is for t
Hey,
Just make sure you bundle openssl as additional libs if your application
requires openssl
So far so good.
Regards,
Nuno
> On 20 Jan 2016, at 14:07, Jason H wrote:
>
> My phone finally got the OTA update for marshmallow - but I have not
> installed it yet.
>
> I am developing with Qt
My phone finally got the OTA update for marshmallow - but I have not installed
it yet.
I am developing with Qt on Android. Is there anyone else here that has 6.0? Any
issues developing for Android? Not that it matters, but my host platform is OSX.
Many thanks in advance
___
> or simply put "deploy-qt-runtime" to the path for current console session,
> or create a batch setting the path and starting the app.
this does not work, see my first message!
> On Windows you can try to set up working directory in the shortcut...
it is not an option for me
BR,
Denis
2016-0
On 20.01.2016 14:34, Mojmír Svoboda wrote:
On 20.1.2016 11:26, Igor Mironchik wrote:
Just looked a little at your code. And that what I can say: your code
has nothing with QStringLiteral.
QStringDataTable uses the same technique as QStringLiteral.
QStringLiteral uses static structs! You d
On 20.1.2016 11:26, Igor Mironchik wrote:
Just looked a little at your code. And that what I can say: your code
has nothing with QStringLiteral.
QStringDataTable uses the same technique as QStringLiteral.
And I don't understand why you need such a "crazy" :) code? May be would
be much more b
On 20.01.2016 14:25, Mojmír Svoboda wrote:
On 20.1.2016 11:38, Igor Mironchik wrote:
Why are you deleting model?
i am trying to remove everything i can so that there are no references
to the underlying data (m_strings).
Just implement clear() method and between
beginResetModel(), endReset
On 20.1.2016 11:38, Igor Mironchik wrote:
Why are you deleting model?
i am trying to remove everything i can so that there are no references
to the underlying data (m_strings).
Just implement clear() method and between
beginResetModel(), endResetModel() delete your data. And I guess that
thi
On 20.01.2016 12:45, Mojmír Svoboda wrote:
On 19.1.2016 10:37, Giuseppe D'Angelo wrote:
Please trim down to a small testcase and submit a bug report. If your
model is well-behaving the view can't cache the option that way.
I managed to reproduce the behaviour with QStandardItemModel, so her
Hi,
On 20.01.2016 12:45, Mojmír Svoboda wrote:
On 19.1.2016 10:37, Giuseppe D'Angelo wrote:
Please trim down to a small testcase and submit a bug report. If your
model is well-behaving the view can't cache the option that way.
I managed to reproduce the behaviour with QStandardItemModel, so
> -Original Message-
> [...]
> Out of curiosity, have you ever considered building ICU with separate .dat
> file so people could just replace it without any hassle?
Yes.
https://bugreports.qt.io/browse/QTBUG-29828
and
https://codereview.qt-project.org/#/c/49840/
The trouble is that w
20.01.2016, 12:15, "Koehne Kai" :
>> -Original Message-
>> From: Interest [mailto:interest-boun...@qt-project.org] On Behalf Of Elvis
>> Stansvik
>> Sent: Tuesday, January 19, 2016 8:38 PM
>> To: John Layt
>> Cc: interest@qt-project.org Interest
>> Subject: Re: [Interest] Replaci
On 19.1.2016 10:37, Giuseppe D'Angelo wrote:
Please trim down to a small testcase and submit a bug report. If your
model is well-behaving the view can't cache the option that way.
I managed to reproduce the behaviour with QStandardItemModel, so here
is the repro case:
https://bugreports.qt.io/
> -Original Message-
> From: Interest [mailto:interest-boun...@qt-project.org] On Behalf Of Elvis
> Stansvik
> Sent: Tuesday, January 19, 2016 8:38 PM
> To: John Layt
> Cc: interest@qt-project.org Interest
> Subject: Re: [Interest] Replacing icudtXX.dll without rebuilding Qt?
>
> 2016-
On Tue, Jan 19, 2016 at 5:29 PM, Thiago Macieira
wrote:
> Yes. Debug symbols in the pre-compiled builds do not work.
Is this a known issue or shall I create a bug report?
Nils
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org
35 matches
Mail list logo