Comment 29 for bug 1124071

Revision history for this message
Roman Shchekin (mrqtros) wrote : Re: [Bug 1124071] Re: [tabs] Cannot add Tabs programmatically

Hello!

"dynamic tabs or have the functions back" - of course you must return
functions! Be sure!
Repeater has one huge issue - changing model causes recreating of all it's
child items.
So if you will add new tab via changing model, all other tabs will lose
their state.

Try to find solution in Qt Quick Controls (desktop components).
Just believe me - guy with big QML experience.

Best regards, Roman.

2013/12/10 Joey Chan <email address hidden>

> Thanks for your answer :)
> That helps a lot
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> Matching subscriptions: Ubuntu RSS Reader Bugmail
> https://bugs.launchpad.net/bugs/1124071
>
> Title:
> [tabs] Cannot add Tabs programmatically
>
> Status in RSS Feed Reader application for Ubuntu devices:
> Confirmed
> Status in Ubuntu UI Toolkit:
> Confirmed
> Status in Ubuntu UX bugs:
> Confirmed
> Status in “ubuntu-ui-toolkit” package in Ubuntu:
> Fix Released
>
> Bug description:
> There seems to be no easy way to add a Tab to Tabs programmatically.
>
> I would be nice to be able add, remove and edit Tabs dynamically. So
> far I haven't found a way to do this.
>
> I have made an Android style ViewPager based on ListView. It is quite
> easy to update the pages with ListModel methods.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu-rssreader-app/+bug/1124071/+subscriptions
>