Skip to content

Instantly share code, notes, and snippets.

@lirenlin
Created July 6, 2013 22:18
Show Gist options
  • Save lirenlin/5941487 to your computer and use it in GitHub Desktop.
Save lirenlin/5941487 to your computer and use it in GitHub Desktop.
import QtQuick 1.1
import com.nokia.meego 1.1
Page {
TabGroup {
id: tabGroup
currentTab: tab1
Page {
id: tab1
Column {
spacing: 10
Text {
text: "This is a single page 1"
}
}
}
Page {
id: tab2
Column {
spacing: 10
Text {
text: "This is a single page 2"
}
}
}
Page {
id: tab3
Column {
spacing: 10
Text {
text: "This is a single page 3"
}
}
}
}
TabBar {
id: tabBar
anchors {bottom: parent.bottom }
// platformStyle: TabButtonStyle { }
TabButton {
text: "Tab 1"
tab: tab1
}
TabButton {
text: "Tab 2"
tab: tab2
}
TabButton {
text: "Tab 3"
tab: tab3
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment