Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. German
  4. Unittest in c++ für folgende qml code Abschnitt
Forum Updated to NodeBB v4.3 + New Features

Unittest in c++ für folgende qml code Abschnitt

Scheduled Pinned Locked Moved Unsolved German
1 Posts 1 Posters 202 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    Galilio
    wrote on last edited by
    #1
    onVisibleChanged: {
            if (visible) {
                if (tabButtonGroupId.buttons.length > startTabIndex) {
                     tabButtonGroupId.buttons[startTabIndex].checked = true
                }
            } else {
                if (tabButtonListId.currentItem !== null) {
                    tabButtonListId.currentItem.focus = false
                }
                tabButtonListId.currentIndex = -1
            }
        }
    

    das tabButtonGroupId kommt von folgende ButtonGroup:

    ButtonGroup {
            id: tabButtonGroupId
        }
    

    den tabButtonlistId kommt von einen ListView

    Ich versuche gerade einen Unit test in c++ dafür zu schreiben aber mir ist unklar wie komme ich tabButtonGroupId .
    Danke in voraus

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved