4
0
mirror of https://github.com/QuasarApp/DocsSite.git synced 2025-05-11 02:39:33 +00:00

update ViewSolutions

This commit is contained in:
Andrei Yankovich 2020-05-10 01:05:58 +03:00
parent a9f0791ffd
commit 998e77e3fb
8 changed files with 58 additions and 5 deletions

@ -34,7 +34,15 @@ file(GLOB SOURCE_CPP
)
add_executable(${PROJECT_NAME} ${SOURCE_CPP})
if(ANDROID)
add_library(${PROJECT_NAME} SHARED ${SOURCE_CPP})
else()
add_executable(${PROJECT_NAME} ${SOURCE_CPP})
endif()
target_compile_definitions(${PROJECT_NAME}
PRIVATE $<$<OR:$<CONFIG:Debug>,$<CONFIG:RelWithDebInfo>>:QT_QML_DEBUG>)
target_link_libraries(${PROJECT_NAME} PRIVATE Qt5::Core ViewSolutions QuasarApp)
target_include_directories(${PROJECT_NAME} PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/src")
target_include_directories(${PROJECT_NAME} PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/src/Private")

@ -1 +1 @@
Subproject commit 603caac3c4a049376a456f2f50d3c79775441246
Subproject commit d085fe74b7831a1c422f8b9563f07c4de2b5cea4

@ -28,14 +28,50 @@ ToolBar {
background: (1 == privateRoot.currrentItem)? Material.accent : Material.background
Layout.fillHeight: true
Layout.preferredWidth: height * 0.8
soucre : "qrc:/img/images/HanoiTowers.png"
text: qsTr("Hanoi Towers")
toolTip: qsTr("Simple Crossplatform game");
soucre : "qrc:/img/images/CQtDeployer logo.png"
text: qsTr("CQtDeployer")
toolTip: qsTr("Crossplatform tool for deploying cpp applications." +
" The CQtDeployer is application for extract all depends library of executable and create launch script for your application.");
onClicked: {
privateRoot.currrentItem = 1
}
}
ImageView {
background: (2 == privateRoot.currrentItem)? Material.accent : Material.background
Layout.fillHeight: true
Layout.preferredWidth: height * 0.8
soucre : "qrc:/img/images/Qt-Secret Logo.png"
text: qsTr("Qt-Secret")
toolTip: qsTr("Fast encryption library supporting RSA and AES algorithms.");
onClicked: {
privateRoot.currrentItem = 2
}
}
ImageView {
background: (3 == privateRoot.currrentItem)? Material.accent : Material.background
Layout.fillHeight: true
Layout.preferredWidth: height * 0.8
soucre : "qrc:/img/images/HanoiTowers.png"
text: qsTr("Hanoi Towers")
toolTip: qsTr("Simple Crossplatform game");
onClicked: {
privateRoot.currrentItem = 3
}
}
ImageView {
background: (4 == privateRoot.currrentItem)? Material.accent : Material.background
Layout.fillHeight: true
Layout.preferredWidth: height * 0.8
soucre : "qrc:/img/images/QtBigint Logo.png"
text: qsTr("QtBigInt")
toolTip: qsTr("QtBigInt - Arbitrary-sized integer class for C++ and build system qmake and cmake. Power by minigmp.");
onClicked: {
privateRoot.currrentItem = 4
}
}
Item {
Layout.fillWidth: true

@ -11,6 +11,12 @@ ApplicationWindow {
height: 480
title: qsTr("Hello World")
Material.theme: Material.System
Material.accent: Material.LightBlue
// Material.background: Material.Teal
// Material.foreground: Material.Pink
Material.primary: Material.Teal
header: Header {
height: root.height * 0.2
}

Binary file not shown.

After

(image error) Size: 158 KiB

Binary file not shown.

After

(image error) Size: 161 KiB

Binary file not shown.

After

(image error) Size: 154 KiB

@ -6,5 +6,8 @@
<qresource prefix="/img">
<file>images/HanoiTowers.png</file>
<file>images/LOGO.png</file>
<file>images/CQtDeployer logo.png</file>
<file>images/QtBigint Logo.png</file>
<file>images/Qt-Secret Logo.png</file>
</qresource>
</RCC>