diff --git a/Site/CMakeLists.txt b/Site/CMakeLists.txt index 39f60fc..69942c3 100644 --- a/Site/CMakeLists.txt +++ b/Site/CMakeLists.txt @@ -13,7 +13,7 @@ if(TARGET ${PROJECT_NAME}) return() endif() -set(DISABLE_EXAMPLES ON) +set(DISABLE_EXAMPLES OFF) add_subdirectory(QuasarAppLib) add_subdirectory(ViewSolutions) diff --git a/Site/ViewSolutions b/Site/ViewSolutions index b4b9368..cea929e 160000 --- a/Site/ViewSolutions +++ b/Site/ViewSolutions @@ -1 +1 @@ -Subproject commit b4b9368f41f02a15a6d7a6e3682f5ae70fe931c5 +Subproject commit cea929e9cbb3484a6244cf718a9490d6ac737a70 diff --git a/Site/src/View/ListViewer.qml b/Site/src/View/ListViewer.qml index d801fd3..4e8fe0c 100644 --- a/Site/src/View/ListViewer.qml +++ b/Site/src/View/ListViewer.qml @@ -8,43 +8,26 @@ import ViewSolutionsModule 1.0 ListView { id: viewPort - property real globalPos: 0 - - anchors.margins: 24 anchors.leftMargin: 40 anchors.rightMargin: 40 + delegate: Component { + ViewPortGradientPage { property var data: modelData - scrollPos: viewPort.globalPos source: (data)? data.bakcBroundPicture: "" - viewPortDelegatW: viewPort.width - viewground: viewgroundItem title: (data)? data.title: "" text: (data)? data.sourceText: "" textMargins: 40 + width: viewPort.width + viewground: viewPort + height: 400 + } } spacing: 24 - ScrollBar.vertical: ScrollBar { - onPositionChanged: { - viewPort.globalPos = position - } - visible: false - - } - - Item{ - id: viewgroundItem - anchors.left: parent.horizontalCenter - anchors.right: parent.right - anchors.top: parent.top - anchors.bottom: parent.bottom - - } - } diff --git a/Site/src/translations/Site_ru_RU.ts b/Site/src/translations/Site_ru_RU.ts index ef0033d..ddc34f0 100644 --- a/Site/src/translations/Site_ru_RU.ts +++ b/Site/src/translations/Site_ru_RU.ts @@ -176,7 +176,7 @@ main - + Examples of View Solutions Примеры решений View