Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9187469
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T19:46:34+00:00 2026-06-17T19:46:34+00:00

I have defined a TabbedPane as below but one each tab, I would like

  • 0

I have defined a TabbedPane as below but one each tab, I would like to show content”questions.qml” (It’s a Navigation Pane”) and “stats.qml” file instead of embedding the code in single file. So I was wondering how I can achieve that?

TabbedPane {
    showTabsOnActionBar: true
    Tab {
        id: questions
        title: "Questions"
        description: "This tab will have questions in current hub"
    }
    Tab {
        id: stats
        title: "Stats"
    }
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T19:46:35+00:00Added an answer on June 17, 2026 at 7:46 pm

    What I have done in that case is declare each tab in the QML file the sets up the TabbedPane, as you have:

    import "UI" // The file DataManagement.qml is located in the directory UI
                // which is a sub-directory of the location of this QML file.
    ...
    Tab {
        title: qsTr("Data Management")
        imageSource: "asset:///images/icons/database.png"
        id: dataManagement
        DataManagement {
            id: dataManagementPage
        }
    }
    ...
    

    Then in a separate QML file, DataManagement.qml in this case, I declare the content of the tab:

    import bb.cascades 1.0
    
    Page {
        // content of page to render in the tab.
        content: Container {
             ...
        }
    }
    

    As long as the QML files are in the same directory, or the referenced file (DataManagement.qml) is in a directory included in the first QML file it works.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have defined a personalizable property on a web part and I would like
I have defined a rectangle drawable like this: <shape xmlns:android=http://schemas.android.com/apk/res/android android:shape=rectangle> <corners android:radius=4dip/> <solid
I have defined an array like so : var myArray = {myNewArray: ['string1' ,
I have defined a BitmapButtonField in Blackberry. But the default grey color background does
I have defined a winproc message handler like so WndProc(HWND hwnd, UINT uMsg, WPARAM
I have defined background as below: body{ background-image:url('taksi.jpg'); background-size:100%; background-attachment:fixed; } Why these are
We have defined home folders for a user in multiple machines. But the home
I have defined an unordered_map like this struct pht { pht(int t, vector<bool> pat)
I have defined my select as below <select id=selProductType data-bind=options: productType , value: editProductType
I have defined a custom Writable class in Hadoop, but Hadoop gives me the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.