https://github.com/quasarapp/viewsolutions
View solutions of qml for quasarapp projects
https://github.com/quasarapp/viewsolutions
Last synced: about 1 year ago
JSON representation
View solutions of qml for quasarapp projects
- Host: GitHub
- URL: https://github.com/quasarapp/viewsolutions
- Owner: QuasarApp
- License: gpl-3.0
- Created: 2020-04-27T16:00:05.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2025-04-24T15:22:56.000Z (about 1 year ago)
- Last Synced: 2025-04-27T02:43:49.050Z (about 1 year ago)
- Language: C++
- Homepage: https://quasarapp.ddns.net:3031/docs/QuasarApp/ViewSolutions/latest/
- Size: 1.91 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ViewSolutions
View solutions of qml for quasarapp projects
## QML classes:
#### ImageView
This is animate image viewer
##### Example:
```qml
import ViewSolutionsModule 1.0
ImageView {
anchors.fill: parent
soucre: "qrc:/img/images/example.png"
text: "exampele"
anchors.margins: 100
borderColor: "red"
}
```
#### ViewPortPage
This is animate Delegate viewer for ListView
##### Example:
```qml
import ViewSolutionsModule 1.0
ListView {
id: viewPort
property real globalPos: 0
anchors.fill: parent
delegate: Component {
ViewPortPage {
viewPortDelegatH: 500 // base size of content item
scrollPos: viewPort.globalPos // due to qml limitations, this field will have to be tied to updating the location of the scroll
source: modelData
viewground: root // this is plane to display the main background
title: "Test ViewPortPage"
text: "Test ViewPortPage. General text and html code"
}
}
ScrollBar.vertical: ScrollBar {
onPositionChanged: {
viewPort.globalPos = position
}
}
model: [
"qrc:/img/res/LOGO.png",
"qrc:/img/res/LOGO-GREAN.png",
]
}
```