bug fux add 1

This commit is contained in:
Станислав Хозяенок 2025-05-28 13:21:37 +07:00
parent 1ba0ba2523
commit b786de552d
73 changed files with 1833 additions and 3436 deletions

File diff suppressed because it is too large Load Diff

View File

@ -54,13 +54,16 @@ int FormatConverter::ensureLasSubdir(const QString& projectPath) {
void FormatConverter::stopAllConverting()
{
convertToLas = nullptr;
WorkerManager& manager = WorkerManager::get();
manager.stopAll();
}
void FormatConverter::allWorkerFinished()
{
convertToLas();
if (convertToLas != nullptr) {
convertToLas();
}
}
void FormatConverter::percentChangeHandler(double percent)
@ -201,6 +204,7 @@ void FormatConverter::startHandling()
auto it = monitorList.begin();
auto itEnd = monitorList.end();
// иногда вызывается callbcak на монитор после delete, возможно стоит отписаться перед удалением
while(it != itEnd) {
delete it.value();
++it;

View File

@ -81,10 +81,15 @@ void PtsFormatFactory::process(const QStringList &files, const QString &pathSave
auto it = monitorList.insert({fileName}, new Monitor());
Monitor *monitor = *it;
monitor->messageCallbackHandling = [](const std::string& inputStr){
monitor->messageCallbackHandling = [monitor](const std::string& inputStr){
std::unordered_map<std::string, std::string> map;
parseStrMessage(inputStr,map);
if(map.empty()) return;
auto it = map.find("progressTotal");
if (it != map.end()) {
monitor->setPercentComplete(std::stod(it->second));
}
};
workersManager.prepareWorker(app, listArgs, monitor);

View File

@ -33,15 +33,15 @@ void Worker::start() {
masterCtrl->sendMessage("Hello from Master!");
// Slave
IPCController* slaveCtrl = factory->getController(slaveMemory.toStdString());
slaveCtrl = factory->getController(slaveMemory.toStdString());
// slaveCtrl->setMessageCallback([](const std::string& msg) {
// qDebug() << "Received: " << msg;
// });
slaveCtrl->setMessageCallback(monitor->messageCallbackHandling);
slaveCtrl->startListening();
process->start(program, arguments << "-masterMemory" << masterMemory.toLocal8Bit() << "-slaveMemory" << slaveMemory.toLocal8Bit());
arguments << "-masterMemory" << masterMemory.toLocal8Bit() << "-slaveMemory" << slaveMemory.toLocal8Bit();
qDebug() << "Starting process:" << program << arguments.join(" ");
process->start(program, arguments);
// process->startDetached("program", arguments)
// if (!process->startDetached("program", arguments)) {
@ -59,18 +59,18 @@ void Worker::stop() {
}
void Worker::onProcessFinished(int exitCode, QProcess::ExitStatus exitStatus) {
slaveCtrl->stopListening();
factory->releaseController(masterMemory.toStdString());
factory->releaseController(slaveMemory.toStdString());
qDebug() << "Process finished with:"
<< "\n Exit code:" << exitCode
<< "\n Status:" << (exitStatus == QProcess::NormalExit ? "Normal" : "Crash");
// emit finished(exitCode, exitStatus);
if (exitCode) {
monitor->setPercentComplete(0);
} else {
// if (exitCode) {
// monitor->setPercentComplete(0);
// } else {
monitor->setPercentComplete(1);
}
// }
emit finished();
}

View File

@ -9,7 +9,7 @@
#include "IProcessMonitor.h"
class IPCControllerFactory;
class IPCController;
class Worker : public QObject {
Q_OBJECT
public:
@ -39,9 +39,10 @@ private:
QProcess* process;
QString program;
QStringList arguments;
IPCControllerFactory * factory;
IPCControllerFactory * factory = 0;
QString masterMemory = "MasterMemory";
QString slaveMemory = "SlaveMemory";
IPCController* slaveCtrl = 0;
};
#endif // WORKER_H

View File

@ -45,6 +45,7 @@ qt_add_qml_module(appQtQuckApp
SOURCES
SOURCES settingspagemodel.h settingspagemodel.cpp
QML_FILES qml/ProgressBar.qml
QML_FILES qml/LoadFolderDialog.qml
)
# Qt for iOS sets MACOSX_BUNDLE_GUI_IDENTIFIER automatically since Qt 6.1.

View File

@ -5,19 +5,25 @@
// #define FIGMA_QML_BASE_PATH "../pages/FigmaQmlInterface/qml/"
#define FIGMA_QML_PATH(relpath) (FIGMA_QML_BASE_PATH relpath)
#define FIGMA_QML_QtQuckApp_BASE_PATH "QtQuckApp/qml/"
// #define FIGMA_QML_QtQuckApp_BASE_PATH "../QtQuckApp/qml/"
#define FIGMA_QML_QtQuckApp_PATH(relpath) (FIGMA_QML_QtQuckApp_BASE_PATH relpath)
namespace QML {
namespace Windows {
constexpr const char * MAIN = FIGMA_QML_PATH("TestPage_MainWindow2_figma.qml");
constexpr const char * MAIN = FIGMA_QML_PATH("TestPage_MainWindow3_figma.qml");
}
namespace Pages {
constexpr const char * MAIN = FIGMA_QML_PATH("TestPage_MainPage2_figma.qml");
constexpr const char * PROJECT = FIGMA_QML_PATH("TestPage_ProjectPage2_figma.qml");
constexpr const char * MAIN = FIGMA_QML_PATH("TestPage_MainPage3_figma.qml");
constexpr const char * PROJECT = FIGMA_QML_PATH("TestPage_ProjectPage3_figma.qml");
constexpr const char * SETTINGS = FIGMA_QML_PATH("TestPage_SettingsPage2_figma.qml");
constexpr const char * TRANSFORM = FIGMA_QML_PATH("TestPage_ColumnCenter_transform1_figma.qml");
constexpr const char * TRANSLATING = FIGMA_QML_PATH("TestPage_ColumnCenter_translating1_figma.qml");
constexpr const char * FOLDER_ICON = FIGMA_QML_PATH("FileComponent19_figma.qml");
constexpr const char * FILE_ICON = FIGMA_QML_PATH("FolderComponent18_figma.qml");
constexpr const char * FILE_ICON = FIGMA_QML_PATH("FolderComponent20_figma.qml");
}
namespace App{
constexpr const char * SCROLLABLE_TEXT_LIST = FIGMA_QML_QtQuckApp_PATH("ScrollableTextList.qml");
}
}

View File

@ -157,17 +157,7 @@ void MainPageActivity::setInitialView() {
blockTranslate();
}
void MainPageActivity::buttonEntered(QQuickItem * item){
if (item->isEnabled()) {
item->setProperty("color", QML::CORLOR_BUTTON_FOCUSED);
}
}
void MainPageActivity::buttonExited(QQuickItem * item){
if (item->isEnabled()) {
item->setProperty("color", QML::CORLOR_BUTTON_BASE);
}
}
void MainPageActivity::clearScrollableTextList()
{
@ -198,11 +188,13 @@ void MainPageActivity::setDefaultValues()
}
}
void MainPageActivity::setColumnCenterTranslate(){
void MainPageActivity::setColumnCenterTranslate() {
QuickHelper::clearChildren(columnCenter);
if (columnCenterItem) {
freeItem(columnCenterItem);
progressBarController = 0;
transformButtonCancel = 0;
}
columnCenterItem = 0;
@ -297,7 +289,7 @@ void MainPageActivity::translateClick(){
void MainPageActivity::cancelTranslateClick()
{
emit cancelTranslate();
// setColumnCenterTranslate();
setColumnCenterTranslate();
}
void MainPageActivity::blockTranslate()
@ -306,15 +298,19 @@ void MainPageActivity::blockTranslate()
isBlockTranslate = true;
transformButton->setEnabled(false);
transformButton->setProperty("enabled",false);
projectNameTextField->setEnabled(false);
}
void MainPageActivity::allowTranslate()
{
// Разрешаем перевод
isBlockTranslate = false;
if(transformButton == 0) return;
transformButton->setEnabled(true);
transformButton->setProperty("enabled",true);
projectNameTextField->setEnabled(true);
}
void MainPageActivity::listFilePathSet(QVariant listFiles)
@ -336,3 +332,15 @@ void MainPageActivity::handleChooseFiles()
// Q_ARG(QVariant, variant));
}
}
void MainPageActivity::buttonEntered(QQuickItem * item){
if (item->isEnabled()) {
item->setProperty("color", QML::CORLOR_BUTTON_FOCUSED);
}
}
void MainPageActivity::buttonExited(QQuickItem * item){
if (item->isEnabled()) {
item->setProperty("color", QML::CORLOR_BUTTON_BASE);
}
}

View File

@ -3,6 +3,7 @@
#include <QObject>
#include "interfaces/IPageActivity.h"
#include "FigmaQmlNames.h"
class QQuickItem;
class DynamicLoader;
@ -44,7 +45,7 @@ private:
const QString LABEL_FILE_COUNT = "ChosenFileCountLabel";
QQuickItem * labelFileCount = 0;
const QString QML_SCROLLABLE_TEXT_LIST = "QtQuckApp/qml/ScrollableTextList.qml";
const QString QML_SCROLLABLE_TEXT_LIST = QML::App::SCROLLABLE_TEXT_LIST; //"QtQuckApp/qml/ScrollableTextList.qml";
QQuickItem *listFilesItem = 0;
QQuickItem *progressBarController = 0;

View File

@ -1,248 +0,0 @@
//Generated by FigmaQML 3.2.1
import QtQuick
import QtQuick.Effects
import QtQuick.Shapes
import QtQuick.Controls
import QtQuick.Shapes
import FigmaQmlInterface
Rectangle {
// component (Instance) level: 0 ColumnCenter-transform
id: figma_94_92
// # "ColumnCenter-transform"
objectName:"ColumnCenter-transform"
x:0
y:0
width:344
height:607
color:"#ffffffff"
clip: true
Rectangle {
// component (Instance) level: 0 Frame 797
id: figma_219_154
// # "Frame 797"
objectName:"Frame 797"
x: (figma_94_92.width - width) / 2 + 1.5
y: (figma_94_92.height - height) / 2 + 0.5
width:255
height:254
color: "transparent"
clip: false
Rectangle {
// component (Instance) level: 0 TransformButton
id: figma_94_93
// # "TransformButton"
objectName:"TransformButton"
x: (figma_219_154.width - width) / 2
y: (figma_219_154.height - height) / 2 + 27
width:255
height:200
color:"#fffcfbfc"
radius:30
clip: true
Item {
// component (Instance) level: 0 RefreshIcon
id: figma_94_94
// # "RefreshIcon"
objectName:"RefreshIcon"
x: (figma_94_93.width - width) / 2 + 0.5
y:10
width:100
height:100
MultiEffect {
maskEnabled: true
anchors.fill:parent
source: source_figma_94_94
maskSource: maskSource_figma_94_94
}
Image {
id: source_figma_94_94
layer.enabled: true
fillMode: Image.PreserveAspectCrop
visible: false
mipmap: true
anchors.fill:parent
source: "images/8500eafa1c0b05136ba0d949af53c060439d9230.png"
}
Shape {
id: maskSource_figma_94_94
anchors.fill: parent
layer.enabled: true
visible: false
ShapePath {
strokeColor: "transparent"
strokeWidth:1
fillColor:"black"
fillRule: ShapePath.WindingFill
PathSvg {
path: "M0 0L100 0L100 100L0 100L0 0Z"
}
}
}
Shape {
anchors.fill: parent
ShapePath {
strokeColor: "transparent"
strokeWidth:1
fillColor:"#00000000"
// component (shapeFill) level: 0
id: svgpath_figma_94_94
fillRule: ShapePath.WindingFill
PathSvg {
id: path_0_figma_94_94
path: "M0 0L100 0L100 100L0 100L0 0Z"
}
}
}
property alias path: path_0_figma_94_94.path
}
Text {
// component (Instance) level: 0 Преобразовать
id: figma_94_95
// # "Преобразовать"
objectName:"Преобразовать"
x: (figma_94_93.width - width) / 2 + 0.5
y:123
width:242
height:39
color:"#ff000000"
wrapMode: TextEdit.WordWrap
text:"Преобразовать"
font.family: "Tahoma"
font.italic: false
font.letterSpacing: 0
font.pixelSize: 32
font.weight: Font.Normal
horizontalAlignment: Text.AlignLeft
verticalAlignment: Text.AlignTop
}
}
InputComponent27_figma {
// component (Instance) level: 0 InputComponent
id: figma_219_169
// # "InputComponent"
objectName:"InputComponent"
x: (figma_219_154.width - width) / 2
y:-40
delegate_219_73: Text {
// component (Instance) level: 1 ProjectLabel
id: figma_i219_169_219_73
// # "ProjectLabel"
objectName:"ProjectLabel"
x:0
y:0
width:231
height:13
color:"#ff302f38"
wrapMode: TextEdit.WordWrap
text:"Имя проекта"
font.family: "Tahoma"
font.italic: false
font.letterSpacing: 0
font.pixelSize: 11
font.weight: Font.Normal
horizontalAlignment: Text.AlignLeft
verticalAlignment: Text.AlignTop
}
delegate_219_155: Rectangle {
// component (Instance) level: 1 StrokeElement
id: figma_i219_169_219_155
// # "StrokeElement"
objectName:"StrokeElement"
x:0
y:17
width:231
height:23
color: "transparent"
radius:5
clip: false
Shape {
anchors.fill: parent
ShapePath {
strokeColor: Qt.rgba(0, 0, 0, 1)
strokeWidth: 1
fillColor: "transparent"
PathMove { x: 5; y: 0 }
PathLine { x: 5; y: 0.5 }
PathLine { x: 226; y: 0.5 }
PathLine { x: 226; y: 0 }
PathLine { x: 226; y: -0.5 }
PathLine { x: 5; y: -0.5 }
PathLine { x: 5; y: 0 }
PathMove { x: 231; y: 5 }
PathLine { x: 230.5; y: 5 }
PathLine { x: 230.5; y: 18 }
PathLine { x: 231; y: 18 }
PathLine { x: 231.5; y: 18 }
PathLine { x: 231.5; y: 5 }
PathLine { x: 231; y: 5 }
PathMove { x: 226; y: 23 }
PathLine { x: 226; y: 22.5 }
PathLine { x: 5; y: 22.5 }
PathLine { x: 5; y: 23 }
PathLine { x: 5; y: 23.5 }
PathLine { x: 226; y: 23.5 }
PathLine { x: 226; y: 23 }
PathMove { x: 0; y: 18 }
PathLine { x: 0.5; y: 18 }
PathLine { x: 0.5; y: 5 }
PathLine { x: 0; y: 5 }
PathLine { x: -0.5; y: 5 }
PathLine { x: -0.5; y: 18 }
PathLine { x: 0; y: 18 }
PathMove { x: 5; y: 23 }
PathLine { x: 5; y: 22.5 }
PathCubic { control1X: 2.51472; control1Y: 22.5; control2X: 0.5; control2Y: 20.4853; x: 0.5; y: 18 }
PathLine { x: 0; y: 18 }
PathLine { x: -0.5; y: 18 }
PathCubic { control1X: -0.5; control1Y: 21.0376; control2X: 1.96243; control2Y: 23.5; x: 5; y: 23.5 }
PathLine { x: 5; y: 23 }
PathMove { x: 231; y: 18 }
PathLine { x: 230.5; y: 18 }
PathCubic { control1X: 230.5; control1Y: 20.4853; control2X: 228.485; control2Y: 22.5; x: 226; y: 22.5 }
PathLine { x: 226; y: 23 }
PathLine { x: 226; y: 23.5 }
PathCubic { control1X: 229.038; control1Y: 23.5; control2X: 231.5; control2Y: 21.0376; x: 231.5; y: 18 }
PathLine { x: 231; y: 18 }
PathMove { x: 226; y: 0 }
PathLine { x: 226; y: 0.5 }
PathCubic { control1X: 228.485; control1Y: 0.5; control2X: 230.5; control2Y: 2.51472; x: 230.5; y: 5 }
PathLine { x: 231; y: 5 }
PathLine { x: 231.5; y: 5 }
PathCubic { control1X: 231.5; control1Y: 1.96243; control2X: 229.038; control2Y: -0.5; x: 226; y: -0.5 }
PathLine { x: 226; y: 0 }
PathMove { x: 5; y: 0 }
PathLine { x: 5; y: -0.5 }
PathCubic { control1X: 1.96243; control1Y: -0.5; control2X: -0.5; control2Y: 1.96243; x: -0.5; y: 5 }
PathLine { x: 0; y: 5 }
PathLine { x: 0.5; y: 5 }
PathCubic { control1X: 0.5; control1Y: 2.51472; control2X: 2.51472; control2Y: 0.5; x: 5; y: 0.5 }
PathLine { x: 5; y: 0 }
}}
TextField {
// component (Instance) level: 1 ProjectTextField
id: figma_i219_169_219_74
// # "ProjectTextField"
objectName:"ProjectTextField"
x:3
y:0
width:225
height:23
color:"#ff7d7e82"
wrapMode: TextEdit.WordWrap
text:"1"
background: Rectangle {color: "transparent"} font.family: "Tahoma"
font.italic: false
font.letterSpacing: 0
font.pixelSize: 16
font.weight: Font.Normal
horizontalAlignment: Text.AlignLeft
verticalAlignment: Text.AlignVCenter
}
}
}
}
}

View File

@ -1,163 +0,0 @@
//Generated by FigmaQML 3.2.1
import QtQuick
import QtQuick.Effects
import QtQuick.Shapes
import QtQuick.Controls
import QtQuick.Shapes
import FigmaQmlInterface
Rectangle {
// component (Instance) level: 0 ColumnCenter-translating
id: figma_94_97
// # "ColumnCenter-translating"
objectName:"ColumnCenter-translating"
x:0
y:0
width:344
height:607
color:"#ffffffff"
clip: true
LabelComponent18_figma {
// component (Instance) level: 0 ProgressTransformLabelItem
id: figma_94_98
// # "ProgressTransformLabelItem"
objectName:"ProgressTransformLabelItem"
x:48
y:258
Text {
// component (Instance) level: 1 ProgressTransformLabel
id: figma_i94_98_613_450
// # "ProgressTransformLabel"
objectName:"ProgressTransformLabel"
x:0
y:0
width:146
height:19
color:"#ff000000"
wrapMode: TextEdit.WordWrap
text:"Преобразование..."
font.family: "Tahoma"
font.italic: false
font.letterSpacing: 0
font.pixelSize: 16
font.weight: Font.Normal
horizontalAlignment: Text.AlignLeft
verticalAlignment: Text.AlignTop
}
}
Rectangle {
// component (Instance) level: 0 TranslateProgressBar
id: figma_94_99
// # "TranslateProgressBar"
objectName:"TranslateProgressBar"
x:49
y:285
width:249
height:22
color: "transparent"
clip: true
Shape {
anchors.fill: parent
ShapePath {
strokeColor: Qt.rgba(0.545103, 0.429919, 0.961538, 1)
strokeWidth: 2
fillColor: "transparent"
PathMove { x: 0; y: 0 }
PathLine { x: 0; y: -2 }
PathLine { x: -2; y: -2 }
PathLine { x: -2; y: 0 }
PathLine { x: 0; y: 0 }
PathMove { x: 249; y: 0 }
PathLine { x: 251; y: 0 }
PathLine { x: 251; y: -2 }
PathLine { x: 249; y: -2 }
PathLine { x: 249; y: 0 }
PathMove { x: 249; y: 22 }
PathLine { x: 249; y: 24 }
PathLine { x: 251; y: 24 }
PathLine { x: 251; y: 22 }
PathLine { x: 249; y: 22 }
PathMove { x: 0; y: 22 }
PathLine { x: -2; y: 22 }
PathLine { x: -2; y: 24 }
PathLine { x: 0; y: 24 }
PathLine { x: 0; y: 22 }
PathMove { x: 0; y: 0 }
PathLine { x: 0; y: 2 }
PathLine { x: 249; y: 2 }
PathLine { x: 249; y: 0 }
PathLine { x: 249; y: -2 }
PathLine { x: 0; y: -2 }
PathLine { x: 0; y: 0 }
PathMove { x: 249; y: 0 }
PathLine { x: 247; y: 0 }
PathLine { x: 247; y: 22 }
PathLine { x: 249; y: 22 }
PathLine { x: 251; y: 22 }
PathLine { x: 251; y: 0 }
PathLine { x: 249; y: 0 }
PathMove { x: 249; y: 22 }
PathLine { x: 249; y: 20 }
PathLine { x: 0; y: 20 }
PathLine { x: 0; y: 22 }
PathLine { x: 0; y: 24 }
PathLine { x: 249; y: 24 }
PathLine { x: 249; y: 22 }
PathMove { x: 0; y: 22 }
PathLine { x: 2; y: 22 }
PathLine { x: 2; y: 0 }
PathLine { x: 0; y: 0 }
PathLine { x: -2; y: 0 }
PathLine { x: -2; y: 22 }
PathLine { x: 0; y: 22 }
}}
Rectangle {
// component (Instance) level: 0 TranslateProgressBarFilled
id: figma_94_100
// # "TranslateProgressBarFilled"
objectName:"TranslateProgressBarFilled"
x:0
y:0
width:40
height:22
color:"#ff8b6ef5"
clip: true
}
}
Rectangle {
// component (Instance) level: 0 ProgressTranslateCancelButton
id: figma_94_101
// # "ProgressTranslateCancelButton"
objectName:"ProgressTranslateCancelButton"
x:52
y:319
width:244
height:31
color:"#ff8b6ef5"
radius:30
clip: true
Text {
// component (Instance) level: 0 Отменить
id: figma_94_102
// # "Отменить"
objectName:"Отменить"
x: (figma_94_101.width - width) / 2
y: (figma_94_101.height - height) / 2
width:78
height:19
color:"#ffffffff"
wrapMode: TextEdit.WordWrap
text:"Отменить"
font.family: "Tahoma"
font.italic: false
font.letterSpacing: 0
font.pixelSize: 16
font.weight: Font.Normal
horizontalAlignment: Text.AlignLeft
verticalAlignment: Text.AlignTop
}
}
}

View File

@ -1,14 +0,0 @@
//Generated by FigmaQML 3.2.1
import QtQuick
import QtQuick.Effects
import QtQuick.Shapes
import QtQuick.Controls
import QtQuick.Shapes
import FigmaQmlInterface
FolderComponent17_figma {
// component (Instance) level: 0 FolderComponent
id: figma_98_54
// # "FolderComponent"
objectName:"FolderComponent"
}

View File

@ -1,14 +0,0 @@
//Generated by FigmaQML 3.2.1
import QtQuick
import QtQuick.Effects
import QtQuick.Shapes
import QtQuick.Controls
import QtQuick.Shapes
import FigmaQmlInterface
HeaderValueComponent25_figma {
// component (Instance) level: 0 HeaderValueComponent
id: figma_269_178
// # "HeaderValueComponent"
objectName:"HeaderValueComponent"
}

View File

@ -1,14 +0,0 @@
//Generated by FigmaQML 3.2.1
import QtQuick
import QtQuick.Effects
import QtQuick.Shapes
import QtQuick.Controls
import QtQuick.Shapes
import FigmaQmlInterface
InputComponent27_figma {
// component (Instance) level: 0 InputComponent
id: figma_219_72
// # "InputComponent"
objectName:"InputComponent"
}

View File

@ -1,407 +0,0 @@
//Generated by FigmaQML 3.2.1
import QtQuick
import QtQuick.Effects
import QtQuick.Shapes
import QtQuick.Controls
import QtQuick.Shapes
import FigmaQmlInterface
Rectangle {
// component (Instance) level: 0 SettingsPage
id: figma_94_86
// # "SettingsPage"
objectName:"SettingsPage"
x:0
y:0
width:1096
height:900
color: "transparent"
clip: true
LabelHeaderComponentH122_figma {
// component (Instance) level: 0 MainPageHeader
id: figma_94_87
// # "MainPageHeader"
objectName:"MainPageHeader"
x:31
y:20
width:171
height:39
Text {
// component (Instance) level: 1 LabelHeader
id: figma_i94_87_613_438
// # "LabelHeader"
objectName:"LabelHeader"
x:0
y:0
width:171
height:39
color:"#ff000000"
wrapMode: TextEdit.WordWrap
text:"Настройки"
font.family: "Tahoma"
font.italic: false
font.letterSpacing: 0
font.pixelSize: 32
font.weight: Font.Normal
horizontalAlignment: Text.AlignLeft
verticalAlignment: Text.AlignTop
}
}
LabelComponent18_figma {
// component (Instance) level: 0 LabelComponent
id: figma_94_88
// # "LabelComponent"
objectName:"LabelComponent"
x:197
y:32
Text {
// component (Instance) level: 1 SubdirectorName
id: figma_i94_88_613_450
// # "SubdirectorName"
objectName:"SubdirectorName"
visible: false
x:0
y:0
width:146
height:19
color:"#ff000000"
wrapMode: TextEdit.WordWrap
text:"Преобразование..."
font.family: "Tahoma"
font.italic: false
font.letterSpacing: 0
font.pixelSize: 16
font.weight: Font.Normal
horizontalAlignment: Text.AlignLeft
verticalAlignment: Text.AlignTop
}
}
Rectangle {
// component (Instance) level: 0 Frame 795
id: figma_94_89
// # "Frame 795"
objectName:"Frame 795"
x:0
y:65
width:1096
height:835
color:"#ffffffff"
clip: true
InputComponent27_figma {
// component (Instance) level: 0 InputComponent
id: figma_249_58
// # "InputComponent"
objectName:"InputComponent"
x: (figma_94_89.width - width) / 2 - 239
y:275
width:470
height:40
delegate_219_73: Text {
// component (Instance) level: 1 ProjectLabel
id: figma_i249_58_219_73
// # "ProjectLabel"
objectName:"ProjectLabel"
x:0
y:0
width:470
height:13
color:"#ff302f38"
wrapMode: TextEdit.WordWrap
text:"Адрес"
font.family: "Tahoma"
font.italic: false
font.letterSpacing: 0
font.pixelSize: 11
font.weight: Font.Normal
horizontalAlignment: Text.AlignLeft
verticalAlignment: Text.AlignTop
}
delegate_219_155: Rectangle {
// component (Instance) level: 1 StrokeElement
id: figma_i249_58_219_155
// # "StrokeElement"
objectName:"StrokeElement"
x:0
y:17
width:470
height:23
color: "transparent"
radius:5
clip: false
Shape {
anchors.fill: parent
ShapePath {
strokeColor: Qt.rgba(0, 0, 0, 1)
strokeWidth: 1
fillColor: "transparent"
PathMove { x: 5; y: 0 }
PathLine { x: 5; y: 0.5 }
PathLine { x: 465; y: 0.5 }
PathLine { x: 465; y: 0 }
PathLine { x: 465; y: -0.5 }
PathLine { x: 5; y: -0.5 }
PathLine { x: 5; y: 0 }
PathMove { x: 470; y: 5 }
PathLine { x: 469.5; y: 5 }
PathLine { x: 469.5; y: 18 }
PathLine { x: 470; y: 18 }
PathLine { x: 470.5; y: 18 }
PathLine { x: 470.5; y: 5 }
PathLine { x: 470; y: 5 }
PathMove { x: 465; y: 23 }
PathLine { x: 465; y: 22.5 }
PathLine { x: 5; y: 22.5 }
PathLine { x: 5; y: 23 }
PathLine { x: 5; y: 23.5 }
PathLine { x: 465; y: 23.5 }
PathLine { x: 465; y: 23 }
PathMove { x: 0; y: 18 }
PathLine { x: 0.5; y: 18 }
PathLine { x: 0.5; y: 5 }
PathLine { x: 0; y: 5 }
PathLine { x: -0.5; y: 5 }
PathLine { x: -0.5; y: 18 }
PathLine { x: 0; y: 18 }
PathMove { x: 5; y: 23 }
PathLine { x: 5; y: 22.5 }
PathCubic { control1X: 2.51472; control1Y: 22.5; control2X: 0.5; control2Y: 20.4853; x: 0.5; y: 18 }
PathLine { x: 0; y: 18 }
PathLine { x: -0.5; y: 18 }
PathCubic { control1X: -0.5; control1Y: 21.0376; control2X: 1.96243; control2Y: 23.5; x: 5; y: 23.5 }
PathLine { x: 5; y: 23 }
PathMove { x: 470; y: 18 }
PathLine { x: 469.5; y: 18 }
PathCubic { control1X: 469.5; control1Y: 20.4853; control2X: 467.485; control2Y: 22.5; x: 465; y: 22.5 }
PathLine { x: 465; y: 23 }
PathLine { x: 465; y: 23.5 }
PathCubic { control1X: 468.038; control1Y: 23.5; control2X: 470.5; control2Y: 21.0376; x: 470.5; y: 18 }
PathLine { x: 470; y: 18 }
PathMove { x: 465; y: 0 }
PathLine { x: 465; y: 0.5 }
PathCubic { control1X: 467.485; control1Y: 0.5; control2X: 469.5; control2Y: 2.51472; x: 469.5; y: 5 }
PathLine { x: 470; y: 5 }
PathLine { x: 470.5; y: 5 }
PathCubic { control1X: 470.5; control1Y: 1.96243; control2X: 468.038; control2Y: -0.5; x: 465; y: -0.5 }
PathLine { x: 465; y: 0 }
PathMove { x: 5; y: 0 }
PathLine { x: 5; y: -0.5 }
PathCubic { control1X: 1.96243; control1Y: -0.5; control2X: -0.5; control2Y: 1.96243; x: -0.5; y: 5 }
PathLine { x: 0; y: 5 }
PathLine { x: 0.5; y: 5 }
PathCubic { control1X: 0.5; control1Y: 2.51472; control2X: 2.51472; control2Y: 0.5; x: 5; y: 0.5 }
PathLine { x: 5; y: 0 }
}}
TextField {
// component (Instance) level: 1 RemoteAddressLabelField
id: figma_i249_58_219_74
// # "RemoteAddressLabelField"
objectName:"RemoteAddressLabelField"
x:3
y:0
width:464
height:23
color:"#ff7d7e82"
wrapMode: TextEdit.WordWrap
text:"http://localhost:1234"
background: Rectangle {color: "transparent"} font.family: "Tahoma"
font.italic: false
font.letterSpacing: 0
font.pixelSize: 16
font.weight: Font.Normal
horizontalAlignment: Text.AlignLeft
verticalAlignment: Text.AlignVCenter
}
}
}
InputComponent27_figma {
// component (Instance) level: 0 InputComponent
id: figma_249_53
// # "InputComponent"
objectName:"InputComponent"
x: (figma_94_89.width - width) / 2 - 242
y:70
width:470
height:40
delegate_219_73: Text {
// component (Instance) level: 1 ProjectLabel
id: figma_i249_53_219_73
// # "ProjectLabel"
objectName:"ProjectLabel"
x:0
y:0
width:470
height:13
color:"#ff302f38"
wrapMode: TextEdit.WordWrap
text:"Путь по умолчанию"
font.family: "Tahoma"
font.italic: false
font.letterSpacing: 0
font.pixelSize: 11
font.weight: Font.Normal
horizontalAlignment: Text.AlignLeft
verticalAlignment: Text.AlignTop
}
delegate_219_155: Rectangle {
// component (Instance) level: 1 StrokeElement
id: figma_i249_53_219_155
// # "StrokeElement"
objectName:"StrokeElement"
x:0
y:17
width:470
height:23
color: "transparent"
radius:5
clip: false
Shape {
anchors.fill: parent
ShapePath {
strokeColor: Qt.rgba(0, 0, 0, 1)
strokeWidth: 1
fillColor: "transparent"
PathMove { x: 5; y: 0 }
PathLine { x: 5; y: 0.5 }
PathLine { x: 465; y: 0.5 }
PathLine { x: 465; y: 0 }
PathLine { x: 465; y: -0.5 }
PathLine { x: 5; y: -0.5 }
PathLine { x: 5; y: 0 }
PathMove { x: 470; y: 5 }
PathLine { x: 469.5; y: 5 }
PathLine { x: 469.5; y: 18 }
PathLine { x: 470; y: 18 }
PathLine { x: 470.5; y: 18 }
PathLine { x: 470.5; y: 5 }
PathLine { x: 470; y: 5 }
PathMove { x: 465; y: 23 }
PathLine { x: 465; y: 22.5 }
PathLine { x: 5; y: 22.5 }
PathLine { x: 5; y: 23 }
PathLine { x: 5; y: 23.5 }
PathLine { x: 465; y: 23.5 }
PathLine { x: 465; y: 23 }
PathMove { x: 0; y: 18 }
PathLine { x: 0.5; y: 18 }
PathLine { x: 0.5; y: 5 }
PathLine { x: 0; y: 5 }
PathLine { x: -0.5; y: 5 }
PathLine { x: -0.5; y: 18 }
PathLine { x: 0; y: 18 }
PathMove { x: 5; y: 23 }
PathLine { x: 5; y: 22.5 }
PathCubic { control1X: 2.51472; control1Y: 22.5; control2X: 0.5; control2Y: 20.4853; x: 0.5; y: 18 }
PathLine { x: 0; y: 18 }
PathLine { x: -0.5; y: 18 }
PathCubic { control1X: -0.5; control1Y: 21.0376; control2X: 1.96243; control2Y: 23.5; x: 5; y: 23.5 }
PathLine { x: 5; y: 23 }
PathMove { x: 470; y: 18 }
PathLine { x: 469.5; y: 18 }
PathCubic { control1X: 469.5; control1Y: 20.4853; control2X: 467.485; control2Y: 22.5; x: 465; y: 22.5 }
PathLine { x: 465; y: 23 }
PathLine { x: 465; y: 23.5 }
PathCubic { control1X: 468.038; control1Y: 23.5; control2X: 470.5; control2Y: 21.0376; x: 470.5; y: 18 }
PathLine { x: 470; y: 18 }
PathMove { x: 465; y: 0 }
PathLine { x: 465; y: 0.5 }
PathCubic { control1X: 467.485; control1Y: 0.5; control2X: 469.5; control2Y: 2.51472; x: 469.5; y: 5 }
PathLine { x: 470; y: 5 }
PathLine { x: 470.5; y: 5 }
PathCubic { control1X: 470.5; control1Y: 1.96243; control2X: 468.038; control2Y: -0.5; x: 465; y: -0.5 }
PathLine { x: 465; y: 0 }
PathMove { x: 5; y: 0 }
PathLine { x: 5; y: -0.5 }
PathCubic { control1X: 1.96243; control1Y: -0.5; control2X: -0.5; control2Y: 1.96243; x: -0.5; y: 5 }
PathLine { x: 0; y: 5 }
PathLine { x: 0.5; y: 5 }
PathCubic { control1X: 0.5; control1Y: 2.51472; control2X: 2.51472; control2Y: 0.5; x: 5; y: 0.5 }
PathLine { x: 5; y: 0 }
}}
TextField {
// component (Instance) level: 1 ProjectsPathLabelField
id: figma_i249_53_219_74
// # "ProjectsPathLabelField"
objectName:"ProjectsPathLabelField"
x:3
y:0
width:464
height:23
color:"#ff7d7e82"
wrapMode: TextEdit.WordWrap
text:"1"
background: Rectangle {color: "transparent"} font.family: "Tahoma"
font.italic: false
font.letterSpacing: 0
font.pixelSize: 16
font.weight: Font.Normal
horizontalAlignment: Text.AlignLeft
verticalAlignment: Text.AlignVCenter
}
}
}
LabelHeaderComponentH2_bold44_figma {
// component (Instance) level: 0 LabelHeaderComponentH2-bold
id: figma_269_150
// # "LabelHeaderComponentH2-bold"
objectName:"LabelHeaderComponentH2-bold"
x:71
y:37
width:154
height:31
color: "transparent"
delegate_269_148: Text {
// component (Instance) level: 1 Label
id: figma_i269_150_269_148
// # "Label"
objectName:"Label"
x:0
y:0
width:154
height:31
color:"#ff000000"
wrapMode: TextEdit.WordWrap
text:"Хранилище"
font.family: "Tahoma"
font.italic: false
font.letterSpacing: 0
font.pixelSize: 26
font.weight: Font.DemiBold
horizontalAlignment: Text.AlignLeft
verticalAlignment: Text.AlignTop
}
}
LabelHeaderComponentH2_bold44_figma {
// component (Instance) level: 0 LabelHeaderComponentH2-bold
id: figma_269_160
// # "LabelHeaderComponentH2-bold"
objectName:"LabelHeaderComponentH2-bold"
x:71
y:241
width:99
height:31
color: "transparent"
delegate_269_148: Text {
// component (Instance) level: 1 Label
id: figma_i269_160_269_148
// # "Label"
objectName:"Label"
x:0
y:0
width:99
height:31
color:"#ff000000"
wrapMode: TextEdit.WordWrap
text:"Сервер"
font.family: "Tahoma"
font.italic: false
font.letterSpacing: 0
font.pixelSize: 26
font.weight: Font.DemiBold
horizontalAlignment: Text.AlignLeft
verticalAlignment: Text.AlignTop
}
}
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 95 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 105 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 994 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 916 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

View File

@ -161,7 +161,7 @@ private:
/**
* @brief elements, static and sole
*/
const std::vector<QString> m_elements {"qml/TestPage_MainWindow2_figma.qml"};
const std::vector<QString> m_elements {"qml/TestPage_MainWindow3_figma.qml"};
QString m_currentView;
};

View File

@ -1,22 +0,0 @@
//Generated by FigmaQML 3.2.1
import QtQuick
import QtQuick.Effects
import QtQuick.Shapes
import QtQuick.Controls
import QtQuick.Shapes
import FigmaQmlInterface
Rectangle {
// component (Instance) level: 0 ColumnaItemComponent
id: figma_139_46
// # "ColumnaItemComponent"
objectName:"ColumnaItemComponent"
x:0
y:0
width:266
height:27
color: "transparent"
clip: false
Component.onCompleted: {
}
}

View File

@ -1,153 +0,0 @@
//Generated by FigmaQML 3.2.1
import QtQuick
import QtQuick.Effects
import QtQuick.Shapes
import QtQuick.Controls
import QtQuick.Shapes
import FigmaQmlInterface
Rectangle {
// component (Instance) level: 0 FileComponent
id: figma_98_57
// # "FileComponent"
objectName:"FileComponent"
x:0
y:0
width:266
height:243
color: "#fffcfbfe"
radius:33.25
clip: true
property Component delegate_98_58: Item {
// component (Instance) level: 0 file 1
id: figma_98_58
// # "file 1"
objectName:"file 1"
x:73
y:9
width:118.94
height:157.502
MultiEffect {
maskEnabled: true
anchors.fill:parent
source: source_figma_98_58
maskSource: maskSource_figma_98_58
}
Image {
id: source_figma_98_58
layer.enabled: true
fillMode: Image.PreserveAspectCrop
visible: false
mipmap: true
anchors.fill:parent
source: "images/e774f5e9c89c49d525aed5785d5bfcabb8cc67f3.png"
}
Shape {
id: maskSource_figma_98_58
anchors.fill: parent
layer.enabled: true
visible: false
ShapePath {
strokeColor: "transparent"
strokeWidth:0.232703
fillColor:"black"
fillRule: ShapePath.WindingFill
PathSvg {
path: "M0 0L118.94 0L118.94 157.502L0 157.502L0 0Z"
}
}
}
Shape {
anchors.fill: parent
ShapePath {
strokeColor: "transparent"
strokeWidth:0.232703
fillColor:"#00000000"
// component (shapeFill) level: 0
id: svgpath_figma_98_58
fillRule: ShapePath.WindingFill
PathSvg {
id: path_0_figma_98_58
path: "M0 0L118.94 0L118.94 157.502L0 157.502L0 0Z"
}
}
}
property alias path: path_0_figma_98_58.path
}
property Item i_delegate_98_58
property matrix4x4 delegate_98_58_transform: Qt.matrix4x4(Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,)
onDelegate_98_58_transformChanged: {if(i_delegate_98_58 && i_delegate_98_58.transform != delegate_98_58_transform) i_delegate_98_58.transform = delegate_98_58_transform;}
property real delegate_98_58_x: NaN
onDelegate_98_58_xChanged: {if(i_delegate_98_58 && i_delegate_98_58.x != delegate_98_58_x) i_delegate_98_58.x = delegate_98_58_x;}
property real delegate_98_58_y: NaN
onDelegate_98_58_yChanged: {if(i_delegate_98_58 && i_delegate_98_58.y != delegate_98_58_y) i_delegate_98_58.y = delegate_98_58_y;}
property real delegate_98_58_width: NaN
onDelegate_98_58_widthChanged: {if(i_delegate_98_58 && i_delegate_98_58.width != delegate_98_58_width) i_delegate_98_58.width = delegate_98_58_width;}
property real delegate_98_58_height: NaN
onDelegate_98_58_heightChanged: {if(i_delegate_98_58 && i_delegate_98_58.height != delegate_98_58_height) i_delegate_98_58.height = delegate_98_58_height;}
property Component delegate_98_59: LabelHeaderComponentH2_bold45_figma {
// component (Instance) level: 0 LabelHeaderComponentH2-bold
id: figma_98_59
// # "LabelHeaderComponentH2-bold"
objectName:"LabelHeaderComponentH2-bold"
x:44
y:184
width:178
height:31
Text {
// component (Instance) level: 1 Label
id: figma_i98_59_618_361
// # "Label"
objectName:"Label"
x:0
y:0
width:171
height:31
color:"#ff000000"
wrapMode: TextEdit.WordWrap
text:"Информация"
font.family: "Tahoma"
font.italic: false
font.letterSpacing: 0
font.pixelSize: 26
font.weight: Font.DemiBold
horizontalAlignment: Text.AlignLeft
verticalAlignment: Text.AlignTop
}
}
property Item i_delegate_98_59
property matrix4x4 delegate_98_59_transform: Qt.matrix4x4(Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,)
onDelegate_98_59_transformChanged: {if(i_delegate_98_59 && i_delegate_98_59.transform != delegate_98_59_transform) i_delegate_98_59.transform = delegate_98_59_transform;}
property real delegate_98_59_x: NaN
onDelegate_98_59_xChanged: {if(i_delegate_98_59 && i_delegate_98_59.x != delegate_98_59_x) i_delegate_98_59.x = delegate_98_59_x;}
property real delegate_98_59_y: NaN
onDelegate_98_59_yChanged: {if(i_delegate_98_59 && i_delegate_98_59.y != delegate_98_59_y) i_delegate_98_59.y = delegate_98_59_y;}
property real delegate_98_59_width: NaN
onDelegate_98_59_widthChanged: {if(i_delegate_98_59 && i_delegate_98_59.width != delegate_98_59_width) i_delegate_98_59.width = delegate_98_59_width;}
property real delegate_98_59_height: NaN
onDelegate_98_59_heightChanged: {if(i_delegate_98_59 && i_delegate_98_59.height != delegate_98_59_height) i_delegate_98_59.height = delegate_98_59_height;}
Component.onCompleted: {
const o_delegate_98_58 = {}
if(!isNaN(delegate_98_58_transform.m11)) o_delegate_98_58['transform'] = delegate_98_58_transform;
if(!isNaN(delegate_98_58_x)) o_delegate_98_58['x'] = delegate_98_58_x;
if(!isNaN(delegate_98_58_y)) o_delegate_98_58['y'] = delegate_98_58_y;
if(!isNaN(delegate_98_58_width)) o_delegate_98_58['width'] = delegate_98_58_width;
if(!isNaN(delegate_98_58_height)) o_delegate_98_58['height'] = delegate_98_58_height;
i_delegate_98_58 = delegate_98_58.createObject(this, o_delegate_98_58)
delegate_98_58_x = Qt.binding(()=>i_delegate_98_58.x)
delegate_98_58_y = Qt.binding(()=>i_delegate_98_58.y)
delegate_98_58_width = Qt.binding(()=>i_delegate_98_58.width)
delegate_98_58_height = Qt.binding(()=>i_delegate_98_58.height)
const o_delegate_98_59 = {}
if(!isNaN(delegate_98_59_transform.m11)) o_delegate_98_59['transform'] = delegate_98_59_transform;
if(!isNaN(delegate_98_59_x)) o_delegate_98_59['x'] = delegate_98_59_x;
if(!isNaN(delegate_98_59_y)) o_delegate_98_59['y'] = delegate_98_59_y;
if(!isNaN(delegate_98_59_width)) o_delegate_98_59['width'] = delegate_98_59_width;
if(!isNaN(delegate_98_59_height)) o_delegate_98_59['height'] = delegate_98_59_height;
i_delegate_98_59 = delegate_98_59.createObject(this, o_delegate_98_59)
delegate_98_59_x = Qt.binding(()=>i_delegate_98_59.x)
delegate_98_59_y = Qt.binding(()=>i_delegate_98_59.y)
delegate_98_59_width = Qt.binding(()=>i_delegate_98_59.width)
delegate_98_59_height = Qt.binding(()=>i_delegate_98_59.height)
}
}

View File

@ -85,7 +85,7 @@ Rectangle {
onDelegate_98_58_widthChanged: {if(i_delegate_98_58 && i_delegate_98_58.width != delegate_98_58_width) i_delegate_98_58.width = delegate_98_58_width;}
property real delegate_98_58_height: NaN
onDelegate_98_58_heightChanged: {if(i_delegate_98_58 && i_delegate_98_58.height != delegate_98_58_height) i_delegate_98_58.height = delegate_98_58_height;}
property Component delegate_98_59: LabelHeaderComponentH2_bold45_figma {
property Component delegate_98_59: LabelHeaderComponentH2_bold48_figma {
// component (Instance) level: 0 LabelHeaderComponentH2-bold
id: figma_98_59
// # "LabelHeaderComponentH2-bold"

View File

@ -1,153 +0,0 @@
//Generated by FigmaQML 3.2.1
import QtQuick
import QtQuick.Effects
import QtQuick.Shapes
import QtQuick.Controls
import QtQuick.Shapes
import FigmaQmlInterface
Rectangle {
// component (Instance) level: 0 FolderComponent
id: figma_98_54
// # "FolderComponent"
objectName:"FolderComponent"
x:0
y:0
width:266
height:243
color: "#fffcfbfe"
radius:33.25
clip: true
property Component delegate_98_55: Item {
// component (Instance) level: 0 Folder 1
id: figma_98_55
// # "Folder 1"
objectName:"Folder 1"
x:0
y:50
width:266
height:196.383
MultiEffect {
maskEnabled: true
anchors.fill:parent
source: source_figma_98_55
maskSource: maskSource_figma_98_55
}
Image {
id: source_figma_98_55
layer.enabled: true
fillMode: Image.PreserveAspectCrop
visible: false
mipmap: true
anchors.fill:parent
source: "images/2f16aa7c1fce22dea11dc59bd1e521a7a653e18e.png"
}
Shape {
id: maskSource_figma_98_55
anchors.fill: parent
layer.enabled: true
visible: false
ShapePath {
strokeColor: "transparent"
strokeWidth:0.519531
fillColor:"black"
fillRule: ShapePath.WindingFill
PathSvg {
path: "M0 0L266 0L266 196.383L0 196.383L0 0Z"
}
}
}
Shape {
anchors.fill: parent
ShapePath {
strokeColor: "transparent"
strokeWidth:0.519531
fillColor:"#00000000"
// component (shapeFill) level: 0
id: svgpath_figma_98_55
fillRule: ShapePath.WindingFill
PathSvg {
id: path_0_figma_98_55
path: "M0 0L266 0L266 196.383L0 196.383L0 0Z"
}
}
}
property alias path: path_0_figma_98_55.path
}
property Item i_delegate_98_55
property matrix4x4 delegate_98_55_transform: Qt.matrix4x4(Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,)
onDelegate_98_55_transformChanged: {if(i_delegate_98_55 && i_delegate_98_55.transform != delegate_98_55_transform) i_delegate_98_55.transform = delegate_98_55_transform;}
property real delegate_98_55_x: NaN
onDelegate_98_55_xChanged: {if(i_delegate_98_55 && i_delegate_98_55.x != delegate_98_55_x) i_delegate_98_55.x = delegate_98_55_x;}
property real delegate_98_55_y: NaN
onDelegate_98_55_yChanged: {if(i_delegate_98_55 && i_delegate_98_55.y != delegate_98_55_y) i_delegate_98_55.y = delegate_98_55_y;}
property real delegate_98_55_width: NaN
onDelegate_98_55_widthChanged: {if(i_delegate_98_55 && i_delegate_98_55.width != delegate_98_55_width) i_delegate_98_55.width = delegate_98_55_width;}
property real delegate_98_55_height: NaN
onDelegate_98_55_heightChanged: {if(i_delegate_98_55 && i_delegate_98_55.height != delegate_98_55_height) i_delegate_98_55.height = delegate_98_55_height;}
property Component delegate_98_56: LabelHeaderComponentH2_bold45_figma {
// component (Instance) level: 0 LabelHeaderComponentH2-bold
id: figma_98_56
// # "LabelHeaderComponentH2-bold"
objectName:"LabelHeaderComponentH2-bold"
x:19
y:121
width:171
height:31.0351
Text {
// component (Instance) level: 1 Label
id: figma_i98_56_618_361
// # "Label"
objectName:"Label"
x:0
y:0
width:209
height:31
color:"#ff000000"
wrapMode: TextEdit.WordWrap
text:"ПапкаПроектов"
font.family: "Tahoma"
font.italic: false
font.letterSpacing: 0
font.pixelSize: 26
font.weight: Font.DemiBold
horizontalAlignment: Text.AlignLeft
verticalAlignment: Text.AlignTop
}
}
property Item i_delegate_98_56
property matrix4x4 delegate_98_56_transform: Qt.matrix4x4(Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,)
onDelegate_98_56_transformChanged: {if(i_delegate_98_56 && i_delegate_98_56.transform != delegate_98_56_transform) i_delegate_98_56.transform = delegate_98_56_transform;}
property real delegate_98_56_x: NaN
onDelegate_98_56_xChanged: {if(i_delegate_98_56 && i_delegate_98_56.x != delegate_98_56_x) i_delegate_98_56.x = delegate_98_56_x;}
property real delegate_98_56_y: NaN
onDelegate_98_56_yChanged: {if(i_delegate_98_56 && i_delegate_98_56.y != delegate_98_56_y) i_delegate_98_56.y = delegate_98_56_y;}
property real delegate_98_56_width: NaN
onDelegate_98_56_widthChanged: {if(i_delegate_98_56 && i_delegate_98_56.width != delegate_98_56_width) i_delegate_98_56.width = delegate_98_56_width;}
property real delegate_98_56_height: NaN
onDelegate_98_56_heightChanged: {if(i_delegate_98_56 && i_delegate_98_56.height != delegate_98_56_height) i_delegate_98_56.height = delegate_98_56_height;}
Component.onCompleted: {
const o_delegate_98_55 = {}
if(!isNaN(delegate_98_55_transform.m11)) o_delegate_98_55['transform'] = delegate_98_55_transform;
if(!isNaN(delegate_98_55_x)) o_delegate_98_55['x'] = delegate_98_55_x;
if(!isNaN(delegate_98_55_y)) o_delegate_98_55['y'] = delegate_98_55_y;
if(!isNaN(delegate_98_55_width)) o_delegate_98_55['width'] = delegate_98_55_width;
if(!isNaN(delegate_98_55_height)) o_delegate_98_55['height'] = delegate_98_55_height;
i_delegate_98_55 = delegate_98_55.createObject(this, o_delegate_98_55)
delegate_98_55_x = Qt.binding(()=>i_delegate_98_55.x)
delegate_98_55_y = Qt.binding(()=>i_delegate_98_55.y)
delegate_98_55_width = Qt.binding(()=>i_delegate_98_55.width)
delegate_98_55_height = Qt.binding(()=>i_delegate_98_55.height)
const o_delegate_98_56 = {}
if(!isNaN(delegate_98_56_transform.m11)) o_delegate_98_56['transform'] = delegate_98_56_transform;
if(!isNaN(delegate_98_56_x)) o_delegate_98_56['x'] = delegate_98_56_x;
if(!isNaN(delegate_98_56_y)) o_delegate_98_56['y'] = delegate_98_56_y;
if(!isNaN(delegate_98_56_width)) o_delegate_98_56['width'] = delegate_98_56_width;
if(!isNaN(delegate_98_56_height)) o_delegate_98_56['height'] = delegate_98_56_height;
i_delegate_98_56 = delegate_98_56.createObject(this, o_delegate_98_56)
delegate_98_56_x = Qt.binding(()=>i_delegate_98_56.x)
delegate_98_56_y = Qt.binding(()=>i_delegate_98_56.y)
delegate_98_56_width = Qt.binding(()=>i_delegate_98_56.width)
delegate_98_56_height = Qt.binding(()=>i_delegate_98_56.height)
}
}

View File

@ -85,7 +85,7 @@ Rectangle {
onDelegate_98_55_widthChanged: {if(i_delegate_98_55 && i_delegate_98_55.width != delegate_98_55_width) i_delegate_98_55.width = delegate_98_55_width;}
property real delegate_98_55_height: NaN
onDelegate_98_55_heightChanged: {if(i_delegate_98_55 && i_delegate_98_55.height != delegate_98_55_height) i_delegate_98_55.height = delegate_98_55_height;}
property Component delegate_98_56: LabelHeaderComponentH2_bold45_figma {
property Component delegate_98_56: LabelHeaderComponentH2_bold48_figma {
// component (Instance) level: 0 LabelHeaderComponentH2-bold
id: figma_98_56
// # "LabelHeaderComponentH2-bold"

View File

@ -1,64 +0,0 @@
//Generated by FigmaQML 3.2.1
import QtQuick
import QtQuick.Effects
import QtQuick.Shapes
import QtQuick.Controls
import QtQuick.Shapes
import FigmaQmlInterface
Rectangle {
// component (Instance) level: 0 HeaderValueComponent
id: figma_269_178
// # "HeaderValueComponent"
objectName:"HeaderValueComponent"
x:0
y:0
width:54
height:13
color:"#00ffffff"
clip: false
property Component delegate_269_179: Text {
// component (Instance) level: 0 Label
id: figma_269_179
// # "Label"
objectName:"Label"
x:0
y:0
width:54
height:13
color:"#ff7d7e82"
wrapMode: TextEdit.WordWrap
text:"Свободно"
font.family: "Tahoma"
font.italic: false
font.letterSpacing: 0
font.pixelSize: 11
font.weight: Font.Normal
horizontalAlignment: Text.AlignLeft
verticalAlignment: Text.AlignTop
}
property Item i_delegate_269_179
property matrix4x4 delegate_269_179_transform: Qt.matrix4x4(Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,)
onDelegate_269_179_transformChanged: {if(i_delegate_269_179 && i_delegate_269_179.transform != delegate_269_179_transform) i_delegate_269_179.transform = delegate_269_179_transform;}
property real delegate_269_179_x: NaN
onDelegate_269_179_xChanged: {if(i_delegate_269_179 && i_delegate_269_179.x != delegate_269_179_x) i_delegate_269_179.x = delegate_269_179_x;}
property real delegate_269_179_y: NaN
onDelegate_269_179_yChanged: {if(i_delegate_269_179 && i_delegate_269_179.y != delegate_269_179_y) i_delegate_269_179.y = delegate_269_179_y;}
property real delegate_269_179_width: NaN
onDelegate_269_179_widthChanged: {if(i_delegate_269_179 && i_delegate_269_179.width != delegate_269_179_width) i_delegate_269_179.width = delegate_269_179_width;}
property real delegate_269_179_height: NaN
onDelegate_269_179_heightChanged: {if(i_delegate_269_179 && i_delegate_269_179.height != delegate_269_179_height) i_delegate_269_179.height = delegate_269_179_height;}
Component.onCompleted: {
const o_delegate_269_179 = {}
if(!isNaN(delegate_269_179_transform.m11)) o_delegate_269_179['transform'] = delegate_269_179_transform;
if(!isNaN(delegate_269_179_x)) o_delegate_269_179['x'] = delegate_269_179_x;
if(!isNaN(delegate_269_179_y)) o_delegate_269_179['y'] = delegate_269_179_y;
if(!isNaN(delegate_269_179_width)) o_delegate_269_179['width'] = delegate_269_179_width;
if(!isNaN(delegate_269_179_height)) o_delegate_269_179['height'] = delegate_269_179_height;
i_delegate_269_179 = delegate_269_179.createObject(this, o_delegate_269_179)
delegate_269_179_x = Qt.binding(()=>i_delegate_269_179.x)
delegate_269_179_y = Qt.binding(()=>i_delegate_269_179.y)
delegate_269_179_width = Qt.binding(()=>i_delegate_269_179.width)
delegate_269_179_height = Qt.binding(()=>i_delegate_269_179.height)
}
}

View File

@ -1,182 +0,0 @@
//Generated by FigmaQML 3.2.1
import QtQuick
import QtQuick.Effects
import QtQuick.Shapes
import QtQuick.Controls
import QtQuick.Shapes
import FigmaQmlInterface
Rectangle {
// component (Instance) level: 0 InputComponent
id: figma_219_72
// # "InputComponent"
objectName:"InputComponent"
x:0
y:0
width:231
height:40
color: "transparent"
clip: false
property Component delegate_219_73: Text {
// component (Instance) level: 0 Label
id: figma_219_73
// # "Label"
objectName:"Label"
x:0
y:0
width:231
height:13
color:"#ff302f38"
wrapMode: TextEdit.WordWrap
text:"Имя проекта"
font.family: "Tahoma"
font.italic: false
font.letterSpacing: 0
font.pixelSize: 11
font.weight: Font.Normal
horizontalAlignment: Text.AlignLeft
verticalAlignment: Text.AlignTop
}
property Item i_delegate_219_73
property matrix4x4 delegate_219_73_transform: Qt.matrix4x4(Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,)
onDelegate_219_73_transformChanged: {if(i_delegate_219_73 && i_delegate_219_73.transform != delegate_219_73_transform) i_delegate_219_73.transform = delegate_219_73_transform;}
property real delegate_219_73_x: NaN
onDelegate_219_73_xChanged: {if(i_delegate_219_73 && i_delegate_219_73.x != delegate_219_73_x) i_delegate_219_73.x = delegate_219_73_x;}
property real delegate_219_73_y: NaN
onDelegate_219_73_yChanged: {if(i_delegate_219_73 && i_delegate_219_73.y != delegate_219_73_y) i_delegate_219_73.y = delegate_219_73_y;}
property real delegate_219_73_width: NaN
onDelegate_219_73_widthChanged: {if(i_delegate_219_73 && i_delegate_219_73.width != delegate_219_73_width) i_delegate_219_73.width = delegate_219_73_width;}
property real delegate_219_73_height: NaN
onDelegate_219_73_heightChanged: {if(i_delegate_219_73 && i_delegate_219_73.height != delegate_219_73_height) i_delegate_219_73.height = delegate_219_73_height;}
property Component delegate_219_155: Rectangle {
// component (Instance) level: 0 Frame 798
id: figma_219_155
// # "Frame 798"
objectName:"Frame 798"
x:0
y:17
width:231
height:23
color: "transparent"
radius:5
clip: false
Shape {
anchors.fill: parent
ShapePath {
strokeColor: Qt.rgba(0, 0, 0, 1)
strokeWidth: 1
fillColor: "transparent"
PathMove { x: 5; y: 0 }
PathLine { x: 5; y: 0.5 }
PathLine { x: 226; y: 0.5 }
PathLine { x: 226; y: 0 }
PathLine { x: 226; y: -0.5 }
PathLine { x: 5; y: -0.5 }
PathLine { x: 5; y: 0 }
PathMove { x: 231; y: 5 }
PathLine { x: 230.5; y: 5 }
PathLine { x: 230.5; y: 18 }
PathLine { x: 231; y: 18 }
PathLine { x: 231.5; y: 18 }
PathLine { x: 231.5; y: 5 }
PathLine { x: 231; y: 5 }
PathMove { x: 226; y: 23 }
PathLine { x: 226; y: 22.5 }
PathLine { x: 5; y: 22.5 }
PathLine { x: 5; y: 23 }
PathLine { x: 5; y: 23.5 }
PathLine { x: 226; y: 23.5 }
PathLine { x: 226; y: 23 }
PathMove { x: 0; y: 18 }
PathLine { x: 0.5; y: 18 }
PathLine { x: 0.5; y: 5 }
PathLine { x: 0; y: 5 }
PathLine { x: -0.5; y: 5 }
PathLine { x: -0.5; y: 18 }
PathLine { x: 0; y: 18 }
PathMove { x: 5; y: 23 }
PathLine { x: 5; y: 22.5 }
PathCubic { control1X: 2.51472; control1Y: 22.5; control2X: 0.5; control2Y: 20.4853; x: 0.5; y: 18 }
PathLine { x: 0; y: 18 }
PathLine { x: -0.5; y: 18 }
PathCubic { control1X: -0.5; control1Y: 21.0376; control2X: 1.96243; control2Y: 23.5; x: 5; y: 23.5 }
PathLine { x: 5; y: 23 }
PathMove { x: 231; y: 18 }
PathLine { x: 230.5; y: 18 }
PathCubic { control1X: 230.5; control1Y: 20.4853; control2X: 228.485; control2Y: 22.5; x: 226; y: 22.5 }
PathLine { x: 226; y: 23 }
PathLine { x: 226; y: 23.5 }
PathCubic { control1X: 229.038; control1Y: 23.5; control2X: 231.5; control2Y: 21.0376; x: 231.5; y: 18 }
PathLine { x: 231; y: 18 }
PathMove { x: 226; y: 0 }
PathLine { x: 226; y: 0.5 }
PathCubic { control1X: 228.485; control1Y: 0.5; control2X: 230.5; control2Y: 2.51472; x: 230.5; y: 5 }
PathLine { x: 231; y: 5 }
PathLine { x: 231.5; y: 5 }
PathCubic { control1X: 231.5; control1Y: 1.96243; control2X: 229.038; control2Y: -0.5; x: 226; y: -0.5 }
PathLine { x: 226; y: 0 }
PathMove { x: 5; y: 0 }
PathLine { x: 5; y: -0.5 }
PathCubic { control1X: 1.96243; control1Y: -0.5; control2X: -0.5; control2Y: 1.96243; x: -0.5; y: 5 }
PathLine { x: 0; y: 5 }
PathLine { x: 0.5; y: 5 }
PathCubic { control1X: 0.5; control1Y: 2.51472; control2X: 2.51472; control2Y: 0.5; x: 5; y: 0.5 }
PathLine { x: 5; y: 0 }
}}
TextField {
// component (Instance) level: 0 TextField
id: figma_219_74
// # "TextField"
objectName:"TextField"
x:3
y:0
width:225
height:23
color:"#ff7d7e82"
wrapMode: TextEdit.WordWrap
text:"1"
background: Rectangle {color: "transparent"} font.family: "Tahoma"
font.italic: false
font.letterSpacing: 0
font.pixelSize: 16
font.weight: Font.Normal
horizontalAlignment: Text.AlignLeft
verticalAlignment: Text.AlignVCenter
}
}
property Item i_delegate_219_155
property matrix4x4 delegate_219_155_transform: Qt.matrix4x4(Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,)
onDelegate_219_155_transformChanged: {if(i_delegate_219_155 && i_delegate_219_155.transform != delegate_219_155_transform) i_delegate_219_155.transform = delegate_219_155_transform;}
property real delegate_219_155_x: NaN
onDelegate_219_155_xChanged: {if(i_delegate_219_155 && i_delegate_219_155.x != delegate_219_155_x) i_delegate_219_155.x = delegate_219_155_x;}
property real delegate_219_155_y: NaN
onDelegate_219_155_yChanged: {if(i_delegate_219_155 && i_delegate_219_155.y != delegate_219_155_y) i_delegate_219_155.y = delegate_219_155_y;}
property real delegate_219_155_width: NaN
onDelegate_219_155_widthChanged: {if(i_delegate_219_155 && i_delegate_219_155.width != delegate_219_155_width) i_delegate_219_155.width = delegate_219_155_width;}
property real delegate_219_155_height: NaN
onDelegate_219_155_heightChanged: {if(i_delegate_219_155 && i_delegate_219_155.height != delegate_219_155_height) i_delegate_219_155.height = delegate_219_155_height;}
Component.onCompleted: {
const o_delegate_219_73 = {}
if(!isNaN(delegate_219_73_transform.m11)) o_delegate_219_73['transform'] = delegate_219_73_transform;
if(!isNaN(delegate_219_73_x)) o_delegate_219_73['x'] = delegate_219_73_x;
if(!isNaN(delegate_219_73_y)) o_delegate_219_73['y'] = delegate_219_73_y;
if(!isNaN(delegate_219_73_width)) o_delegate_219_73['width'] = delegate_219_73_width;
if(!isNaN(delegate_219_73_height)) o_delegate_219_73['height'] = delegate_219_73_height;
i_delegate_219_73 = delegate_219_73.createObject(this, o_delegate_219_73)
delegate_219_73_x = Qt.binding(()=>i_delegate_219_73.x)
delegate_219_73_y = Qt.binding(()=>i_delegate_219_73.y)
delegate_219_73_width = Qt.binding(()=>i_delegate_219_73.width)
delegate_219_73_height = Qt.binding(()=>i_delegate_219_73.height)
const o_delegate_219_155 = {}
if(!isNaN(delegate_219_155_transform.m11)) o_delegate_219_155['transform'] = delegate_219_155_transform;
if(!isNaN(delegate_219_155_x)) o_delegate_219_155['x'] = delegate_219_155_x;
if(!isNaN(delegate_219_155_y)) o_delegate_219_155['y'] = delegate_219_155_y;
if(!isNaN(delegate_219_155_width)) o_delegate_219_155['width'] = delegate_219_155_width;
if(!isNaN(delegate_219_155_height)) o_delegate_219_155['height'] = delegate_219_155_height;
i_delegate_219_155 = delegate_219_155.createObject(this, o_delegate_219_155)
delegate_219_155_x = Qt.binding(()=>i_delegate_219_155.x)
delegate_219_155_y = Qt.binding(()=>i_delegate_219_155.y)
delegate_219_155_width = Qt.binding(()=>i_delegate_219_155.width)
delegate_219_155_height = Qt.binding(()=>i_delegate_219_155.height)
}
}

View File

@ -1,22 +0,0 @@
//Generated by FigmaQML 3.2.1
import QtQuick
import QtQuick.Effects
import QtQuick.Shapes
import QtQuick.Controls
import QtQuick.Shapes
import FigmaQmlInterface
Rectangle {
// component (Instance) level: 0 LabelComponent
id: figma_94_20
// # "LabelComponent"
objectName:"LabelComponent"
x:0
y:0
width:146
height:19
color:"#00ffffff"
clip: false
Component.onCompleted: {
}
}

View File

@ -1,22 +0,0 @@
//Generated by FigmaQML 3.2.1
import QtQuick
import QtQuick.Effects
import QtQuick.Shapes
import QtQuick.Controls
import QtQuick.Shapes
import FigmaQmlInterface
Rectangle {
// component (Instance) level: 0 LabelHeaderComponentH1
id: figma_94_18
// # "LabelHeaderComponentH1"
objectName:"LabelHeaderComponentH1"
x:0
y:0
width:128
height:39
color:"#00ffffff"
clip: false
Component.onCompleted: {
}
}

View File

@ -1,64 +0,0 @@
//Generated by FigmaQML 3.2.1
import QtQuick
import QtQuick.Effects
import QtQuick.Shapes
import QtQuick.Controls
import QtQuick.Shapes
import FigmaQmlInterface
Rectangle {
// component (Instance) level: 0 LabelHeaderComponentH2-bold
id: figma_269_147
// # "LabelHeaderComponentH2-bold"
objectName:"LabelHeaderComponentH2-bold"
x:0
y:0
width:171
height:31
color:"#00ffffff"
clip: false
property Component delegate_269_148: Text {
// component (Instance) level: 0 Label
id: figma_269_148
// # "Label"
objectName:"Label"
x:0
y:0
width:171
height:31
color:"#ff000000"
wrapMode: TextEdit.WordWrap
text:"Информация"
font.family: "Tahoma"
font.italic: false
font.letterSpacing: 0
font.pixelSize: 26
font.weight: Font.DemiBold
horizontalAlignment: Text.AlignLeft
verticalAlignment: Text.AlignTop
}
property Item i_delegate_269_148
property matrix4x4 delegate_269_148_transform: Qt.matrix4x4(Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,)
onDelegate_269_148_transformChanged: {if(i_delegate_269_148 && i_delegate_269_148.transform != delegate_269_148_transform) i_delegate_269_148.transform = delegate_269_148_transform;}
property real delegate_269_148_x: NaN
onDelegate_269_148_xChanged: {if(i_delegate_269_148 && i_delegate_269_148.x != delegate_269_148_x) i_delegate_269_148.x = delegate_269_148_x;}
property real delegate_269_148_y: NaN
onDelegate_269_148_yChanged: {if(i_delegate_269_148 && i_delegate_269_148.y != delegate_269_148_y) i_delegate_269_148.y = delegate_269_148_y;}
property real delegate_269_148_width: NaN
onDelegate_269_148_widthChanged: {if(i_delegate_269_148 && i_delegate_269_148.width != delegate_269_148_width) i_delegate_269_148.width = delegate_269_148_width;}
property real delegate_269_148_height: NaN
onDelegate_269_148_heightChanged: {if(i_delegate_269_148 && i_delegate_269_148.height != delegate_269_148_height) i_delegate_269_148.height = delegate_269_148_height;}
Component.onCompleted: {
const o_delegate_269_148 = {}
if(!isNaN(delegate_269_148_transform.m11)) o_delegate_269_148['transform'] = delegate_269_148_transform;
if(!isNaN(delegate_269_148_x)) o_delegate_269_148['x'] = delegate_269_148_x;
if(!isNaN(delegate_269_148_y)) o_delegate_269_148['y'] = delegate_269_148_y;
if(!isNaN(delegate_269_148_width)) o_delegate_269_148['width'] = delegate_269_148_width;
if(!isNaN(delegate_269_148_height)) o_delegate_269_148['height'] = delegate_269_148_height;
i_delegate_269_148 = delegate_269_148.createObject(this, o_delegate_269_148)
delegate_269_148_x = Qt.binding(()=>i_delegate_269_148.x)
delegate_269_148_y = Qt.binding(()=>i_delegate_269_148.y)
delegate_269_148_width = Qt.binding(()=>i_delegate_269_148.width)
delegate_269_148_height = Qt.binding(()=>i_delegate_269_148.height)
}
}

View File

@ -1,64 +0,0 @@
//Generated by FigmaQML 3.2.1
import QtQuick
import QtQuick.Effects
import QtQuick.Shapes
import QtQuick.Controls
import QtQuick.Shapes
import FigmaQmlInterface
Rectangle {
// component (Instance) level: 0 LabelHeaderComponentH3
id: figma_269_166
// # "LabelHeaderComponentH3"
objectName:"LabelHeaderComponentH3"
x:0
y:0
width:110
height:20
color:"#00ffffff"
clip: false
property Component delegate_269_167: Text {
// component (Instance) level: 0 Label
id: figma_269_167
// # "Label"
objectName:"Label"
x:0
y:0
width:110
height:20
color:"#ff000000"
wrapMode: TextEdit.WordWrap
text:"Информация"
font.family: "Tahoma"
font.italic: false
font.letterSpacing: 0
font.pixelSize: 16
font.weight: Font.DemiBold
horizontalAlignment: Text.AlignLeft
verticalAlignment: Text.AlignTop
}
property Item i_delegate_269_167
property matrix4x4 delegate_269_167_transform: Qt.matrix4x4(Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,)
onDelegate_269_167_transformChanged: {if(i_delegate_269_167 && i_delegate_269_167.transform != delegate_269_167_transform) i_delegate_269_167.transform = delegate_269_167_transform;}
property real delegate_269_167_x: NaN
onDelegate_269_167_xChanged: {if(i_delegate_269_167 && i_delegate_269_167.x != delegate_269_167_x) i_delegate_269_167.x = delegate_269_167_x;}
property real delegate_269_167_y: NaN
onDelegate_269_167_yChanged: {if(i_delegate_269_167 && i_delegate_269_167.y != delegate_269_167_y) i_delegate_269_167.y = delegate_269_167_y;}
property real delegate_269_167_width: NaN
onDelegate_269_167_widthChanged: {if(i_delegate_269_167 && i_delegate_269_167.width != delegate_269_167_width) i_delegate_269_167.width = delegate_269_167_width;}
property real delegate_269_167_height: NaN
onDelegate_269_167_heightChanged: {if(i_delegate_269_167 && i_delegate_269_167.height != delegate_269_167_height) i_delegate_269_167.height = delegate_269_167_height;}
Component.onCompleted: {
const o_delegate_269_167 = {}
if(!isNaN(delegate_269_167_transform.m11)) o_delegate_269_167['transform'] = delegate_269_167_transform;
if(!isNaN(delegate_269_167_x)) o_delegate_269_167['x'] = delegate_269_167_x;
if(!isNaN(delegate_269_167_y)) o_delegate_269_167['y'] = delegate_269_167_y;
if(!isNaN(delegate_269_167_width)) o_delegate_269_167['width'] = delegate_269_167_width;
if(!isNaN(delegate_269_167_height)) o_delegate_269_167['height'] = delegate_269_167_height;
i_delegate_269_167 = delegate_269_167.createObject(this, o_delegate_269_167)
delegate_269_167_x = Qt.binding(()=>i_delegate_269_167.x)
delegate_269_167_y = Qt.binding(()=>i_delegate_269_167.y)
delegate_269_167_width = Qt.binding(()=>i_delegate_269_167.width)
delegate_269_167_height = Qt.binding(()=>i_delegate_269_167.height)
}
}

View File

@ -1,22 +0,0 @@
//Generated by FigmaQML 3.2.1
import QtQuick
import QtQuick.Effects
import QtQuick.Shapes
import QtQuick.Controls
import QtQuick.Shapes
import FigmaQmlInterface
Rectangle {
// component (Instance) level: 0 LabelHeaderComponentH3
id: figma_94_10
// # "LabelHeaderComponentH3"
objectName:"LabelHeaderComponentH3"
x:0
y:0
width:110
height:20
color:"#00ffffff"
clip: false
Component.onCompleted: {
}
}

View File

@ -0,0 +1,23 @@
//Generated by FigmaQML 3.2.1
import QtQuick
import QtQuick.Effects
import QtQuick.Shapes
import QtQuick.Controls
import QtQuick.Shapes
import FigmaQmlInterface
Rectangle {
// component (Instance) level: 0 ProgressTranslateCancelButton
id: figma_443_32
// # "ProgressTranslateCancelButton"
objectName:"ProgressTranslateCancelButton"
x:0
y:0
width:244
height:31
color:"#ff8b6ef5"
radius:30
clip: true
Component.onCompleted: {
}
}

View File

@ -120,7 +120,7 @@ Rectangle {
verticalAlignment: Text.AlignTop
}
}
InputComponent27_figma {
InputComponent29_figma {
// component (Instance) level: 0 InputComponent
id: figma_219_169
// # "InputComponent"

View File

@ -18,7 +18,7 @@ Rectangle {
color:"#ffffffff"
clip: true
LabelComponent18_figma {
LabelComponent22_figma {
// component (Instance) level: 0 ProgressTransformLabelItem
id: figma_94_98
// # "ProgressTransformLabelItem"
@ -64,52 +64,52 @@ ShapePath {
strokeWidth: 2
fillColor: "transparent"
PathMove { x: 0; y: 0 }
PathLine { x: 0; y: -2 }
PathLine { x: -2; y: -2 }
PathLine { x: -2; y: 0 }
PathLine { x: 0; y: -1 }
PathLine { x: -1; y: -1 }
PathLine { x: -1; y: 0 }
PathLine { x: 0; y: 0 }
PathMove { x: 249; y: 0 }
PathLine { x: 251; y: 0 }
PathLine { x: 251; y: -2 }
PathLine { x: 249; y: -2 }
PathLine { x: 250; y: 0 }
PathLine { x: 250; y: -1 }
PathLine { x: 249; y: -1 }
PathLine { x: 249; y: 0 }
PathMove { x: 249; y: 22 }
PathLine { x: 249; y: 24 }
PathLine { x: 251; y: 24 }
PathLine { x: 251; y: 22 }
PathLine { x: 249; y: 23 }
PathLine { x: 250; y: 23 }
PathLine { x: 250; y: 22 }
PathLine { x: 249; y: 22 }
PathMove { x: 0; y: 22 }
PathLine { x: -2; y: 22 }
PathLine { x: -2; y: 24 }
PathLine { x: 0; y: 24 }
PathLine { x: -1; y: 22 }
PathLine { x: -1; y: 23 }
PathLine { x: 0; y: 23 }
PathLine { x: 0; y: 22 }
PathMove { x: 0; y: 0 }
PathLine { x: 0; y: 2 }
PathLine { x: 249; y: 2 }
PathLine { x: 0; y: 1 }
PathLine { x: 249; y: 1 }
PathLine { x: 249; y: 0 }
PathLine { x: 249; y: -2 }
PathLine { x: 0; y: -2 }
PathLine { x: 249; y: -1 }
PathLine { x: 0; y: -1 }
PathLine { x: 0; y: 0 }
PathMove { x: 249; y: 0 }
PathLine { x: 247; y: 0 }
PathLine { x: 247; y: 22 }
PathLine { x: 248; y: 0 }
PathLine { x: 248; y: 22 }
PathLine { x: 249; y: 22 }
PathLine { x: 251; y: 22 }
PathLine { x: 251; y: 0 }
PathLine { x: 250; y: 22 }
PathLine { x: 250; y: 0 }
PathLine { x: 249; y: 0 }
PathMove { x: 249; y: 22 }
PathLine { x: 249; y: 20 }
PathLine { x: 0; y: 20 }
PathLine { x: 249; y: 21 }
PathLine { x: 0; y: 21 }
PathLine { x: 0; y: 22 }
PathLine { x: 0; y: 24 }
PathLine { x: 249; y: 24 }
PathLine { x: 0; y: 23 }
PathLine { x: 249; y: 23 }
PathLine { x: 249; y: 22 }
PathMove { x: 0; y: 22 }
PathLine { x: 2; y: 22 }
PathLine { x: 2; y: 0 }
PathLine { x: 1; y: 22 }
PathLine { x: 1; y: 0 }
PathLine { x: 0; y: 0 }
PathLine { x: -2; y: 0 }
PathLine { x: -2; y: 22 }
PathLine { x: -1; y: 0 }
PathLine { x: -1; y: 22 }
PathLine { x: 0; y: 22 }
}}
Rectangle {
@ -140,10 +140,10 @@ PathLine { x: 0; y: 22 }
clip: true
Text {
// component (Instance) level: 0 Отменить
// component (Instance) level: 0 CancelLabel
id: figma_94_102
// # "Отменить"
objectName:"Отменить"
// # "CancelLabel"
objectName:"CancelLabel"
x: (figma_94_101.width - width) / 2
y: (figma_94_101.height - height) / 2
width:78

View File

@ -0,0 +1,297 @@
//Generated by FigmaQML 3.2.1
import QtQuick
import QtQuick.Effects
import QtQuick.Shapes
import QtQuick.Controls
import QtQuick.Shapes
import FigmaQmlInterface
Rectangle {
// component (Instance) level: 0 ColumnLeft-resultTranslatePasport
id: figma_443_34
// # "ColumnLeft-resultTranslatePasport"
objectName:"ColumnLeft-resultTranslatePasport"
x:0
y:0
width:344
height:607
color:"#ffffffff"
clip: true
Rectangle {
// component (Instance) level: 0 Frame 798
id: figma_443_35
// # "Frame 798"
objectName:"Frame 798"
x:0
y:0
width:344
height:31
color:"#ffeeeaea"
clip: true
LabelComponent22_figma {
// component (Instance) level: 0 LabelComponent
id: figma_443_36
// # "LabelComponent"
objectName:"LabelComponent"
x:14
y:6
width:316
height:19
Text {
// component (Instance) level: 1 Label
id: figma_i443_36_613_450
// # "Label"
objectName:"Label"
x:124
y:0
width:67
height:19
color:"#ff000000"
wrapMode: TextEdit.WordWrap
text:"Паспорт"
font.family: "Tahoma"
font.italic: false
font.letterSpacing: 0
font.pixelSize: 16
font.weight: Font.Normal
horizontalAlignment: Text.AlignLeft
verticalAlignment: Text.AlignTop
}
}
}
ProgressTranslateCancelButton28_figma {
// component (Instance) level: 0 ShowProjectButton
id: figma_443_37
// # "ShowProjectButton"
objectName:"ShowProjectButton"
x:26
y:512
width:272
height:30
Text {
// component (Instance) level: 1 ShowLabel
id: figma_i443_37_652_314
// # "ShowLabel"
objectName:"ShowLabel"
x:83
y:5
width:106
height:19
color:"#ffffffff"
wrapMode: TextEdit.WordWrap
text:"Просмотреть"
font.family: "Tahoma"
font.italic: false
font.letterSpacing: 0
font.pixelSize: 16
font.weight: Font.Normal
horizontalAlignment: Text.AlignLeft
verticalAlignment: Text.AlignTop
}
}
ProgressTranslateCancelButton28_figma {
// component (Instance) level: 0 DeleteProjectButton
id: figma_443_38
// # "DeleteProjectButton"
objectName:"DeleteProjectButton"
x:26
y:555
width:272
height:30
color: "transparent"
Text {
// component (Instance) level: 1 RemoveLabel
id: figma_i443_38_652_314
// # "RemoveLabel"
objectName:"RemoveLabel"
x:103
y:5
width:65
height:19
color:"#ff110202"
wrapMode: TextEdit.WordWrap
text:"Удалить"
font.family: "Tahoma"
font.italic: false
font.letterSpacing: 0
font.pixelSize: 16
font.weight: Font.Normal
horizontalAlignment: Text.AlignLeft
verticalAlignment: Text.AlignTop
}
}
Rectangle {
// component (Instance) level: 0 Frame 803
id: figma_443_39
// # "Frame 803"
objectName:"Frame 803"
x:0
y:38
width:341
height:448
color: "transparent"
clip: false
Rectangle {
// component (Instance) level: 0 Frame 801
id: figma_443_40
// # "Frame 801"
objectName:"Frame 801"
x:4
y:0
width:333
height:19
color: "transparent"
clip: false
Text {
// component (Instance) level: 0 Label
id: figma_443_41
// # "Label"
objectName:"Label"
x:0
y:0
width:125
height:19
color:"#ff000000"
wrapMode: TextEdit.WordWrap
text:"Проект"
font.family: "Tahoma"
font.italic: false
font.letterSpacing: 0
font.pixelSize: 16
font.weight: Font.Normal
horizontalAlignment: Text.AlignLeft
verticalAlignment: Text.AlignTop
}
Text {
// component (Instance) level: 0 ProjecNameLabel
id: figma_443_42
// # "ProjecNameLabel"
objectName:"ProjecNameLabel"
x:125
y:0
width:208
height:19
color:"#ff000000"
wrapMode: TextEdit.WordWrap
text:"Краснокаменская"
font.family: "Tahoma"
font.italic: false
font.letterSpacing: 0
font.pixelSize: 16
font.weight: Font.Normal
horizontalAlignment: Text.AlignLeft
verticalAlignment: Text.AlignTop
}
}
Rectangle {
// component (Instance) level: 0 Frame 800
id: figma_443_43
// # "Frame 800"
objectName:"Frame 800"
x:4
y:25
width:333
height:19
color: "transparent"
clip: false
Text {
// component (Instance) level: 0 Label
id: figma_443_44
// # "Label"
objectName:"Label"
x:0
y:0
width:125
height:19
color:"#ff000000"
wrapMode: TextEdit.WordWrap
text:"Расположение"
font.family: "Tahoma"
font.italic: false
font.letterSpacing: 0
font.pixelSize: 16
font.weight: Font.Normal
horizontalAlignment: Text.AlignLeft
verticalAlignment: Text.AlignTop
}
Text {
// component (Instance) level: 0 ProjectPathLabel
id: figma_443_45
// # "ProjectPathLabel"
objectName:"ProjectPathLabel"
x:125
y:0
width:208
height:19
color:"#ff000000"
wrapMode: TextEdit.WordWrap
text:"D:\Projects\Qt"
font.family: "Tahoma"
font.italic: false
font.letterSpacing: 0
font.pixelSize: 16
font.weight: Font.Normal
horizontalAlignment: Text.AlignLeft
verticalAlignment: Text.AlignTop
}
}
Rectangle {
// component (Instance) level: 0 Frame 802
id: figma_443_46
// # "Frame 802"
objectName:"Frame 802"
x:4
y:50
width:333
height:19
color: "transparent"
clip: false
Text {
// component (Instance) level: 0 Label
id: figma_443_47
// # "Label"
objectName:"Label"
x:0
y:0
width:125
height:19
color:"#ff000000"
wrapMode: TextEdit.WordWrap
text:"Статус"
font.family: "Tahoma"
font.italic: false
font.letterSpacing: 0
font.pixelSize: 16
font.weight: Font.Normal
horizontalAlignment: Text.AlignLeft
verticalAlignment: Text.AlignTop
}
Text {
// component (Instance) level: 0 ProjectStatusLabel
id: figma_443_48
// # "ProjectStatusLabel"
objectName:"ProjectStatusLabel"
x:125
y:0
width:208
height:19
color:"#ff000000"
wrapMode: TextEdit.WordWrap
text:"не преобразован"
font.family: "Tahoma"
font.italic: false
font.letterSpacing: 0
font.pixelSize: 16
font.weight: Font.Normal
horizontalAlignment: Text.AlignLeft
verticalAlignment: Text.AlignTop
}
}
}
}

View File

@ -1,14 +0,0 @@
//Generated by FigmaQML 3.2.1
import QtQuick
import QtQuick.Effects
import QtQuick.Shapes
import QtQuick.Controls
import QtQuick.Shapes
import FigmaQmlInterface
FileComponent18_figma {
// component (Instance) level: 0 FileComponent
id: figma_98_57
// # "FileComponent"
objectName:"FileComponent"
}

View File

@ -6,7 +6,7 @@ import QtQuick.Shapes
import QtQuick.Controls
import QtQuick.Shapes
import FigmaQmlInterface
FileComponent18_figma {
FileComponent19_figma {
// component (Instance) level: 0 FileComponent
id: figma_98_57
// # "FileComponent"

View File

@ -6,7 +6,7 @@ import QtQuick.Shapes
import QtQuick.Controls
import QtQuick.Shapes
import FigmaQmlInterface
FolderComponent17_figma {
FolderComponent20_figma {
// component (Instance) level: 0 FolderComponent
id: figma_98_54
// # "FolderComponent"

View File

@ -6,7 +6,7 @@ import QtQuick.Shapes
import QtQuick.Controls
import QtQuick.Shapes
import FigmaQmlInterface
HeaderValueComponent25_figma {
HeaderValueComponent31_figma {
// component (Instance) level: 0 HeaderValueComponent
id: figma_269_178
// # "HeaderValueComponent"

View File

@ -6,7 +6,7 @@ import QtQuick.Shapes
import QtQuick.Controls
import QtQuick.Shapes
import FigmaQmlInterface
InputComponent27_figma {
InputComponent29_figma {
// component (Instance) level: 0 InputComponent
id: figma_219_72
// # "InputComponent"

View File

@ -1,14 +0,0 @@
//Generated by FigmaQML 3.2.1
import QtQuick
import QtQuick.Effects
import QtQuick.Shapes
import QtQuick.Controls
import QtQuick.Shapes
import FigmaQmlInterface
LabelHeaderComponentH2_bold44_figma {
// component (Instance) level: 0 LabelHeaderComponentH2-bold
id: figma_269_147
// # "LabelHeaderComponentH2-bold"
objectName:"LabelHeaderComponentH2-bold"
}

View File

@ -6,7 +6,7 @@ import QtQuick.Shapes
import QtQuick.Controls
import QtQuick.Shapes
import FigmaQmlInterface
LabelHeaderComponentH2_bold44_figma {
LabelHeaderComponentH2_bold47_figma {
// component (Instance) level: 0 LabelHeaderComponentH2-bold
id: figma_269_147
// # "LabelHeaderComponentH2-bold"

View File

@ -1,14 +0,0 @@
//Generated by FigmaQML 3.2.1
import QtQuick
import QtQuick.Effects
import QtQuick.Shapes
import QtQuick.Controls
import QtQuick.Shapes
import FigmaQmlInterface
LabelHeaderComponentH348_figma {
// component (Instance) level: 0 LabelHeaderComponentH3
id: figma_269_166
// # "LabelHeaderComponentH3"
objectName:"LabelHeaderComponentH3"
}

View File

@ -6,7 +6,7 @@ import QtQuick.Shapes
import QtQuick.Controls
import QtQuick.Shapes
import FigmaQmlInterface
LabelHeaderComponentH348_figma {
LabelHeaderComponentH355_figma {
// component (Instance) level: 0 LabelHeaderComponentH3
id: figma_269_166
// # "LabelHeaderComponentH3"

View File

@ -1,165 +0,0 @@
//Generated by FigmaQML 3.2.1
import QtQuick
import QtQuick.Effects
import QtQuick.Shapes
import QtQuick.Controls
import QtQuick.Shapes
import FigmaQmlInterface
Rectangle {
// component (Instance) level: 0 MainPage
id: figma_94_72
// # "MainPage"
objectName:"MainPage"
x:0
y:0
width:1096
height:900
color: "transparent"
clip: true
LabelHeaderComponentH122_figma {
// component (Instance) level: 0 MainPageHeader
id: figma_94_73
// # "MainPageHeader"
objectName:"MainPageHeader"
x:31
y:20
Text {
// component (Instance) level: 1 LabelHeader
id: figma_i94_73_613_438
// # "LabelHeader"
objectName:"LabelHeader"
x:0
y:0
width:128
height:39
color:"#ff000000"
wrapMode: TextEdit.WordWrap
text:"Главная"
font.family: "Tahoma"
font.italic: false
font.letterSpacing: 0
font.pixelSize: 32
font.weight: Font.Normal
horizontalAlignment: Text.AlignLeft
verticalAlignment: Text.AlignTop
}
}
Rectangle {
// component (Instance) level: 0 ButtonChooseFiles
id: figma_94_74
// # "ButtonChooseFiles"
objectName:"ButtonChooseFiles"
x:288
y:97
width:606
height:107
color:"#ff8b6ef5"
radius:30
clip: true
Text {
// component (Instance) level: 0 ButtomChooseFilesLabel
id: figma_94_75
// # "ButtomChooseFilesLabel"
objectName:"ButtomChooseFilesLabel"
x: (figma_94_74.width - width) / 2
y: (figma_94_74.height - height) / 2
width:246
height:39
color:"#ffffffff"
wrapMode: TextEdit.WordWrap
text:"Выбрать файлы"
font.family: "Tahoma"
font.italic: false
font.letterSpacing: 0
font.pixelSize: 32
font.weight: Font.Normal
horizontalAlignment: Text.AlignLeft
verticalAlignment: Text.AlignTop
}
}
Rectangle {
// component (Instance) level: 0 ContentMainPageTransform
id: figma_155_49
// # "ContentMainPageTransform"
objectName:"ContentMainPageTransform"
x:52
y:249
width:995
height:636
color: "transparent"
clip: false
Rectangle {
// component (Instance) level: 0 ColumnLeft
id: figma_94_76
// # "ColumnLeft"
objectName:"ColumnLeft"
x:0
y:29
width:316
height:607
color:"#ffffffff"
clip: true
}
Rectangle {
// component (Instance) level: 0 ColumnRight
id: figma_94_77
// # "ColumnRight"
objectName:"ColumnRight"
x:679
y:29
width:316
height:607
color:"#ffffffff"
clip: true
}
Rectangle {
// component (Instance) level: 0 ColumnCenter
id: figma_94_78
// # "ColumnCenter"
objectName:"ColumnCenter"
x:325
y:29
width:344
height:607
color:"#ffffffff"
clip: true
}
LabelComponent18_figma {
// component (Instance) level: 0 16
id: figma_94_79
// # "16"
objectName:"16"
x:0
y:0
width:158
height:19
Text {
// component (Instance) level: 1 ChosenFileCountLabel
id: figma_i94_79_613_450
// # "ChosenFileCountLabel"
objectName:"ChosenFileCountLabel"
x:0
y:0
width:158
height:19
color:"#ff000000"
wrapMode: TextEdit.WordWrap
text:"Выбрано файлов: 10"
font.family: "Tahoma"
font.italic: false
font.letterSpacing: 0
font.pixelSize: 16
font.weight: Font.Normal
horizontalAlignment: Text.AlignLeft
verticalAlignment: Text.AlignTop
}
}
}
}

View File

@ -18,7 +18,7 @@ Rectangle {
color: "transparent"
clip: true
LabelHeaderComponentH122_figma {
LabelHeaderComponentH124_figma {
// component (Instance) level: 0 MainPageHeader
id: figma_94_73
// # "MainPageHeader"
@ -131,7 +131,7 @@ Rectangle {
clip: true
}
LabelComponent18_figma {
LabelComponent22_figma {
// component (Instance) level: 0 16
id: figma_94_79
// # "16"

View File

@ -1,797 +0,0 @@
//Generated by FigmaQML 3.2.1
import QtQuick
import QtQuick.Effects
import QtQuick.Shapes
import QtQuick.Controls
import QtQuick.Shapes
import FigmaQmlInterface
Rectangle {
// component (Instance) level: 0 MainWindow
id: figma_94_32
// # "MainWindow"
objectName:"MainWindow"
x:0
y:0
width:1600
height:900
color:"#fffcfbfc"
clip: true
Rectangle {
// component (Instance) level: 0 PanelRight
id: figma_94_65
// # "PanelRight"
objectName:"PanelRight"
x:1317
y:0
width:283
height:900
color:"#ffffffff"
clip: false
LabelHeaderComponentH349_figma {
// component (Instance) level: 0 InformationHeader
id: figma_94_66
// # "InformationHeader"
objectName:"InformationHeader"
x:87
y:22
Text {
// component (Instance) level: 1 InformationHeaderLabel
id: figma_i94_66_613_430
// # "InformationHeaderLabel"
objectName:"InformationHeaderLabel"
x:0
y:0
width:110
height:20
color:"#ff000000"
wrapMode: TextEdit.WordWrap
text:"Информация"
font.family: "Tahoma"
font.italic: false
font.letterSpacing: 0
font.pixelSize: 16
font.weight: Font.DemiBold
horizontalAlignment: Text.AlignLeft
verticalAlignment: Text.AlignTop
}
}
Rectangle {
// component (Instance) level: 0 StorageInfoWidget
id: figma_94_67
// # "StorageInfoWidget"
objectName:"StorageInfoWidget"
x:21
y:64
width:242
height:111
color: "transparent"
radius:8
clip: false
Shape {
anchors.fill: parent
ShapePath {
strokeColor: Qt.rgba(0.964706, 0.964706, 0.964706, 1)
strokeWidth: 4
fillColor: "transparent"
PathMove { x: 8; y: 0 }
PathLine { x: 8; y: 2 }
PathLine { x: 234; y: 2 }
PathLine { x: 234; y: 0 }
PathLine { x: 234; y: -2 }
PathLine { x: 8; y: -2 }
PathLine { x: 8; y: 0 }
PathMove { x: 242; y: 8 }
PathLine { x: 240; y: 8 }
PathLine { x: 240; y: 103 }
PathLine { x: 242; y: 103 }
PathLine { x: 244; y: 103 }
PathLine { x: 244; y: 8 }
PathLine { x: 242; y: 8 }
PathMove { x: 234; y: 111 }
PathLine { x: 234; y: 109 }
PathLine { x: 8; y: 109 }
PathLine { x: 8; y: 111 }
PathLine { x: 8; y: 113 }
PathLine { x: 234; y: 113 }
PathLine { x: 234; y: 111 }
PathMove { x: 0; y: 103 }
PathLine { x: 2; y: 103 }
PathLine { x: 2; y: 8 }
PathLine { x: 0; y: 8 }
PathLine { x: -2; y: 8 }
PathLine { x: -2; y: 103 }
PathLine { x: 0; y: 103 }
PathMove { x: 8; y: 111 }
PathLine { x: 8; y: 109 }
PathCubic { control1X: 4.68629; control1Y: 109; control2X: 2; control2Y: 106.314; x: 2; y: 103 }
PathLine { x: 0; y: 103 }
PathLine { x: -2; y: 103 }
PathCubic { control1X: -2; control1Y: 108.523; control2X: 2.47716; control2Y: 113; x: 8; y: 113 }
PathLine { x: 8; y: 111 }
PathMove { x: 242; y: 103 }
PathLine { x: 240; y: 103 }
PathCubic { control1X: 240; control1Y: 106.314; control2X: 237.314; control2Y: 109; x: 234; y: 109 }
PathLine { x: 234; y: 111 }
PathLine { x: 234; y: 113 }
PathCubic { control1X: 239.523; control1Y: 113; control2X: 244; control2Y: 108.523; x: 244; y: 103 }
PathLine { x: 242; y: 103 }
PathMove { x: 234; y: 0 }
PathLine { x: 234; y: 2 }
PathCubic { control1X: 237.314; control1Y: 2; control2X: 240; control2Y: 4.68629; x: 240; y: 8 }
PathLine { x: 242; y: 8 }
PathLine { x: 244; y: 8 }
PathCubic { control1X: 244; control1Y: 2.47715; control2X: 239.523; control2Y: -2; x: 234; y: -2 }
PathLine { x: 234; y: 0 }
PathMove { x: 8; y: 0 }
PathLine { x: 8; y: -2 }
PathCubic { control1X: 2.47715; control1Y: -2; control2X: -2; control2Y: 2.47716; x: -2; y: 8 }
PathLine { x: 0; y: 8 }
PathLine { x: 2; y: 8 }
PathCubic { control1X: 2; control1Y: 4.68629; control2X: 4.68629; control2Y: 2; x: 8; y: 2 }
PathLine { x: 8; y: 0 }
}}
Rectangle {
// component (Instance) level: 0 LabelHeaderComponentH3
id: figma_269_172
// # "LabelHeaderComponentH3"
objectName:"LabelHeaderComponentH3"
x: (figma_94_67.width - width) / 2 + 0.5
y:7
width:83
height:19
color: "transparent"
clip: false
Text {
// component (Instance) level: 0 Label
id: figma_269_173
// # "Label"
objectName:"Label"
x:2
y:1
width:79
height:17
color:"#ff000000"
wrapMode: TextEdit.WordWrap
text:"Хранилище"
font.family: "Tahoma"
font.italic: false
font.letterSpacing: 0
font.pixelSize: 14
font.weight: Font.Normal
horizontalAlignment: Text.AlignLeft
verticalAlignment: Text.AlignTop
}
}
HeaderValueComponent25_figma {
// component (Instance) level: 0 LabelAvailibleSizeComponent
id: figma_269_181
// # "LabelAvailibleSizeComponent"
objectName:"LabelAvailibleSizeComponent"
x:17
y:35
color: "transparent"
delegate_269_179: Text {
// component (Instance) level: 1 LabelAvailibleSize
id: figma_i269_181_269_179
// # "LabelAvailibleSize"
objectName:"LabelAvailibleSize"
x:0
y:0
width:54
height:13
color:"#ff000000"
wrapMode: TextEdit.WordWrap
text:"Свободно"
font.family: "Tahoma"
font.italic: false
font.letterSpacing: 0
font.pixelSize: 11
font.weight: Font.Normal
horizontalAlignment: Text.AlignLeft
verticalAlignment: Text.AlignTop
}
}
Rectangle {
// component (Instance) level: 0 LabelAvailibleSizeButtonComponent
id: figma_98_96
// # "LabelAvailibleSizeButtonComponent"
objectName:"LabelAvailibleSizeButtonComponent"
x:17
y:51
width:209
height:31
color: "transparent"
clip: false
Text {
// component (Instance) level: 0 LabelAvailibleSizeButton
id: figma_98_97
// # "LabelAvailibleSizeButton"
objectName:"LabelAvailibleSizeButton"
x:0
y:0
width:209
height:31
color:"#ff000000"
wrapMode: TextEdit.WordWrap
text:"15.43 GB"
font.family: "Tahoma"
font.italic: false
font.letterSpacing: 0
font.pixelSize: 26
font.weight: Font.DemiBold
horizontalAlignment: Text.AlignLeft
verticalAlignment: Text.AlignTop
}
}
Rectangle {
// component (Instance) level: 0 Frame 800
id: figma_269_210
// # "Frame 800"
objectName:"Frame 800"
x:19
y:85
width:159
height:8
color: "transparent"
clip: true
Rectangle {
// component (Instance) level: 0 AvailibleSizeProgressBarPassedBar
id: figma_269_206
// # "AvailibleSizeProgressBarPassedBar"
objectName:"AvailibleSizeProgressBarPassedBar"
x:0
y:0
width:159
height:8
color:"#ffdb1c1c"
radius:5
clip: false
}
}
Rectangle {
// component (Instance) level: 0 AvailibleSizeProgressBar
id: figma_269_205
// # "AvailibleSizeProgressBar"
objectName:"AvailibleSizeProgressBar"
x:20
y:84
width:209
height:10
color: "transparent"
radius:5
clip: false
Shape {
anchors.fill: parent
ShapePath {
strokeColor: Qt.rgba(0.201923, 0.119406, 0.119406, 1)
strokeWidth: 1
fillColor: "transparent"
PathMove { x: 5; y: 0 }
PathLine { x: 5; y: 0.5 }
PathLine { x: 204; y: 0.5 }
PathLine { x: 204; y: 0 }
PathLine { x: 204; y: -0.5 }
PathLine { x: 5; y: -0.5 }
PathLine { x: 5; y: 0 }
PathMove { x: 204; y: 10 }
PathLine { x: 204; y: 9.5 }
PathLine { x: 5; y: 9.5 }
PathLine { x: 5; y: 10 }
PathLine { x: 5; y: 10.5 }
PathLine { x: 204; y: 10.5 }
PathLine { x: 204; y: 10 }
PathMove { x: 5; y: 10 }
PathLine { x: 5; y: 9.5 }
PathCubic { control1X: 2.51472; control1Y: 9.5; control2X: 0.5; control2Y: 7.48528; x: 0.5; y: 5 }
PathLine { x: 0; y: 5 }
PathLine { x: -0.5; y: 5 }
PathCubic { control1X: -0.5; control1Y: 8.03757; control2X: 1.96244; control2Y: 10.5; x: 5; y: 10.5 }
PathLine { x: 5; y: 10 }
PathMove { x: 209; y: 5 }
PathLine { x: 208.5; y: 5 }
PathCubic { control1X: 208.5; control1Y: 7.48528; control2X: 206.485; control2Y: 9.5; x: 204; y: 9.5 }
PathLine { x: 204; y: 10 }
PathLine { x: 204; y: 10.5 }
PathCubic { control1X: 207.038; control1Y: 10.5; control2X: 209.5; control2Y: 8.03757; x: 209.5; y: 5 }
PathLine { x: 209; y: 5 }
PathMove { x: 204; y: 0 }
PathLine { x: 204; y: 0.5 }
PathCubic { control1X: 206.485; control1Y: 0.5; control2X: 208.5; control2Y: 2.51472; x: 208.5; y: 5 }
PathLine { x: 209; y: 5 }
PathLine { x: 209.5; y: 5 }
PathCubic { control1X: 209.5; control1Y: 1.96243; control2X: 207.038; control2Y: -0.5; x: 204; y: -0.5 }
PathLine { x: 204; y: 0 }
PathMove { x: 5; y: 0 }
PathLine { x: 5; y: -0.5 }
PathCubic { control1X: 1.96243; control1Y: -0.5; control2X: -0.5; control2Y: 1.96243; x: -0.5; y: 5 }
PathLine { x: 0; y: 5 }
PathLine { x: 0.5; y: 5 }
PathCubic { control1X: 0.5; control1Y: 2.51472; control2X: 2.51472; control2Y: 0.5; x: 5; y: 0.5 }
PathLine { x: 5; y: 0 }
}}
}
}
}
Rectangle {
// component (Instance) level: 0 MainView
id: figma_94_71
// # "MainView"
objectName:"MainView"
x:221
y:0
width:1096
height:900
color: "transparent"
clip: false
}
Rectangle {
// component (Instance) level: 0 PanelLeft
id: figma_139_49
// # "PanelLeft"
objectName:"PanelLeft"
x:1
y:0
width:221
height:898
color:"#ffffffff"
clip: false
Rectangle {
// component (Instance) level: 0 Logo
id: figma_139_50
// # "Logo"
objectName:"Logo"
x:10
y:10
width:201
height:212
color: "transparent"
clip: false
Item {
// component (Instance) level: 0 logo2vnuzu 1
id: figma_139_51
// # "logo2vnuzu 1"
objectName:"logo2vnuzu 1"
x: (figma_139_50.width - width) / 2
y: (figma_139_50.height - height) / 2
width:201
height:212
MultiEffect {
maskEnabled: true
anchors.fill:parent
source: source_figma_139_51
maskSource: maskSource_figma_139_51
}
Image {
id: source_figma_139_51
layer.enabled: true
fillMode: Image.PreserveAspectCrop
visible: false
mipmap: true
anchors.fill:parent
source: "images/81b8090b737e9cc1aca3c8512aa46b1a507b23a5.png"
}
Shape {
id: maskSource_figma_139_51
anchors.fill: parent
layer.enabled: true
visible: false
ShapePath {
strokeColor: "transparent"
strokeWidth:0.0681129
fillColor:"black"
fillRule: ShapePath.WindingFill
PathSvg {
path: "M0 0L201 0L201 212L0 212L0 0Z"
}
}
}
Shape {
anchors.fill: parent
ShapePath {
strokeColor: "transparent"
strokeWidth:0.0681129
fillColor:"#00000000"
// component (shapeFill) level: 0
id: svgpath_figma_139_51
fillRule: ShapePath.WindingFill
PathSvg {
id: path_0_figma_139_51
path: "M0 0L201 0L201 212L0 212L0 0Z"
}
}
}
property alias path: path_0_figma_139_51.path
}
}
Rectangle {
// component (Instance) level: 0 Frame 796
id: figma_139_75
// # "Frame 796"
objectName:"Frame 796"
x:6
y:229
width:209
height:659
color: "transparent"
clip: false
Rectangle {
// component (Instance) level: 0 Column
id: figma_139_76
// # "Column"
objectName:"Column"
x:0
y:0
width:209
height:71
color: "transparent"
clip: false
ColumnaItemComponent26_figma {
// component (Instance) level: 0 HomeItem
id: figma_139_77
// # "HomeItem"
objectName:"HomeItem"
x:0
y:6
width:209
height:27
color:"#ffffffff"
Item {
// component (Instance) level: 1 #HomeIcon
id: figma_i139_77_613_481
// # "#HomeIcon"
objectName:"#HomeIcon"
x:7
y:0
width:27.2718
height:27.2718
MultiEffect {
maskEnabled: true
anchors.fill:parent
source: source_figma_i139_77_613_481
maskSource: maskSource_figma_i139_77_613_481
}
Image {
id: source_figma_i139_77_613_481
layer.enabled: true
fillMode: Image.PreserveAspectCrop
visible: false
mipmap: true
anchors.fill:parent
source: "images/c98a8dfa5e5ae60415372792b482ee2395f3c244.png"
}
Shape {
id: maskSource_figma_i139_77_613_481
anchors.fill: parent
layer.enabled: true
visible: false
ShapePath {
strokeColor: "transparent"
strokeWidth:0.272718
fillColor:"black"
fillRule: ShapePath.WindingFill
PathSvg {
path: "M0 0L27.2718 0L27.2718 27.2718L0 27.2718L0 0Z"
}
}
}
Shape {
anchors.fill: parent
ShapePath {
strokeColor: "transparent"
strokeWidth:0.272718
fillColor:"#00000000"
// component (shapeFill) level: 1
fillRule: ShapePath.WindingFill
PathSvg {
id: path_0_figma_i139_77_613_481
path: "M0 0L27.2718 0L27.2718 27.2718L0 27.2718L0 0Z"
}
}
}
property alias path: path_0_figma_i139_77_613_481.path
}
Text {
// component (Instance) level: 1 HomeLabel
id: figma_i139_77_613_482
// # "HomeLabel"
objectName:"HomeLabel"
x:46
y:4
width:165.206
height:19
color:"#ff000000"
wrapMode: TextEdit.WordWrap
text:"Главная"
font.family: "Tahoma"
font.italic: false
font.letterSpacing: 0
font.pixelSize: 16
font.weight: Font.DemiBold
horizontalAlignment: Text.AlignLeft
verticalAlignment: Text.AlignTop
}
}
ColumnaItemComponent26_figma {
// component (Instance) level: 0 ProjectsItem
id: figma_139_78
// # "ProjectsItem"
objectName:"ProjectsItem"
x:0
y:38
width:209
height:27
Item {
// component (Instance) level: 1 ProjectIcon
id: figma_i139_78_613_481
// # "ProjectIcon"
objectName:"ProjectIcon"
x:7
y:0
width:27.2718
height:27.2718
MultiEffect {
maskEnabled: true
anchors.fill:parent
source: source_figma_i139_78_613_481
maskSource: maskSource_figma_i139_78_613_481
}
Image {
id: source_figma_i139_78_613_481
layer.enabled: true
fillMode: Image.PreserveAspectCrop
visible: false
mipmap: true
anchors.fill:parent
source: "images/3c0e227d940391143941250369cfabae13fc1068.png"
}
Shape {
id: maskSource_figma_i139_78_613_481
anchors.fill: parent
layer.enabled: true
visible: false
ShapePath {
strokeColor: "transparent"
strokeWidth:0.272718
fillColor:"black"
fillRule: ShapePath.WindingFill
PathSvg {
path: "M0 0L27.2718 0L27.2718 27.2718L0 27.2718L0 0Z"
}
}
}
Shape {
anchors.fill: parent
ShapePath {
strokeColor: "transparent"
strokeWidth:0.272718
fillColor:"#00000000"
// component (shapeFill) level: 1
fillRule: ShapePath.WindingFill
PathSvg {
id: path_0_figma_i139_78_613_481
path: "M0 0L27.2718 0L27.2718 27.2718L0 27.2718L0 0Z"
}
}
}
property alias path: path_0_figma_i139_78_613_481.path
}
Text {
// component (Instance) level: 1 ProjectLabel
id: figma_i139_78_613_482
// # "ProjectLabel"
objectName:"ProjectLabel"
x:46
y:4
width:165.206
height:19
color:"#ff000000"
wrapMode: TextEdit.WordWrap
text:"Проекты"
font.family: "Tahoma"
font.italic: false
font.letterSpacing: 0
font.pixelSize: 16
font.weight: Font.DemiBold
horizontalAlignment: Text.AlignLeft
verticalAlignment: Text.AlignTop
}
}
}
Rectangle {
// component (Instance) level: 0 Column
id: figma_139_79
// # "Column"
objectName:"Column"
x:0
y:601
width:209
height:58
color: "transparent"
clip: false
ColumnaItemComponent26_figma {
// component (Instance) level: 0 CloseItem
id: figma_139_80
// # "CloseItem"
objectName:"CloseItem"
x:1
y:32
width:212
height:27
Item {
// component (Instance) level: 1 CloseIcon
id: figma_i139_80_613_481
// # "CloseIcon"
objectName:"CloseIcon"
x:7
y:0
width:27.2718
height:27.2718
MultiEffect {
maskEnabled: true
anchors.fill:parent
source: source_figma_i139_80_613_481
maskSource: maskSource_figma_i139_80_613_481
}
Image {
id: source_figma_i139_80_613_481
layer.enabled: true
fillMode: Image.PreserveAspectCrop
visible: false
mipmap: true
anchors.fill:parent
source: "images/67d2571c25a374ebaf8f65b73a27916624a85b85.png"
}
Shape {
id: maskSource_figma_i139_80_613_481
anchors.fill: parent
layer.enabled: true
visible: false
ShapePath {
strokeColor: "transparent"
strokeWidth:0.272718
fillColor:"black"
fillRule: ShapePath.WindingFill
PathSvg {
path: "M0 0L27.2718 0L27.2718 27.2718L0 27.2718L0 0Z"
}
}
}
Shape {
anchors.fill: parent
ShapePath {
strokeColor: "transparent"
strokeWidth:0.272718
fillColor:"#00000000"
// component (shapeFill) level: 1
fillRule: ShapePath.WindingFill
PathSvg {
id: path_0_figma_i139_80_613_481
path: "M0 0L27.2718 0L27.2718 27.2718L0 27.2718L0 0Z"
}
}
}
property alias path: path_0_figma_i139_80_613_481.path
}
Text {
// component (Instance) level: 1 CloseLabel
id: figma_i139_80_613_482
// # "CloseLabel"
objectName:"CloseLabel"
x:46
y:4
width:165.206
height:19
color:"#ff000000"
wrapMode: TextEdit.WordWrap
text:"Выход"
font.family: "Tahoma"
font.italic: false
font.letterSpacing: 0
font.pixelSize: 16
font.weight: Font.DemiBold
horizontalAlignment: Text.AlignLeft
verticalAlignment: Text.AlignTop
}
}
ColumnaItemComponent26_figma {
// component (Instance) level: 0 SettingsItem
id: figma_139_81
// # "SettingsItem"
objectName:"SettingsItem"
x:1
y:0
width:212
height:27
Item {
// component (Instance) level: 1 SettingsIcon
id: figma_i139_81_613_481
// # "SettingsIcon"
objectName:"SettingsIcon"
x:7
y:0
width:27.2718
height:27.2718
MultiEffect {
maskEnabled: true
anchors.fill:parent
source: source_figma_i139_81_613_481
maskSource: maskSource_figma_i139_81_613_481
}
Image {
id: source_figma_i139_81_613_481
layer.enabled: true
fillMode: Image.PreserveAspectCrop
visible: false
mipmap: true
anchors.fill:parent
source: "images/ff3699e449928196383ec790d1449da4567e924b.png"
}
Shape {
id: maskSource_figma_i139_81_613_481
anchors.fill: parent
layer.enabled: true
visible: false
ShapePath {
strokeColor: "transparent"
strokeWidth:0.272718
fillColor:"black"
fillRule: ShapePath.WindingFill
PathSvg {
path: "M0 0L27.2718 0L27.2718 27.2718L0 27.2718L0 0Z"
}
}
}
Shape {
anchors.fill: parent
ShapePath {
strokeColor: "transparent"
strokeWidth:0.272718
fillColor:"#00000000"
// component (shapeFill) level: 1
fillRule: ShapePath.WindingFill
PathSvg {
id: path_0_figma_i139_81_613_481
path: "M0 0L27.2718 0L27.2718 27.2718L0 27.2718L0 0Z"
}
}
}
property alias path: path_0_figma_i139_81_613_481.path
}
Text {
// component (Instance) level: 1 SettingsLabel
id: figma_i139_81_613_482
// # "SettingsLabel"
objectName:"SettingsLabel"
x:46
y:4
width:165.206
height:19
color:"#ff000000"
wrapMode: TextEdit.WordWrap
text:"Настройки"
font.family: "Tahoma"
font.italic: false
font.letterSpacing: 0
font.pixelSize: 16
font.weight: Font.DemiBold
horizontalAlignment: Text.AlignLeft
verticalAlignment: Text.AlignTop
}
}
}
}
}
}

View File

@ -30,7 +30,7 @@ Rectangle {
color:"#ffffffff"
clip: false
LabelHeaderComponentH349_figma {
LabelHeaderComponentH356_figma {
// component (Instance) level: 0 InformationHeader
id: figma_94_66
// # "InformationHeader"
@ -166,7 +166,7 @@ PathLine { x: 8; y: 0 }
verticalAlignment: Text.AlignTop
}
}
HeaderValueComponent25_figma {
HeaderValueComponent31_figma {
// component (Instance) level: 0 LabelAvailibleSizeComponent
id: figma_269_181
// # "LabelAvailibleSizeComponent"
@ -437,7 +437,7 @@ PathLine { x: 5; y: 0 }
color: "transparent"
clip: false
ColumnaItemComponent26_figma {
ColumnaItemComponent28_figma {
// component (Instance) level: 0 HomeItem
id: figma_139_77
// # "HomeItem"
@ -523,7 +523,7 @@ PathLine { x: 5; y: 0 }
verticalAlignment: Text.AlignTop
}
}
ColumnaItemComponent26_figma {
ColumnaItemComponent28_figma {
// component (Instance) level: 0 ProjectsItem
id: figma_139_78
// # "ProjectsItem"
@ -621,7 +621,7 @@ PathLine { x: 5; y: 0 }
color: "transparent"
clip: false
ColumnaItemComponent26_figma {
ColumnaItemComponent28_figma {
// component (Instance) level: 0 CloseItem
id: figma_139_80
// # "CloseItem"
@ -706,7 +706,7 @@ PathLine { x: 5; y: 0 }
verticalAlignment: Text.AlignTop
}
}
ColumnaItemComponent26_figma {
ColumnaItemComponent28_figma {
// component (Instance) level: 0 SettingsItem
id: figma_139_81
// # "SettingsItem"

View File

@ -1,95 +0,0 @@
//Generated by FigmaQML 3.2.1
import QtQuick
import QtQuick.Effects
import QtQuick.Shapes
import QtQuick.Controls
import QtQuick.Shapes
import FigmaQmlInterface
Rectangle {
// component (Instance) level: 0 ProjectPage
id: figma_94_80
// # "ProjectPage"
objectName:"ProjectPage"
x:0
y:0
width:1096
height:900
color: "transparent"
clip: true
LabelHeaderComponentH122_figma {
// component (Instance) level: 0 ProjectPageHeader
id: figma_94_81
// # "ProjectPageHeader"
objectName:"ProjectPageHeader"
x:31
y:20
width:139
height:39
Text {
// component (Instance) level: 1 LabelHeader
id: figma_i94_81_613_438
// # "LabelHeader"
objectName:"LabelHeader"
x:0
y:0
width:139
height:39
color:"#ff000000"
wrapMode: TextEdit.WordWrap
text:"Проекты"
font.family: "Tahoma"
font.italic: false
font.letterSpacing: 0
font.pixelSize: 32
font.weight: Font.Normal
horizontalAlignment: Text.AlignLeft
verticalAlignment: Text.AlignTop
}
}
LabelComponent18_figma {
// component (Instance) level: 0 SubDirectoryLabelComponent
id: figma_94_82
// # "SubDirectoryLabelComponent"
objectName:"SubDirectoryLabelComponent"
x:197
y:32
width:125
height:19
Text {
// component (Instance) level: 1 SubdirectorName
id: figma_i94_82_613_450
// # "SubdirectorName"
objectName:"SubdirectorName"
x:0
y:0
width:125
height:19
color:"#ff000000"
wrapMode: TextEdit.WordWrap
text:"Поддиректория"
font.family: "Tahoma"
font.italic: false
font.letterSpacing: 0
font.pixelSize: 16
font.weight: Font.Normal
horizontalAlignment: Text.AlignLeft
verticalAlignment: Text.AlignTop
}
}
Rectangle {
// component (Instance) level: 0 FolderObserver
id: figma_94_83
// # "FolderObserver"
objectName:"FolderObserver"
x: (figma_94_80.width - width) / 2 + 1.5
y:86
width:1037
height:790
color: "transparent"
radius:30
clip: true
}
}

View File

@ -18,7 +18,7 @@ Rectangle {
color: "transparent"
clip: true
LabelHeaderComponentH122_figma {
LabelHeaderComponentH124_figma {
// component (Instance) level: 0 ProjectPageHeader
id: figma_94_81
// # "ProjectPageHeader"
@ -48,7 +48,7 @@ Rectangle {
verticalAlignment: Text.AlignTop
}
}
LabelComponent18_figma {
LabelComponent22_figma {
// component (Instance) level: 0 SubDirectoryLabelComponent
id: figma_94_82
// # "SubDirectoryLabelComponent"

View File

@ -18,7 +18,7 @@ Rectangle {
color: "transparent"
clip: true
LabelHeaderComponentH122_figma {
LabelHeaderComponentH124_figma {
// component (Instance) level: 0 MainPageHeader
id: figma_94_87
// # "MainPageHeader"
@ -48,7 +48,7 @@ Rectangle {
verticalAlignment: Text.AlignTop
}
}
LabelComponent18_figma {
LabelComponent22_figma {
// component (Instance) level: 0 LabelComponent
id: figma_94_88
// # "LabelComponent"
@ -89,133 +89,7 @@ Rectangle {
color:"#ffffffff"
clip: true
InputComponent27_figma {
// component (Instance) level: 0 InputComponent
id: figma_249_58
// # "InputComponent"
objectName:"InputComponent"
x: (figma_94_89.width - width) / 2 - 239
y:275
width:470
height:40
delegate_219_73: Text {
// component (Instance) level: 1 ProjectLabel
id: figma_i249_58_219_73
// # "ProjectLabel"
objectName:"ProjectLabel"
x:0
y:0
width:470
height:13
color:"#ff302f38"
wrapMode: TextEdit.WordWrap
text:"Адрес"
font.family: "Tahoma"
font.italic: false
font.letterSpacing: 0
font.pixelSize: 11
font.weight: Font.Normal
horizontalAlignment: Text.AlignLeft
verticalAlignment: Text.AlignTop
}
delegate_219_155: Rectangle {
// component (Instance) level: 1 StrokeElement
id: figma_i249_58_219_155
// # "StrokeElement"
objectName:"StrokeElement"
x:0
y:17
width:470
height:23
color: "transparent"
radius:5
clip: false
Shape {
anchors.fill: parent
ShapePath {
strokeColor: Qt.rgba(0, 0, 0, 1)
strokeWidth: 1
fillColor: "transparent"
PathMove { x: 5; y: 0 }
PathLine { x: 5; y: 0.5 }
PathLine { x: 465; y: 0.5 }
PathLine { x: 465; y: 0 }
PathLine { x: 465; y: -0.5 }
PathLine { x: 5; y: -0.5 }
PathLine { x: 5; y: 0 }
PathMove { x: 470; y: 5 }
PathLine { x: 469.5; y: 5 }
PathLine { x: 469.5; y: 18 }
PathLine { x: 470; y: 18 }
PathLine { x: 470.5; y: 18 }
PathLine { x: 470.5; y: 5 }
PathLine { x: 470; y: 5 }
PathMove { x: 465; y: 23 }
PathLine { x: 465; y: 22.5 }
PathLine { x: 5; y: 22.5 }
PathLine { x: 5; y: 23 }
PathLine { x: 5; y: 23.5 }
PathLine { x: 465; y: 23.5 }
PathLine { x: 465; y: 23 }
PathMove { x: 0; y: 18 }
PathLine { x: 0.5; y: 18 }
PathLine { x: 0.5; y: 5 }
PathLine { x: 0; y: 5 }
PathLine { x: -0.5; y: 5 }
PathLine { x: -0.5; y: 18 }
PathLine { x: 0; y: 18 }
PathMove { x: 5; y: 23 }
PathLine { x: 5; y: 22.5 }
PathCubic { control1X: 2.51472; control1Y: 22.5; control2X: 0.5; control2Y: 20.4853; x: 0.5; y: 18 }
PathLine { x: 0; y: 18 }
PathLine { x: -0.5; y: 18 }
PathCubic { control1X: -0.5; control1Y: 21.0376; control2X: 1.96243; control2Y: 23.5; x: 5; y: 23.5 }
PathLine { x: 5; y: 23 }
PathMove { x: 470; y: 18 }
PathLine { x: 469.5; y: 18 }
PathCubic { control1X: 469.5; control1Y: 20.4853; control2X: 467.485; control2Y: 22.5; x: 465; y: 22.5 }
PathLine { x: 465; y: 23 }
PathLine { x: 465; y: 23.5 }
PathCubic { control1X: 468.038; control1Y: 23.5; control2X: 470.5; control2Y: 21.0376; x: 470.5; y: 18 }
PathLine { x: 470; y: 18 }
PathMove { x: 465; y: 0 }
PathLine { x: 465; y: 0.5 }
PathCubic { control1X: 467.485; control1Y: 0.5; control2X: 469.5; control2Y: 2.51472; x: 469.5; y: 5 }
PathLine { x: 470; y: 5 }
PathLine { x: 470.5; y: 5 }
PathCubic { control1X: 470.5; control1Y: 1.96243; control2X: 468.038; control2Y: -0.5; x: 465; y: -0.5 }
PathLine { x: 465; y: 0 }
PathMove { x: 5; y: 0 }
PathLine { x: 5; y: -0.5 }
PathCubic { control1X: 1.96243; control1Y: -0.5; control2X: -0.5; control2Y: 1.96243; x: -0.5; y: 5 }
PathLine { x: 0; y: 5 }
PathLine { x: 0.5; y: 5 }
PathCubic { control1X: 0.5; control1Y: 2.51472; control2X: 2.51472; control2Y: 0.5; x: 5; y: 0.5 }
PathLine { x: 5; y: 0 }
}}
TextField {
// component (Instance) level: 1 RemoteAddressLabelField
id: figma_i249_58_219_74
// # "RemoteAddressLabelField"
objectName:"RemoteAddressLabelField"
x:3
y:0
width:464
height:23
color:"#ff7d7e82"
wrapMode: TextEdit.WordWrap
text:"http://localhost:1234"
background: Rectangle {color: "transparent"} font.family: "Tahoma"
font.italic: false
font.letterSpacing: 0
font.pixelSize: 16
font.weight: Font.Normal
horizontalAlignment: Text.AlignLeft
verticalAlignment: Text.AlignVCenter
}
}
}
InputComponent27_figma {
InputComponent29_figma {
// component (Instance) level: 0 InputComponent
id: figma_249_53
// # "InputComponent"
@ -341,7 +215,7 @@ background: Rectangle {color: "transparent"} font.family: "Ta
}
}
}
LabelHeaderComponentH2_bold44_figma {
LabelHeaderComponentH2_bold47_figma {
// component (Instance) level: 0 LabelHeaderComponentH2-bold
id: figma_269_150
// # "LabelHeaderComponentH2-bold"
@ -372,36 +246,483 @@ background: Rectangle {color: "transparent"} font.family: "Ta
verticalAlignment: Text.AlignTop
}
}
LabelHeaderComponentH2_bold44_figma {
// component (Instance) level: 0 LabelHeaderComponentH2-bold
id: figma_269_160
// # "LabelHeaderComponentH2-bold"
objectName:"LabelHeaderComponentH2-bold"
Rectangle {
// component (Instance) level: 0 Frame 804
id: figma_443_66
// # "Frame 804"
objectName:"Frame 804"
x:71
y:241
width:99
height:31
y:149
width:473
height:180
color: "transparent"
delegate_269_148: Text {
// component (Instance) level: 1 Label
id: figma_i269_160_269_148
// # "Label"
objectName:"Label"
clip: false
InputComponent29_figma {
// component (Instance) level: 0 InputComponent
id: figma_249_58
// # "InputComponent"
objectName:"InputComponent"
x: (figma_443_66.width - width) / 2 + 1.5
y:34
width:470
height:40
delegate_219_73: Text {
// component (Instance) level: 1 ProjectLabel
id: figma_i249_58_219_73
// # "ProjectLabel"
objectName:"ProjectLabel"
x:0
y:0
width:470
height:13
color:"#ff302f38"
wrapMode: TextEdit.WordWrap
text:"Адрес"
font.family: "Tahoma"
font.italic: false
font.letterSpacing: 0
font.pixelSize: 11
font.weight: Font.Normal
horizontalAlignment: Text.AlignLeft
verticalAlignment: Text.AlignTop
}
delegate_219_155: Rectangle {
// component (Instance) level: 1 StrokeElement
id: figma_i249_58_219_155
// # "StrokeElement"
objectName:"StrokeElement"
x:0
y:17
width:470
height:23
color: "transparent"
radius:5
clip: false
Shape {
anchors.fill: parent
ShapePath {
strokeColor: Qt.rgba(0, 0, 0, 1)
strokeWidth: 1
fillColor: "transparent"
PathMove { x: 5; y: 0 }
PathLine { x: 5; y: 0.5 }
PathLine { x: 465; y: 0.5 }
PathLine { x: 465; y: 0 }
PathLine { x: 465; y: -0.5 }
PathLine { x: 5; y: -0.5 }
PathLine { x: 5; y: 0 }
PathMove { x: 470; y: 5 }
PathLine { x: 469.5; y: 5 }
PathLine { x: 469.5; y: 18 }
PathLine { x: 470; y: 18 }
PathLine { x: 470.5; y: 18 }
PathLine { x: 470.5; y: 5 }
PathLine { x: 470; y: 5 }
PathMove { x: 465; y: 23 }
PathLine { x: 465; y: 22.5 }
PathLine { x: 5; y: 22.5 }
PathLine { x: 5; y: 23 }
PathLine { x: 5; y: 23.5 }
PathLine { x: 465; y: 23.5 }
PathLine { x: 465; y: 23 }
PathMove { x: 0; y: 18 }
PathLine { x: 0.5; y: 18 }
PathLine { x: 0.5; y: 5 }
PathLine { x: 0; y: 5 }
PathLine { x: -0.5; y: 5 }
PathLine { x: -0.5; y: 18 }
PathLine { x: 0; y: 18 }
PathMove { x: 5; y: 23 }
PathLine { x: 5; y: 22.5 }
PathCubic { control1X: 2.51472; control1Y: 22.5; control2X: 0.5; control2Y: 20.4853; x: 0.5; y: 18 }
PathLine { x: 0; y: 18 }
PathLine { x: -0.5; y: 18 }
PathCubic { control1X: -0.5; control1Y: 21.0376; control2X: 1.96243; control2Y: 23.5; x: 5; y: 23.5 }
PathLine { x: 5; y: 23 }
PathMove { x: 470; y: 18 }
PathLine { x: 469.5; y: 18 }
PathCubic { control1X: 469.5; control1Y: 20.4853; control2X: 467.485; control2Y: 22.5; x: 465; y: 22.5 }
PathLine { x: 465; y: 23 }
PathLine { x: 465; y: 23.5 }
PathCubic { control1X: 468.038; control1Y: 23.5; control2X: 470.5; control2Y: 21.0376; x: 470.5; y: 18 }
PathLine { x: 470; y: 18 }
PathMove { x: 465; y: 0 }
PathLine { x: 465; y: 0.5 }
PathCubic { control1X: 467.485; control1Y: 0.5; control2X: 469.5; control2Y: 2.51472; x: 469.5; y: 5 }
PathLine { x: 470; y: 5 }
PathLine { x: 470.5; y: 5 }
PathCubic { control1X: 470.5; control1Y: 1.96243; control2X: 468.038; control2Y: -0.5; x: 465; y: -0.5 }
PathLine { x: 465; y: 0 }
PathMove { x: 5; y: 0 }
PathLine { x: 5; y: -0.5 }
PathCubic { control1X: 1.96243; control1Y: -0.5; control2X: -0.5; control2Y: 1.96243; x: -0.5; y: 5 }
PathLine { x: 0; y: 5 }
PathLine { x: 0.5; y: 5 }
PathCubic { control1X: 0.5; control1Y: 2.51472; control2X: 2.51472; control2Y: 0.5; x: 5; y: 0.5 }
PathLine { x: 5; y: 0 }
}}
TextField {
// component (Instance) level: 1 RemoteAddressLabelField
id: figma_i249_58_219_74
// # "RemoteAddressLabelField"
objectName:"RemoteAddressLabelField"
x:3
y:0
width:464
height:23
color:"#ff7d7e82"
wrapMode: TextEdit.WordWrap
text:"http://localhost:1234"
background: Rectangle {color: "transparent"} font.family: "Tahoma"
font.italic: false
font.letterSpacing: 0
font.pixelSize: 16
font.weight: Font.Normal
horizontalAlignment: Text.AlignLeft
verticalAlignment: Text.AlignVCenter
}
}
}
InputComponent29_figma {
// component (Instance) level: 0 InputComponent
id: figma_443_56
// # "InputComponent"
objectName:"InputComponent"
x: (figma_443_66.width - width) / 2 + 1.5
y:87
width:470
height:40
delegate_219_73: Text {
// component (Instance) level: 1 ProjectLabel
id: figma_i443_56_219_73
// # "ProjectLabel"
objectName:"ProjectLabel"
x:0
y:0
width:470
height:13
color:"#ff302f38"
wrapMode: TextEdit.WordWrap
text:"Логин"
font.family: "Tahoma"
font.italic: false
font.letterSpacing: 0
font.pixelSize: 11
font.weight: Font.Normal
horizontalAlignment: Text.AlignLeft
verticalAlignment: Text.AlignTop
}
delegate_219_155: Rectangle {
// component (Instance) level: 1 StrokeElement
id: figma_i443_56_219_155
// # "StrokeElement"
objectName:"StrokeElement"
x:0
y:17
width:470
height:23
color: "transparent"
radius:5
clip: false
Shape {
anchors.fill: parent
ShapePath {
strokeColor: Qt.rgba(0, 0, 0, 1)
strokeWidth: 1
fillColor: "transparent"
PathMove { x: 5; y: 0 }
PathLine { x: 5; y: 0.5 }
PathLine { x: 465; y: 0.5 }
PathLine { x: 465; y: 0 }
PathLine { x: 465; y: -0.5 }
PathLine { x: 5; y: -0.5 }
PathLine { x: 5; y: 0 }
PathMove { x: 470; y: 5 }
PathLine { x: 469.5; y: 5 }
PathLine { x: 469.5; y: 18 }
PathLine { x: 470; y: 18 }
PathLine { x: 470.5; y: 18 }
PathLine { x: 470.5; y: 5 }
PathLine { x: 470; y: 5 }
PathMove { x: 465; y: 23 }
PathLine { x: 465; y: 22.5 }
PathLine { x: 5; y: 22.5 }
PathLine { x: 5; y: 23 }
PathLine { x: 5; y: 23.5 }
PathLine { x: 465; y: 23.5 }
PathLine { x: 465; y: 23 }
PathMove { x: 0; y: 18 }
PathLine { x: 0.5; y: 18 }
PathLine { x: 0.5; y: 5 }
PathLine { x: 0; y: 5 }
PathLine { x: -0.5; y: 5 }
PathLine { x: -0.5; y: 18 }
PathLine { x: 0; y: 18 }
PathMove { x: 5; y: 23 }
PathLine { x: 5; y: 22.5 }
PathCubic { control1X: 2.51472; control1Y: 22.5; control2X: 0.5; control2Y: 20.4853; x: 0.5; y: 18 }
PathLine { x: 0; y: 18 }
PathLine { x: -0.5; y: 18 }
PathCubic { control1X: -0.5; control1Y: 21.0376; control2X: 1.96243; control2Y: 23.5; x: 5; y: 23.5 }
PathLine { x: 5; y: 23 }
PathMove { x: 470; y: 18 }
PathLine { x: 469.5; y: 18 }
PathCubic { control1X: 469.5; control1Y: 20.4853; control2X: 467.485; control2Y: 22.5; x: 465; y: 22.5 }
PathLine { x: 465; y: 23 }
PathLine { x: 465; y: 23.5 }
PathCubic { control1X: 468.038; control1Y: 23.5; control2X: 470.5; control2Y: 21.0376; x: 470.5; y: 18 }
PathLine { x: 470; y: 18 }
PathMove { x: 465; y: 0 }
PathLine { x: 465; y: 0.5 }
PathCubic { control1X: 467.485; control1Y: 0.5; control2X: 469.5; control2Y: 2.51472; x: 469.5; y: 5 }
PathLine { x: 470; y: 5 }
PathLine { x: 470.5; y: 5 }
PathCubic { control1X: 470.5; control1Y: 1.96243; control2X: 468.038; control2Y: -0.5; x: 465; y: -0.5 }
PathLine { x: 465; y: 0 }
PathMove { x: 5; y: 0 }
PathLine { x: 5; y: -0.5 }
PathCubic { control1X: 1.96243; control1Y: -0.5; control2X: -0.5; control2Y: 1.96243; x: -0.5; y: 5 }
PathLine { x: 0; y: 5 }
PathLine { x: 0.5; y: 5 }
PathCubic { control1X: 0.5; control1Y: 2.51472; control2X: 2.51472; control2Y: 0.5; x: 5; y: 0.5 }
PathLine { x: 5; y: 0 }
}}
TextField {
// component (Instance) level: 1 RemoteServerLoginField
id: figma_i443_56_219_74
// # "RemoteServerLoginField"
objectName:"RemoteServerLoginField"
x:3
y:0
width:464
height:23
color:"#ff7d7e82"
wrapMode: TextEdit.WordWrap
text:""
background: Rectangle {color: "transparent"} font.family: "Tahoma"
font.italic: false
font.letterSpacing: 0
font.pixelSize: 16
font.weight: Font.Normal
horizontalAlignment: Text.AlignLeft
verticalAlignment: Text.AlignVCenter
}
}
}
InputComponent29_figma {
// component (Instance) level: 0 InputComponent
id: figma_443_61
// # "InputComponent"
objectName:"InputComponent"
x: (figma_443_66.width - width) / 2 + 1.5
y:140
width:470
height:40
delegate_219_73: Text {
// component (Instance) level: 1 ProjectLabel
id: figma_i443_61_219_73
// # "ProjectLabel"
objectName:"ProjectLabel"
x:0
y:0
width:470
height:13
color:"#ff302f38"
wrapMode: TextEdit.WordWrap
text:"Пароль"
font.family: "Tahoma"
font.italic: false
font.letterSpacing: 0
font.pixelSize: 11
font.weight: Font.Normal
horizontalAlignment: Text.AlignLeft
verticalAlignment: Text.AlignTop
}
delegate_219_155: Rectangle {
// component (Instance) level: 1 StrokeElement
id: figma_i443_61_219_155
// # "StrokeElement"
objectName:"StrokeElement"
x:0
y:17
width:470
height:23
color: "transparent"
radius:5
clip: false
Shape {
anchors.fill: parent
ShapePath {
strokeColor: Qt.rgba(0, 0, 0, 1)
strokeWidth: 1
fillColor: "transparent"
PathMove { x: 5; y: 0 }
PathLine { x: 5; y: 0.5 }
PathLine { x: 465; y: 0.5 }
PathLine { x: 465; y: 0 }
PathLine { x: 465; y: -0.5 }
PathLine { x: 5; y: -0.5 }
PathLine { x: 5; y: 0 }
PathMove { x: 470; y: 5 }
PathLine { x: 469.5; y: 5 }
PathLine { x: 469.5; y: 18 }
PathLine { x: 470; y: 18 }
PathLine { x: 470.5; y: 18 }
PathLine { x: 470.5; y: 5 }
PathLine { x: 470; y: 5 }
PathMove { x: 465; y: 23 }
PathLine { x: 465; y: 22.5 }
PathLine { x: 5; y: 22.5 }
PathLine { x: 5; y: 23 }
PathLine { x: 5; y: 23.5 }
PathLine { x: 465; y: 23.5 }
PathLine { x: 465; y: 23 }
PathMove { x: 0; y: 18 }
PathLine { x: 0.5; y: 18 }
PathLine { x: 0.5; y: 5 }
PathLine { x: 0; y: 5 }
PathLine { x: -0.5; y: 5 }
PathLine { x: -0.5; y: 18 }
PathLine { x: 0; y: 18 }
PathMove { x: 5; y: 23 }
PathLine { x: 5; y: 22.5 }
PathCubic { control1X: 2.51472; control1Y: 22.5; control2X: 0.5; control2Y: 20.4853; x: 0.5; y: 18 }
PathLine { x: 0; y: 18 }
PathLine { x: -0.5; y: 18 }
PathCubic { control1X: -0.5; control1Y: 21.0376; control2X: 1.96243; control2Y: 23.5; x: 5; y: 23.5 }
PathLine { x: 5; y: 23 }
PathMove { x: 470; y: 18 }
PathLine { x: 469.5; y: 18 }
PathCubic { control1X: 469.5; control1Y: 20.4853; control2X: 467.485; control2Y: 22.5; x: 465; y: 22.5 }
PathLine { x: 465; y: 23 }
PathLine { x: 465; y: 23.5 }
PathCubic { control1X: 468.038; control1Y: 23.5; control2X: 470.5; control2Y: 21.0376; x: 470.5; y: 18 }
PathLine { x: 470; y: 18 }
PathMove { x: 465; y: 0 }
PathLine { x: 465; y: 0.5 }
PathCubic { control1X: 467.485; control1Y: 0.5; control2X: 469.5; control2Y: 2.51472; x: 469.5; y: 5 }
PathLine { x: 470; y: 5 }
PathLine { x: 470.5; y: 5 }
PathCubic { control1X: 470.5; control1Y: 1.96243; control2X: 468.038; control2Y: -0.5; x: 465; y: -0.5 }
PathLine { x: 465; y: 0 }
PathMove { x: 5; y: 0 }
PathLine { x: 5; y: -0.5 }
PathCubic { control1X: 1.96243; control1Y: -0.5; control2X: -0.5; control2Y: 1.96243; x: -0.5; y: 5 }
PathLine { x: 0; y: 5 }
PathLine { x: 0.5; y: 5 }
PathCubic { control1X: 0.5; control1Y: 2.51472; control2X: 2.51472; control2Y: 0.5; x: 5; y: 0.5 }
PathLine { x: 5; y: 0 }
}}
TextField {
// component (Instance) level: 1 RemoteServerPasswordField
id: figma_i443_61_219_74
// # "RemoteServerPasswordField"
objectName:"RemoteServerPasswordField"
x:3
y:0
width:464
height:23
color:"#ff7d7e82"
wrapMode: TextEdit.WordWrap
text:""
background: Rectangle {color: "transparent"} font.family: "Tahoma"
font.italic: false
font.letterSpacing: 0
font.pixelSize: 16
font.weight: Font.Normal
horizontalAlignment: Text.AlignLeft
verticalAlignment: Text.AlignVCenter
}
}
}
LabelHeaderComponentH2_bold47_figma {
// component (Instance) level: 0 LabelHeaderComponentH2-bold
id: figma_269_160
// # "LabelHeaderComponentH2-bold"
objectName:"LabelHeaderComponentH2-bold"
x:0
y:0
width:99
height:31
color:"#ff000000"
wrapMode: TextEdit.WordWrap
text:"Сервер"
font.family: "Tahoma"
font.italic: false
font.letterSpacing: 0
font.pixelSize: 26
font.weight: Font.DemiBold
horizontalAlignment: Text.AlignLeft
verticalAlignment: Text.AlignTop
color: "transparent"
delegate_269_148: Text {
// component (Instance) level: 1 Label
id: figma_i269_160_269_148
// # "Label"
objectName:"Label"
x:0
y:0
width:99
height:31
color:"#ff000000"
wrapMode: TextEdit.WordWrap
text:"Сервер"
font.family: "Tahoma"
font.italic: false
font.letterSpacing: 0
font.pixelSize: 26
font.weight: Font.DemiBold
horizontalAlignment: Text.AlignLeft
verticalAlignment: Text.AlignTop
}
}
}
Item {
// component (Instance) level: 0 DefaultPathFolderIcon
id: figma_443_54
// # "DefaultPathFolderIcon"
objectName:"DefaultPathFolderIcon"
x:515
y:87
width:23
height:23
MultiEffect {
maskEnabled: true
anchors.fill:parent
source: source_figma_443_54
maskSource: maskSource_figma_443_54
}
Image {
id: source_figma_443_54
layer.enabled: true
fillMode: Image.PreserveAspectCrop
visible: false
mipmap: true
anchors.fill:parent
source: "images/3bfa83926f7ea5f5794c8a36f75a8e04438c335d.png"
}
Shape {
id: maskSource_figma_443_54
anchors.fill: parent
layer.enabled: true
visible: false
ShapePath {
strokeColor: "transparent"
strokeWidth:0.0449219
fillColor:"black"
fillRule: ShapePath.WindingFill
PathSvg {
path: "M0 0L23 0L23 23L0 23L0 0Z"
}
}
}
Shape {
anchors.fill: parent
ShapePath {
strokeColor: "transparent"
strokeWidth:0.0449219
fillColor:"#00000000"
// component (shapeFill) level: 0
id: svgpath_figma_443_54
fillRule: ShapePath.WindingFill
PathSvg {
id: path_0_figma_443_54
path: "M0 0L23 0L23 23L0 23L0 0Z"
}
}
}
property alias path: path_0_figma_443_54.path
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

View File

@ -0,0 +1,97 @@
import QtQuick 2.15
import QtQuick.Controls 2.15
import QtQuick.Layouts 1.15
import Qt.labs.folderlistmodel 2.15
Dialog {
id: folderDialog
title: "Выберите папку"
modal: true
standardButtons: Dialog.Ok | Dialog.Cancel
property string selectedFolder: ""
width: 200
height: 400
anchors.centerIn: Overlay.overlay
ColumnLayout {
anchors.fill: parent
// Панель навигации
RowLayout {
Button {
text: "↑ Наверх"
onClicked: {
// Проверяем, не является ли текущая папка корнем
if (folderModel.folder.toString() === "file:///" ||
folderModel.folder.toString().match(/^file:\/\/\/[A-Za-z]:\/?$/)) {
console.log("Уже в корне диска, нельзя подняться выше");
return;
}
folderModel.folder = folderModel.parentFolder;
}
enabled: folderModel.parentFolder !== ""
}
TextField {
id: pathField
Layout.fillWidth: true
text: folderModel.folder.toString().replace("file:///", "")
onAccepted: folderModel.folder = "file://" + text
}
}
// Список папок
GridView {
id: folderView
Layout.fillWidth: true
Layout.fillHeight: true
clip: true
model: folderModel
cellWidth: 150
cellHeight: 80
delegate: Button {
width: folderView.width
text: fileName
onClicked: {
if (fileIsDir) {
folderModel.folder = folder + "/" + fileName
}
}
onDoubleClicked: {
selectedFolder = folderModel.folder + "/" + fileName
folderDialog.accept()
}
}
ScrollBar.vertical: ScrollBar {}
}
}
FolderListModel {
id: folderModel
folder: "file:///" + Qt.resolvedUrl(".").toString().substring(8) // Убираем лишний "file:///"
showDirs: true
showFiles: false
nameFilters: ["*"] // Показываем все папки
onFolderChanged: {
pathField.text = folder.toString().replace("file:///", "")
selectedFolder = folder
}
}
// Функция для открытия диалога с начальным путем
function openWithPath(initialPath) {
folderModel.folder = initialPath //"file://" + initialPath
open()
}
onAccepted: {
console.log("Выбрана папка:", selectedFolder)
}
}

View File

@ -134,7 +134,8 @@ void QuickHelper::addComponent(
QObject* rootObject,
const QList<QVariant>& listItems,
const QString& textComponent,
QObject** addedComponent
QObject** addedComponent,
ArrDifferentTypes** arrDiffTypesOut
) {
qDebug() << "[C++] Starting to create function";
@ -160,6 +161,7 @@ void QuickHelper::addComponent(
arrDifferentTypes->setArrDifferentTypes(listItems);
QQmlContext* context = new QQmlContext(engine->rootContext(), parentItem);
context->setContextObject(arrDifferentTypes);
context->setContextProperty("quickUpdaterData", arrDifferentTypes);
QQmlComponent component(engine);
@ -191,6 +193,10 @@ void QuickHelper::addComponent(
if (addedComponent) {
*addedComponent = updaterObject;
}
if (arrDiffTypesOut) {
*arrDiffTypesOut = arrDifferentTypes;
}
}
void QuickHelper::updateColor(QObject* rootObject, QColor disabledColor, QColor enabledColor){
@ -261,10 +267,34 @@ QtObject {
}
QQmlContext* QuickHelper::getContextFromQObject(QObject* qmlObject) {
if (!qmlObject) {
qWarning() << "QObject is null";
return nullptr;
}
// Получаем контекст через QML-движок
QQmlEngine* engine = qmlEngine(qmlObject);
if (!engine) {
qWarning() << "Failed to get QQmlEngine from QObject";
return nullptr;
}
// Получаем контекст объекта
QQmlContext* context = qmlContext(qmlObject);
if (!context) {
qWarning() << "Failed to get QQmlContext from QObject";
return nullptr;
}
return context;
}
void QuickHelper::addMouseAreaElements(QObject* rootObject,
std::function<void()> onClickedAction,
std::function<void()> onEnteredAction,
std::function<void()> onExitedAction
std::function<void()> onExitedAction,
QObject** addedComponent
) {
// 1. Создаем CallbackWrapper и добавляем в контекст QML
CallbackWrapper* wrapperClickedAction = new CallbackWrapper(onClickedAction, rootObject);
@ -288,6 +318,6 @@ void QuickHelper::addMouseAreaElements(QObject* rootObject,
list.append(QVariant::fromValue(wrapperClickedAction));
list.append(QVariant::fromValue(wrapperonEnteredAction));
list.append(QVariant::fromValue(wrapperonExitedAction));
QuickHelper::addComponent(rootObject, list,textComponent);
QuickHelper::addComponent(rootObject, list,textComponent,addedComponent);
};

View File

@ -5,6 +5,8 @@
class QQuickItem;
class CallbackWrapper;
class QQmlContext;
class ArrDifferentTypes;
class QuickHelper
{
public:
@ -29,8 +31,9 @@ public:
);
static void textChangedSubscription(QObject *rootObject, CallbackWrapper *wrapper);
static void addComponent(QObject *rootObject, const QList<QVariant> &listItems, const QString &textComponent, QObject** addedComponent = 0);
static void addMouseAreaElements(QObject *rootObject, std::function<void ()> onClickedAction, std::function<void ()> onEnteredAction, std::function<void ()> onExitedAction);
static void addComponent(QObject *rootObject, const QList<QVariant> &listItems, const QString &textComponent, QObject** addedComponent = 0, ArrDifferentTypes** arrDiffTypes=0);
static void addMouseAreaElements(QObject *rootObject, std::function<void ()> onClickedAction, std::function<void ()> onEnteredAction, std::function<void ()> onExitedAction,QObject** addedComponent = 0);
static QQmlContext *getContextFromQObject(QObject *qmlObject);
};
#endif // QUICKHELPER_H

View File

@ -40,8 +40,7 @@ SettingsPageActivity::~SettingsPageActivity() {
qDebug()<<textRemoteAddress;
}
void SettingsPageActivity::pageChanged()
{
void SettingsPageActivity::pageChanged() {
}
bool SettingsPageActivity::isAllElementsFound(){
@ -54,12 +53,29 @@ bool SettingsPageActivity::isAllElementsFound(){
}
fieldRemoteAdress = QuickHelper::getQuickItem(root, FIELD_REMOTE_ADDRESS);
if (!fieldRemoteAdress) {
qWarning() << "Failed to get fieldRemoteAdress:" << FIELD_REMOTE_ADDRESS;
retCode = false;
}
fieldRemoteServerPassword = QuickHelper::getQuickItem(root, FIELD_REMOTE_SERVER_PASSWORD);
if (!fieldRemoteServerPassword) {
qWarning() << "Failed to get fieldRemoteAdress:" << FIELD_REMOTE_SERVER_PASSWORD;
retCode = false;
}
fieldRemoteServerLogin = QuickHelper::getQuickItem(root, FIELD_REMOTE_SERVER_LOGIN);
if (!fieldRemoteServerLogin) {
qWarning() << "Failed to get fieldRemoteAdress:" << FIELD_REMOTE_SERVER_LOGIN;
retCode = false;
}
iconProjectPath = QuickHelper::getQuickItem(root, ICON_PROJECT_PATH);
if (!iconProjectPath) {
qWarning() << "Failed to get iconProjectPath:" << ICON_PROJECT_PATH;
retCode = false;
}
return retCode;
}
@ -153,11 +169,55 @@ void SettingsPageActivity::init()
QuickHelper::moveTextFiledX(fieldRemoteAdress);
QuickHelper::moveTextFiledX(fieldProjectPath);
QuickHelper::addMouseAreaElements(iconProjectPath,
[this] {clickChooseFolder();},
[this]{buttonEntered(iconProjectPath);},
[this]{buttonExited(iconProjectPath);});
QString componentText= R"(
import QtQuick 2.15
import QtQuick.Controls 2.15
import QtQuckApp // Импорт LoadFolderDialog.qml из текущей папки
Item {
width: 400
height: 300
// Ваш диалог
LoadFolderDialog {
id: folderDialog
onAccepted: {
quickUpdaterData.arrDifferentTypes[1]=folderDialog.selectedFolder
quickUpdaterData.arrDifferentTypes[0].invoke()
}
}
function openWithPath(initialPath) {
folderDialog.openWithPath(initialPath)
}
}
)";
QList<QVariant> list;
CallbackWrapper *wrapper = new CallbackWrapper([this]{handleChooseFolder();},iconProjectPath);
list.append(QVariant::fromValue(wrapper));
QObject* addedComponent = 0;
typesData = 0;
QuickHelper::addComponent(iconProjectPath,list,componentText,&addedComponent,&typesData);
if (addedComponent) {
QQuickItem *item = qobject_cast<QQuickItem *>(addedComponent);
if (item) {
loadProjectFolderDialog = item;
}
}
}
void SettingsPageActivity::showDialogSave(std::function<void()> doYes, std::function<void()> doNo, std::function<void()> doCancel)
{
CallbackWrapper *wraper = new CallbackWrapper([this]{textProjectPathChanged();},this);
QuickHelper::textChangedSubscription(fieldProjectPath,wraper);
@ -165,6 +225,7 @@ void SettingsPageActivity::showDialogSave(std::function<void()> doYes, std::func
QuickHelper::textChangedSubscription(fieldRemoteAdress,wraper);
QQuickItem *rootItem= qobject_cast<QQuickItem*>(::engine->rootObjects()[0]->children()[0]);
QString componentText = R"(
import QtQuick 2.15
import QtQuick.Controls 2.15
@ -240,6 +301,8 @@ Item {
QuickHelper::doFunction(parentItem, list, componentText, "showMe");
}
void SettingsPageActivity::textProjectPathChanged() {
textProjectPath = fieldProjectPath->property("text").toString();
}
@ -261,3 +324,41 @@ void SettingsPageActivity::isAllowChangePage(const std::function<void ()> &conti
void SettingsPageActivity::errorOccurredDynamycLoaderHandler(const QString &message)
{
}
void SettingsPageActivity::clickChooseFolder()
{
if (loadProjectFolderDialog) {
QString path = SettingsRepository::instance().defaultProjectDirectory();
QUrl url = QUrl::fromLocalFile(path);
// url.toString() → "file:///C:/Users/Name/file.txt"
// path = url.toLocalFile();
// path = url.toString();
QMetaObject::invokeMethod(loadProjectFolderDialog, "openWithPath",
Q_ARG(QVariant, url));
}
}
void SettingsPageActivity::handleChooseFolder()
{
if (loadProjectFolderDialog) {
QQmlContext * context= QuickHelper::getContextFromQObject(loadProjectFolderDialog);
QVariant var= context->contextProperty("quickUpdaterData");
QObject * object = context->contextObject();
QString val = typesData->getArrDifferentTypes()[1].toString();
QString str = context->property("quickUpdaterData.arrDifferentTypes[1]").toString();
}
}
void SettingsPageActivity::buttonEntered(QQuickItem * item){
// if (item->isEnabled()) {
// item->setProperty("color", QML::CORLOR_BUTTON_FOCUSED);
// }
}
void SettingsPageActivity::buttonExited(QQuickItem * item){
// if (item->isEnabled()) {
// item->setProperty("color", QML::CORLOR_BUTTON_BASE);
// }
}

View File

@ -8,6 +8,7 @@
class QQuickItem;
class DynamicLoader;
class QQmlEngine;
class ArrDifferentTypes;
class SettingsPageActivity : public QObject, public IPageActivity
{
@ -30,6 +31,16 @@ private:
const QString FIELD_REMOTE_ADDRESS = "RemoteAddressLabelField";
QQuickItem * fieldRemoteAdress = 0;
const QString ICON_PROJECT_PATH = "DefaultPathFolderIcon";
QQuickItem * iconProjectPath = 0;
const QString FIELD_REMOTE_SERVER_LOGIN = "RemoteServerLoginField";
QQuickItem * fieldRemoteServerLogin = 0;
const QString FIELD_REMOTE_SERVER_PASSWORD = "RemoteServerPasswordField";
QQuickItem * fieldRemoteServerPassword = 0;
QQuickItem * loadProjectFolderDialog = 0;
bool isAllElementsFound();
void init();
void destroyedHandler(QObject * = nullptr);
@ -38,6 +49,12 @@ private:
std::function<void()> doNo,
std::function<void()> doCancel);
void clickChooseFolder();
void handleChooseFolder();
void buttonEntered(QQuickItem *item);
void buttonExited(QQuickItem *item);
ArrDifferentTypes * typesData;
public:
QString textProjectPath;
QString textRemoteAddress;

View File

@ -14,10 +14,11 @@ find_package(Qt${QT_VERSION_MAJOR} REQUIRED COMPONENTS Core)
add_library(SharedIPC SHARED
include/SharedIPC_global.h
include/sharedipc.h
include/SharedIPCAdapter.h
ipc_interface.h
ipc_controller.cpp
arguments_parser.cpp
shared_ipc_adapter.cpp
)
target_link_libraries(SharedIPC PRIVATE Qt${QT_VERSION_MAJOR}::Core)

View File

@ -0,0 +1,24 @@
#ifndef SHAREDIPCADAPTER_H
#define SHAREDIPCADAPTER_H
#include <string>
#include <vector>
#include "SharedIPC_global.h"
class SharedIPCAdapterModel;
class SHAREDIPC_EXPORT SharedIPCAdapter {
private:
static SharedIPCAdapter * instance;
SharedIPCAdapterModel* model = 0;
public:
SharedIPCAdapter();
~SharedIPCAdapter();
static SharedIPCAdapter * Get();
void translateArgs(int argc, char**arv);
bool isSlaveCanSendMessage();
void sendMessageFromSlave(std::vector<std::string> message);
};
#endif // SHAREDIPCADAPTER_H

View File

@ -0,0 +1,94 @@
#include "SharedIPCAdapter.h"
#include "sharedipc.h"
#include "iostream"
class SharedIPCAdapterModel{
public:
ArgumentParser parser;
IPCController* masterCtrl = 0;
IPCController* slaveCtrl = 0;
};
SharedIPCAdapter::SharedIPCAdapter() {
model = new SharedIPCAdapterModel();
}
SharedIPCAdapter::~SharedIPCAdapter() {
if (model) {
delete model;
}
}
SharedIPCAdapter *SharedIPCAdapter::Get() {
if(instance == 0) {
instance = new SharedIPCAdapter();
}
return instance;
}
void SharedIPCAdapter::translateArgs(int argc, char **argv)
{
model->parser.parse(argc, argv);
std::string masterMemory = model->parser.masterMemory();
std::string slaveMemory = model->parser.slaveMemory();
if (masterMemory == "" || slaveMemory == "") {
std::cout <<"masterMemory or slave is null" << std::endl;
std::cout <<"masterMemory "<< masterMemory << std::endl;
std::cout <<"slaveMemory "<< slaveMemory << std::endl;
return;
}
IPCControllerFactory* factory = createIPCControllerFactory();
model->masterCtrl = factory->getController(masterMemory);
model->slaveCtrl = factory->getController(slaveMemory);
if(model->masterCtrl || model->slaveCtrl) return;
model->masterCtrl->setMessageCallback([](const std::string& msg) {
std::cout << "Received: " << msg << std::endl;
});
model->masterCtrl->startListening();
}
bool SharedIPCAdapter::isSlaveCanSendMessage()
{
if (model->slaveCtrl == 0) {
std::cout<< "model->slaveCtrl not init" << std::endl;
return false;
}
return true;
}
void SharedIPCAdapter::sendMessageFromSlave(std::vector<std::string> message)
{
if (model->slaveCtrl == 0) {
std::cout<< "model->slaveCtrl not init" << std::endl;
return;
}
if(message.empty()) {
std::cout<< "message is empty" << std::endl;
return;
}
std::string resStr = "";
auto it = message.cbegin();
auto itEnd = message.cend();
if (it != itEnd) {
while (true) {
resStr+=*it;
++it;
if(it != itEnd){
resStr+=';';
}else {
break;
}
}
}
model->slaveCtrl->sendMessage(resStr);
}
SharedIPCAdapter * SharedIPCAdapter::instance = 0;