On Wed, Apr 27, 2016 at 2:15 PM, Joakim Bygdell wrote:
>
> > On 27 Apr 2016, at 18:55, Tomaz Canabrava wrote:
> >
> > Please, please:
> >
> > don't add more stuff to the QMLManager, it's a huge beast already :)
> > crete something like this:
> >
> >
> On 27 Apr 2016, at 18:55, Tomaz Canabrava wrote:
>
> Please, please:
>
> don't add more stuff to the QMLManager, it's a huge beast already :)
> crete something like this:
>
> Q_INVOKABLE QStringListModel : DiveObjectHelper::buddies() {
>static QStringListModel
Please, please:
don't add more stuff to the QMLManager, it's a huge beast already :)
crete something like this:
Q_INVOKABLE QStringListModel : DiveObjectHelper::buddies() {
static QStringListModel buddies = new QStringListModel();
QStringList temp;
for_each_dive (i, d) {
temp <<
> On 27 Apr 2016, at 18:27, Thiago Macieira wrote:
>
> On quarta-feira, 27 de abril de 2016 17:40:53 PDT Joakim Bygdell wrote:
>> Thomas or Thiago can you explain what’s going on here?
>>
>> I have a combobox that gets populated from a QStringList.
>>
>> If I generate the
On quarta-feira, 27 de abril de 2016 17:40:53 PDT Joakim Bygdell wrote:
> Thomas or Thiago can you explain what’s going on here?
>
> I have a combobox that gets populated from a QStringList.
>
> If I generate the QStringList on the C++ side like so,
> list << “foo” << “bar << “baz"
> my
Thomas or Thiago can you explain what’s going on here?
I have a combobox that gets populated from a QStringList.
If I generate the QStringList on the C++ side like so,
list << “foo” << “bar << “baz"
my combobox contains 3 elements as expected.
If I populate the QStringList with data