Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Instant initialization of qml object in TabView at app start
Forum Updated to NodeBB v4.3 + New Features

Instant initialization of qml object in TabView at app start

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
qmltableview
2 Posts 2 Posters 1.1k Views 1 Watching
  • 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.
  • BioniwulfB Offline
    BioniwulfB Offline
    Bioniwulf
    wrote on last edited by Bioniwulf
    #1

    Hi all, I try to make device viewer using Qt Quick and faced with problem.

    All monitored data from device located in different tabs created using TabView.
    After start application, it recieve data across UDP data in C++ code in main function and sended data to QML forms in
    different tabs, but this all tabs but first is not exist because I dont press on them. But It necessary to being created for indicate of same alert or something like it.

    How I can work around this problem?

    UPD: Ohh, I can just set attribute "active" to true for Tab and tab will upload automatically with start of TabView.

    p3c0P 1 Reply Last reply
    0
    • BioniwulfB Bioniwulf

      Hi all, I try to make device viewer using Qt Quick and faced with problem.

      All monitored data from device located in different tabs created using TabView.
      After start application, it recieve data across UDP data in C++ code in main function and sended data to QML forms in
      different tabs, but this all tabs but first is not exist because I dont press on them. But It necessary to being created for indicate of same alert or something like it.

      How I can work around this problem?

      UPD: Ohh, I can just set attribute "active" to true for Tab and tab will upload automatically with start of TabView.

      p3c0P Offline
      p3c0P Offline
      p3c0
      Moderators
      wrote on last edited by
      #2

      Hi @Bioniwulf,
      Did you try creating them dynamically using addTab. Do it as soon you as you receive UDP data.

      157

      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