17.06.2025 реализована логика заголовка очищен figma adapter добавл цикл подсчёта места на диске
1009
CMakeLists.txt.user
@ -32,17 +32,11 @@ qt_add_qml_module(appQtQuckApp
|
||||
QML_FILES
|
||||
Main.qml
|
||||
SOURCES figmaadapter.h figmaadapter.cpp
|
||||
SOURCES
|
||||
SOURCES callbackwrapper.h callbackwrapper.cpp
|
||||
SOURCES dynamicloader.h dynamicloader.cpp
|
||||
SOURCES
|
||||
SOURCES
|
||||
SOURCES mainpageactivity.h mainpageactivity.cpp
|
||||
SOURCES
|
||||
SOURCES quickhelper.h quickhelper.cpp
|
||||
QML_FILES qml/ScrollableTextList.qml
|
||||
QML_FILES
|
||||
SOURCES mainpagepresentor.h mainpagepresentor.cpp
|
||||
SOURCES FigmaQmlNames.h
|
||||
SOURCES settingsrepository.h settingsrepository.cpp
|
||||
SOURCES settingspageactivity.h settingspageactivity.cpp
|
||||
@ -68,12 +62,22 @@ qt_add_qml_module(appQtQuckApp
|
||||
QML_FILES qml/FolderComponent.qml
|
||||
QML_FILES qml/TileWrapper.qml
|
||||
RESOURCES
|
||||
PotreeViewer.js
|
||||
qml/images/folder.png
|
||||
qml/images/file.png
|
||||
QML_FILES qml/TileScrollablePanel.qml
|
||||
SOURCES projectpageppesentor.h projectpageppesentor.cpp
|
||||
# RESOURCES {$WIN32_RESOURCES}
|
||||
RESOURCES photosurface.rc
|
||||
SOURCES mainpageactivity.h mainpageactivity.cpp
|
||||
SOURCES mainpagepresentor.h mainpagepresentor.cpp
|
||||
SOURCES cycleupdater.h cycleupdater.cpp
|
||||
SOURCES headeractivity.h headeractivity.cpp
|
||||
SOURCES infopageactivity.h infopageactivity.cpp
|
||||
SOURCES selectfilesstageactivity.h selectfilesstageactivity.cpp
|
||||
SOURCES setupparamsstageactivity.h setupparamsstageactivity.cpp
|
||||
SOURCES translatingstageactivity.h translatingstageactivity.cpp
|
||||
SOURCES showstageactivity.h showstageactivity.cpp
|
||||
)
|
||||
|
||||
set_target_properties(appQtQuckApp PROPERTIES
|
||||
|
||||
@ -14,13 +14,13 @@ constexpr const char * MAIN = FIGMA_QML_PATH(FIGMA_MainWindow);
|
||||
}
|
||||
|
||||
namespace Pages {
|
||||
constexpr const char * MAIN = FIGMA_QML_PATH(FIGMA_MainPage);
|
||||
constexpr const char * PROJECT = FIGMA_QML_PATH(FIGMA_ProjectPage);
|
||||
constexpr const char * MAIN = FIGMA_QML_PATH(FIGMA_HomePage);
|
||||
constexpr const char * PROJECT = FIGMA_QML_PATH(FIGMA_ProjectsPage);
|
||||
constexpr const char * SETTINGS = FIGMA_QML_PATH(FIGMA_SettingsPage);
|
||||
constexpr const char * TRANSFORM = FIGMA_QML_PATH(FIGMA_ColumnCenter_transform);
|
||||
constexpr const char * TRANSLATING = FIGMA_QML_PATH(FIGMA_ColumnCenter_translating);
|
||||
constexpr const char * PROJECT_PASPORT = FIGMA_QML_PATH(FIGMA_ColumnLeft_resultTranslatePasport);
|
||||
constexpr const char * FOLDER_ICON = FIGMA_QML_PATH("FileComponent19_figma.qml");
|
||||
// constexpr const char * TRANSFORM = FIGMA_QML_PATH(FIGMA_ColumnCenter_transform);
|
||||
// constexpr const char * TRANSLATING = FIGMA_QML_PATH(FIGMA_ColumnCenter_translating);
|
||||
// constexpr const char * PROJECT_PASPORT = FIGMA_QML_PATH(FIGMA_ColumnLeft_resultTranslatePasport);
|
||||
|
||||
constexpr const char * FILE_ICON = FIGMA_QML_PATH("FolderComponent20_figma.qml");
|
||||
}
|
||||
namespace App{
|
||||
|
||||
@ -4,7 +4,8 @@
|
||||
|
||||
namespace QML {
|
||||
const QColor CORLOR_MENU_ITEM_SELECTED(qRgb(222,222,222));
|
||||
const QColor CORLOR_MENU_ITEM_BASE(qRgba(255,255,255,0));
|
||||
const QColor CORLOR_MENU_ITEM_BASE(qRgba(255,255,255,255));
|
||||
const QColor CORLOR_MENU_ITEM_BASE_Header(qRgba(204,204,204,0));
|
||||
const QColor CORLOR_MENU_ITEM_BASE_EXIT(qRgb(255,237,236));
|
||||
|
||||
|
||||
|
||||
@ -4,25 +4,16 @@ import QtQuick.Window
|
||||
import FigmaQmlInterface
|
||||
import QtQuckApp
|
||||
|
||||
// Window {
|
||||
// visible: true
|
||||
// width: 400
|
||||
// height: 300
|
||||
|
||||
// Loader {
|
||||
// sourceComponent: MyDynamicComponent
|
||||
// }
|
||||
// }
|
||||
ApplicationWindow {
|
||||
id: rootWindow
|
||||
width: 1600
|
||||
height: 900
|
||||
width: 600
|
||||
height: 450
|
||||
visible: true
|
||||
minimumWidth: width // Фиксированная ширина
|
||||
maximumWidth: width
|
||||
minimumHeight: height
|
||||
maximumHeight: height
|
||||
flags: Qt.Window | Qt.WindowTitleHint | Qt.WindowCloseButtonHint | Qt.WindowMinimizeButtonHint
|
||||
flags: Qt.Window | Qt.FramelessWindowHint
|
||||
color: "transparent" // Прозрачный фон (если нужно)
|
||||
title: "Кварц" // Пустой заголовок
|
||||
|
||||
@ -49,31 +40,6 @@ ApplicationWindow {
|
||||
font.pixelSize: 12
|
||||
}
|
||||
|
||||
// Обработчик перемещения окна
|
||||
MouseArea {
|
||||
anchors.fill: parent
|
||||
acceptedButtons: Qt.LeftButton | Qt.RightButton
|
||||
|
||||
property point clickPos: "0,0"
|
||||
|
||||
onPressed: {
|
||||
if (mouse.button === Qt.LeftButton) {
|
||||
clickPos = Qt.point(mouse.x, mouse.y)
|
||||
} else if (mouse.button === Qt.RightButton) {
|
||||
contextMenu.popup()
|
||||
}
|
||||
}
|
||||
|
||||
onPositionChanged: {
|
||||
if (pressedButtons === Qt.LeftButton) {
|
||||
var delta = Qt.point(mouse.x - clickPos.x,
|
||||
mouse.y - clickPos.y)
|
||||
rootWindow.x += delta.x
|
||||
rootWindow.y += delta.y
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Контекстное меню
|
||||
Menu {
|
||||
id: contextMenu
|
||||
@ -93,19 +59,4 @@ ApplicationWindow {
|
||||
FigmaQmlUi {
|
||||
anchors.fill: parent
|
||||
}
|
||||
|
||||
// ShowMessageDialog {
|
||||
// id: terwt
|
||||
// }
|
||||
|
||||
// onCompleted: {
|
||||
// showMessageDialog("234")
|
||||
// }
|
||||
// Обработчик события
|
||||
// FigmaQmlSingleton.onEventReceived: {
|
||||
// if (event === 'click_event' && element === 'temp_unit') {
|
||||
// currentUnitCelcius = !currentUnitCelcius; // Переключаем значение
|
||||
// console.log("Текущая единица измерения:", currentUnitCelcius ? "Цельсий" : "Фаренгейт");
|
||||
// }
|
||||
// }
|
||||
}
|
||||
|
||||
618
Quartz/PotreeViewer.js
Normal file
36
Quartz/cycleupdater.cpp
Normal file
@ -0,0 +1,36 @@
|
||||
#include "cycleupdater.h"
|
||||
#include "settingsrepository.h"
|
||||
#include <thread>
|
||||
|
||||
void CycleUpdater::start() {
|
||||
while (m_isRunning && m_isRunning->load()) {
|
||||
QString newPath = SettingsRepository::instance().defaultProjectDirectory();
|
||||
|
||||
if (newPath != m_oldPath) {
|
||||
m_oldPath = newPath;
|
||||
|
||||
QString tomPath;
|
||||
if (QDir::isAbsolutePath(m_oldPath)) {
|
||||
tomPath = getRootVolumeFromString(m_oldPath);
|
||||
} else {
|
||||
tomPath = getRootVolumeFromString(QDir::currentPath());
|
||||
}
|
||||
|
||||
if (!tomPath.isEmpty()) {
|
||||
m_storage.setPath(tomPath);
|
||||
if (m_storage.isValid() && m_storage.isReady()) {
|
||||
quint64 total = m_storage.bytesTotal();
|
||||
quint64 available = m_storage.bytesAvailable();
|
||||
|
||||
emit updateStorageInfo(static_cast<double>(available), static_cast<double>(total));
|
||||
} else {
|
||||
emit incorrectPath();
|
||||
}
|
||||
} else {
|
||||
emit incorrectPath();
|
||||
}
|
||||
}
|
||||
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(1000)); // безопаснее, чем std::this_thread::sleep_for в Qt
|
||||
}
|
||||
}
|
||||
51
Quartz/cycleupdater.h
Normal file
@ -0,0 +1,51 @@
|
||||
#ifndef CYCLEUPDATER_H
|
||||
#define CYCLEUPDATER_H
|
||||
|
||||
#include <QObject>
|
||||
#include <QStorageInfo>
|
||||
|
||||
class CycleUpdater : public QObject {
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit CycleUpdater(std::atomic<bool> *isRunning, QObject *parent = nullptr)
|
||||
: QObject(parent), m_isRunning(isRunning) {}
|
||||
|
||||
void start();
|
||||
|
||||
static QString getRootVolumeFromString(const QString &path) {
|
||||
// Проверяем, начинается ли путь с "X:\" или "X:/"
|
||||
if (path.length() >= 3 &&
|
||||
path[1] == ':' &&
|
||||
(path[2] == '\\' || path[2] == '/')) {
|
||||
return path.left(3).replace('\\', '/'); // Возвращаем "X:/"
|
||||
}
|
||||
|
||||
// UNC пути (сетевые): \\server\share\...
|
||||
if (path.startsWith("\\\\") || path.startsWith("//")) {
|
||||
int thirdSlash = path.indexOf('/', 2);
|
||||
if (thirdSlash != -1) {
|
||||
int fourthSlash = path.indexOf('/', thirdSlash + 1);
|
||||
if (fourthSlash != -1) {
|
||||
return path.mid(0, fourthSlash); // Например, "\\server\share"
|
||||
}
|
||||
return path.mid(0, thirdSlash); // Например, "\\server"
|
||||
}
|
||||
return path; // Вернуть как есть, если только начало UNC
|
||||
}
|
||||
|
||||
return QString(); // Не удалось извлечь диск
|
||||
}
|
||||
|
||||
signals:
|
||||
void updateStorageInfo(double available, double total);
|
||||
void incorrectPath();
|
||||
|
||||
private:
|
||||
QString m_oldPath;
|
||||
QStorageInfo m_storage;
|
||||
std::atomic<bool> *m_isRunning = nullptr;
|
||||
};
|
||||
|
||||
|
||||
#endif // CYCLEUPDATER_H
|
||||
@ -18,358 +18,18 @@
|
||||
#include "thread"
|
||||
#include "singalizer.h"
|
||||
#include "projectpageactivity.h"
|
||||
|
||||
#include <QStorageInfo>
|
||||
|
||||
const char * HOME_ITEM = "HomeItem";
|
||||
const char * PROJECT_ITEM = "ProjectsItem";
|
||||
const char * SETTINGS_ITEM = "SettingsItem";
|
||||
const char * CLOSE_ITEM = "CloseItem";
|
||||
|
||||
FigmaAdapter::FigmaAdapter(void * figmaQtInstance, QQmlApplicationEngine &engine, QObject *parent)
|
||||
: QObject{parent} , engine(engine)
|
||||
{
|
||||
figmaAdapter = figmaQtInstance;
|
||||
// connect(getFigmaAdapter(), &FigmaQmlSingleton::eventReceived, this, &FigmaAdapter::eventReceived);
|
||||
// connect(getFigmaAdapter(), &FigmaQmlSingleton::viewLoaded, this, &FigmaAdapter::viewLoaded);
|
||||
loader = new DynamicLoader(&engine,this);
|
||||
connect(loader,&DynamicLoader::componentCreated, this, &FigmaAdapter::componentCreated);
|
||||
connect(loader,&DynamicLoader::errorOccurred, this, &FigmaAdapter::errorOccurred);
|
||||
saveSettingClickCallback = [this]{saveSettingClick();};
|
||||
}
|
||||
|
||||
FigmaAdapter::~FigmaAdapter()
|
||||
{
|
||||
if(isFigmaAdapterLyfe){
|
||||
*isFigmaAdapterLyfe = false;
|
||||
}
|
||||
}
|
||||
|
||||
void FigmaAdapter::Init()
|
||||
{
|
||||
auto list = engine.rootObjects();
|
||||
if (list.empty()) {
|
||||
return;
|
||||
}
|
||||
QObject *rootObject = engine.rootObjects().first();
|
||||
|
||||
updateElement(rootObject, HOME_ITEM, [this](QObject* rootObject, std::function<void()> onClickAction){
|
||||
QuickHelper::addMouseAreaElements(rootObject,
|
||||
[this]{ homeItemClick();},
|
||||
[this,rootObject]{headerEntered((QQuickItem*)rootObject);},
|
||||
[this,rootObject]{headerExited((QQuickItem*)rootObject);}
|
||||
);
|
||||
},0);
|
||||
|
||||
updateElement(rootObject, PROJECT_ITEM, [this](QObject* rootObject, std::function<void()> onClickAction){
|
||||
QuickHelper::addMouseAreaElements(rootObject,
|
||||
[this]{ projectsItemClick();},
|
||||
[this,rootObject]{headerEntered((QQuickItem*)rootObject);},
|
||||
[this,rootObject]{headerExited((QQuickItem*)rootObject);}
|
||||
);
|
||||
},0);
|
||||
updateElement(rootObject, SETTINGS_ITEM, [this](QObject* rootObject, std::function<void()> onClickAction){
|
||||
QuickHelper::addMouseAreaElements(rootObject,
|
||||
[this]{ settingsItemClick();},
|
||||
[this,rootObject]{headerEntered((QQuickItem*)rootObject);},
|
||||
[this,rootObject]{headerExited((QQuickItem*)rootObject);}
|
||||
);
|
||||
},0);
|
||||
|
||||
updateElement(rootObject, CLOSE_ITEM, [this](QObject* rootObject, std::function<void()> onClickAction){
|
||||
QuickHelper::addMouseAreaElements(rootObject,
|
||||
[this]{ closeItemClick();},
|
||||
[this,rootObject]{headerEntered((QQuickItem*)rootObject);},
|
||||
[this,rootObject]{headerExited((QQuickItem*)rootObject, QML::CORLOR_MENU_ITEM_BASE_EXIT);}
|
||||
);
|
||||
},0);
|
||||
|
||||
labelAvailibleSizeButton = QuickHelper::getQuickItem(rootObject, LABEL_AVAILIBLE_SIZE);
|
||||
rectAvailibleSize = QuickHelper::getQuickItem(rootObject, RECT_AVAILIBLE_SIZE_BAR);
|
||||
rectPassedBar = QuickHelper::getQuickItem(rootObject, RECT_AVAILIBLE_PASSED_BAR);
|
||||
componentLabelAvailibleSize = QuickHelper::getQuickItem(rootObject, COMPONENT_LABEL_AVAILIBLE_SIZE);
|
||||
homeItemClick();
|
||||
|
||||
if (rectAvailibleSize && rectPassedBar){
|
||||
progressBarController = QuickHelper::addProgressBar(rectAvailibleSize,rectAvailibleSize,rectPassedBar);
|
||||
}
|
||||
|
||||
isFigmaAdapterLyfe = new bool(true);
|
||||
std::thread th([this] {
|
||||
bool *check = isFigmaAdapterLyfe;
|
||||
while (*check) {
|
||||
updateStorageInfo();
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(1000));
|
||||
}
|
||||
delete check;
|
||||
});
|
||||
|
||||
th.detach();
|
||||
|
||||
if (componentLabelAvailibleSize) {
|
||||
QObject *addedComponent = 0;
|
||||
QuickHelper::addMouseAreaElements(componentLabelAvailibleSize->parent(),
|
||||
[this]{if(clickableStorageInfo->isEnabled())settingsItemClick();},
|
||||
[this]{if(clickableStorageInfo->isEnabled())headerEntered((QQuickItem*)componentLabelAvailibleSize->parent());},
|
||||
[this]{if(clickableStorageInfo->isEnabled())headerExited((QQuickItem*)componentLabelAvailibleSize->parent());}, &addedComponent
|
||||
);
|
||||
|
||||
if (addedComponent) {
|
||||
clickableStorageInfo = qobject_cast<QQuickItem*>(addedComponent);
|
||||
}
|
||||
}
|
||||
|
||||
if (labelAvailibleSizeButton) {
|
||||
QuickHelper::setPorpetryEnumerator(
|
||||
labelAvailibleSizeButton,"FontSizeMode", "fontSizeMode", "HorizontalFit"
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
void FigmaAdapter::updateElement(QObject *rootObject, const QString &elementName,
|
||||
std::function<void(QObject*, std::function<void()>)> updateItemFunction,
|
||||
std::function<void()> onClick)
|
||||
{
|
||||
QuickHelper::updateElement(rootObject,elementName,updateItemFunction, onClick);
|
||||
}
|
||||
|
||||
void FigmaAdapter::homeItemClick()
|
||||
{
|
||||
qDebug()<< "homeItemClick";
|
||||
loadPage(QML::Pages::MAIN,[this]{homeItemLoaded();});
|
||||
}
|
||||
|
||||
void FigmaAdapter::homeItemLoaded()
|
||||
{
|
||||
QObject *rootObject = engine.rootObjects().first();
|
||||
QQuickItem * mainViewItem = QuickHelper::getQuickItem(rootObject, "MainView");
|
||||
|
||||
if(!mainViewItem) return;
|
||||
// QObjectList listChildren = mainViewItem->children();
|
||||
|
||||
QQuickItem * mainPage;
|
||||
mainPage = QuickHelper::getQuickItem(mainViewItem, "MainPage");
|
||||
|
||||
MainPageActivity * mainPageActivity = 0;
|
||||
|
||||
if (rootObject && mainViewItem) {
|
||||
mainPageActivity = new MainPageActivity(mainViewItem,mainPage);
|
||||
activity = mainPageActivity;
|
||||
}
|
||||
|
||||
MainPagePresentor *presentor = new MainPagePresentor(mainPageActivity, mainPage);
|
||||
engine.rootContext()->setContextProperty("mainViewPresentor", presentor);
|
||||
}
|
||||
|
||||
#include "projectpageppesentor.h"
|
||||
|
||||
void FigmaAdapter::projectsItemClick()
|
||||
{
|
||||
qDebug()<< "projectsItemClick";
|
||||
loadPage(QML::Pages::PROJECT,[this]{projectsItemLoaded();});
|
||||
}
|
||||
|
||||
void FigmaAdapter::projectsItemLoaded()
|
||||
{
|
||||
QObject *rootObject = engine.rootObjects().first();
|
||||
QQuickItem * mainViewItem = QuickHelper::getQuickItem(rootObject, "MainView");
|
||||
|
||||
if (!mainViewItem) return;
|
||||
|
||||
QQuickItem * projectPage;
|
||||
projectPage = QuickHelper::getQuickItem(mainViewItem, "ProjectPage");
|
||||
|
||||
ProjectPageActivity * projectPageActivity = 0;
|
||||
|
||||
if (rootObject && mainViewItem) {
|
||||
projectPageActivity = new ProjectPageActivity(mainViewItem, projectPage);
|
||||
activity = projectPageActivity;
|
||||
}
|
||||
|
||||
ProjectPagePesentor * presentor = new ProjectPagePesentor(projectPageActivity, projectPage);
|
||||
}
|
||||
|
||||
void FigmaAdapter::settingsItemClick()
|
||||
{
|
||||
qDebug()<< "settingsItemClick";
|
||||
loadPage(QML::Pages::SETTINGS, [this]{settingsItemLoaded();});
|
||||
}
|
||||
|
||||
void FigmaAdapter::settingsItemLoaded() {
|
||||
QObject *rootObject = engine.rootObjects().first();
|
||||
QQuickItem * mainViewItem = QuickHelper::getQuickItem(rootObject, "MainView");
|
||||
|
||||
if(!mainViewItem) return;
|
||||
|
||||
QQuickItem * settingsPage;
|
||||
settingsPage = QuickHelper::getQuickItem(mainViewItem, "SettingsPage");
|
||||
|
||||
SettingsPageActivity * settingsPageActivity = 0;
|
||||
|
||||
if (rootObject && mainViewItem) {
|
||||
settingsPageActivity = new SettingsPageActivity(mainViewItem,saveSettingClickCallback, settingsPage);
|
||||
activity = settingsPageActivity;
|
||||
}
|
||||
}
|
||||
|
||||
void FigmaAdapter::closeItemClick()
|
||||
{
|
||||
qDebug()<< "closeItemClick";
|
||||
exit(0);
|
||||
}
|
||||
|
||||
void FigmaAdapter::loadPage(const QString& pageName, std::function<void()> onPageLoaded) {
|
||||
QObject *rootObject = engine.rootObjects().first();
|
||||
|
||||
QString page = pageName;//DEFAULT_PAGE_PATH +
|
||||
|
||||
auto updateFunc = [this, page, onPageLoaded](QObject* rootObject, std::function<void()> ) {
|
||||
doActionOnSuccessAllowChangePaged = [this, rootObject,page, onPageLoaded]{
|
||||
QQuickItem* parentItem = qobject_cast<QQuickItem*>(rootObject);
|
||||
|
||||
Helper::clearChildren(parentItem);
|
||||
|
||||
if (!parentItem) {
|
||||
qWarning() << "[C++] Root object is not a QQuickItem";
|
||||
return;
|
||||
}
|
||||
|
||||
QQmlEngine* engine = qmlEngine(rootObject);
|
||||
|
||||
if (!engine) {
|
||||
qWarning() << "[C++] Failed to get QQmlEngine";
|
||||
return;
|
||||
}
|
||||
|
||||
QQuickItem *createdComponent = 0;
|
||||
loader->createComponent(page , parentItem, &createdComponent);
|
||||
|
||||
if (createdComponent) {
|
||||
if (activity) {
|
||||
activity->pageChanged();
|
||||
activity = 0;
|
||||
}
|
||||
onPageLoaded();
|
||||
}
|
||||
};
|
||||
|
||||
doActionOnBlockAllowChangePaged = []{};
|
||||
|
||||
if (activity) {
|
||||
activity->isAllowChangePage(doActionOnSuccessAllowChangePaged,doActionOnBlockAllowChangePaged);
|
||||
} else {
|
||||
doActionOnSuccessAllowChangePaged();
|
||||
}
|
||||
};
|
||||
|
||||
updateElement(rootObject,"MainView", updateFunc, 0);
|
||||
}
|
||||
|
||||
quint64 getFreeDiskSpace(const QString &path, qint64*totalBytes = 0)
|
||||
{
|
||||
QStorageInfo storage(path);
|
||||
|
||||
if (!storage.isValid() || !storage.isReady()) {
|
||||
qWarning() << "Неверный путь или диск не готов:" << path;
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (storage.isReadOnly()) {
|
||||
qWarning() << "Диск доступен только для чтения:" << path;
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (totalBytes) {
|
||||
*totalBytes = storage.bytesTotal();
|
||||
}
|
||||
|
||||
return storage.bytesAvailable();
|
||||
}
|
||||
|
||||
void FigmaAdapter::hideStorageInfo() {
|
||||
if (clickableStorageInfo) {
|
||||
clickableStorageInfo->setEnabled(true);
|
||||
}
|
||||
|
||||
if (componentLabelAvailibleSize) {
|
||||
componentLabelAvailibleSize->setVisible(false);
|
||||
}
|
||||
|
||||
if (rectAvailibleSize) {
|
||||
rectAvailibleSize->setVisible(false);
|
||||
}
|
||||
|
||||
if (rectPassedBar){
|
||||
rectPassedBar->setVisible(false);
|
||||
}
|
||||
|
||||
if (labelAvailibleSizeButton) {
|
||||
labelAvailibleSizeButton->setProperty("text", "Хранилище не задано");
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
void FigmaAdapter::showStorageInfo(const QString &path) {
|
||||
if (clickableStorageInfo) {
|
||||
clickableStorageInfo->setEnabled(false);
|
||||
}
|
||||
|
||||
if (componentLabelAvailibleSize) {
|
||||
componentLabelAvailibleSize->setVisible(true);
|
||||
}
|
||||
|
||||
if (rectAvailibleSize){
|
||||
rectAvailibleSize->setVisible(true);
|
||||
}
|
||||
|
||||
if (rectPassedBar) {
|
||||
rectPassedBar->setVisible(true);
|
||||
}
|
||||
|
||||
qint64 totalBytes = 0;
|
||||
quint64 freeBytes = getFreeDiskSpace(path, &totalBytes);
|
||||
|
||||
if (freeBytes < SettingsRepository::instance().memoryLimitMinBytes()) {
|
||||
emit Signalizer::get().reachedLimitAvailibleMemortSize();
|
||||
}
|
||||
|
||||
QString numberFormat = QString::number(freeBytes / (1024.0 * 1024.0 * 1024.0), 'f', 2);
|
||||
|
||||
if (labelAvailibleSizeButton) {
|
||||
labelAvailibleSizeButton->setProperty("text", numberFormat + " Гб");
|
||||
}
|
||||
|
||||
if (progressBarController) {
|
||||
double percent = 1.0 *freeBytes / totalBytes;
|
||||
percent = 1 - percent;
|
||||
percent*=100;
|
||||
QMetaObject::invokeMethod(progressBarController, "setPercent",
|
||||
Q_ARG(QVariant,percent ));
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
void FigmaAdapter::updateStorageInfo()
|
||||
{
|
||||
QString path = SettingsRepository::instance().defaultProjectDirectory();
|
||||
|
||||
if (path == "") {
|
||||
hideStorageInfo();
|
||||
return;
|
||||
}
|
||||
|
||||
showStorageInfo(path);
|
||||
|
||||
}
|
||||
|
||||
#include "httpproxyserver.h"
|
||||
#include "headeractivity.h"
|
||||
#include "QQuickWindow"
|
||||
|
||||
void FigmaAdapter::saveSettingClick()
|
||||
void saveSettingClick(IPageActivity *activity)
|
||||
{
|
||||
qDebug() << "FigmaAdapter::saveSettingClick";
|
||||
SettingsPageActivity* activitySettings = (SettingsPageActivity*)(activity);
|
||||
|
||||
|
||||
// update projectdir
|
||||
{
|
||||
QFileInfo url(activitySettings->textProjectPath);
|
||||
@ -405,48 +65,173 @@ void FigmaAdapter::saveSettingClick()
|
||||
}
|
||||
}
|
||||
|
||||
void FigmaAdapter::eventReceived(const QString &element, const QString &event)
|
||||
FigmaAdapter::FigmaAdapter(void * figmaQtInstance, QQmlApplicationEngine &engine, QObject *parent)
|
||||
: QObject{parent} , engine(engine)
|
||||
{
|
||||
qDebug() << "event: "<< event << " element: " << element;
|
||||
saveSettingClickCallback = [this]{saveSettingClick(activity);};
|
||||
}
|
||||
|
||||
void FigmaAdapter::componentCreated(QQuickItem *item)
|
||||
FigmaAdapter::~FigmaAdapter()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void FigmaAdapter::errorOccurred(const QString &message)
|
||||
{
|
||||
qDebug()<< message;
|
||||
}
|
||||
|
||||
|
||||
void FigmaAdapter::headerEntered(QQuickItem *item)
|
||||
{
|
||||
if (item->isEnabled()) {
|
||||
item->setProperty("color", QML::CORLOR_MENU_ITEM_SELECTED);
|
||||
if (isFigmaAdapterLyfe) {
|
||||
*isFigmaAdapterLyfe = false;
|
||||
}
|
||||
}
|
||||
|
||||
void FigmaAdapter::headerExited(QQuickItem *item, const QColor & color)
|
||||
void FigmaAdapter::Init()
|
||||
{
|
||||
if (item->isEnabled()) {
|
||||
item->setProperty("color", color);
|
||||
auto list = engine.rootObjects();
|
||||
if (list.empty()) {
|
||||
return;
|
||||
}
|
||||
rootObject = engine.rootObjects().first();
|
||||
|
||||
isFigmaAdapterLyfe = new bool(true);
|
||||
doActionOnBlockAllowChangePaged = []{};
|
||||
|
||||
if(isAllElementsFound() == false) return;
|
||||
|
||||
QQuickItem * headerItem = addContentToItem(сontentHeader,FIGMA_ComponentTitle);
|
||||
if (headerItem) {
|
||||
HeaderActivity * activity = new HeaderActivity(headerItem,headerItem);
|
||||
connect(activity, &HeaderActivity::newProjectItemClick,this, &FigmaAdapter::newProjectItemClicked);
|
||||
connect(activity,&HeaderActivity::projectItemClick,this,&FigmaAdapter::projectItemClicked);
|
||||
connect(activity,&HeaderActivity::homeClick,this,&FigmaAdapter::homeClicked);
|
||||
connect(activity,&HeaderActivity::closeWindowClick, this,&FigmaAdapter::closeWindowClicked);
|
||||
connect(activity,&HeaderActivity::hideWindowClick, this,&FigmaAdapter::hideWindowClicked);
|
||||
}
|
||||
|
||||
showHomePage();
|
||||
}
|
||||
|
||||
void FigmaAdapter::Helper::clearChildren(QQuickItem *parentItem)
|
||||
bool FigmaAdapter::isAllElementsFound()
|
||||
{
|
||||
const auto children = parentItem->children();
|
||||
bool retCode = true;
|
||||
сontentHeader = QuickHelper::getQuickItem(rootObject, CONTENT_HEADER);
|
||||
if (!сontentHeader) {
|
||||
qWarning() << "Failed to get fieldContentHeader:" << CONTENT_HEADER;
|
||||
retCode = false;
|
||||
}
|
||||
|
||||
if (children.size()) {
|
||||
сontentMain = QuickHelper::getQuickItem(rootObject, CONTENT_MAIN);
|
||||
if (!сontentMain) {
|
||||
qWarning() << "Failed to get fieldContentMain:" << CONTENT_MAIN;
|
||||
retCode = false;
|
||||
}
|
||||
|
||||
for (QObject* child : children) {
|
||||
if (QQuickItem* item = qobject_cast<QQuickItem*>(child)) {
|
||||
item->setParentItem(nullptr);
|
||||
item->setParent(nullptr);
|
||||
item->deleteLater();
|
||||
}
|
||||
return retCode;
|
||||
}
|
||||
|
||||
QQuickItem * FigmaAdapter::addContentToItem(QQuickItem *parentItem, QString name)
|
||||
{
|
||||
QString componentName = name.left(name.size()-4);
|
||||
QString textCompnent = R"(
|
||||
import FigmaQmlInterface
|
||||
)";
|
||||
|
||||
textCompnent += componentName;
|
||||
textCompnent += R"(
|
||||
{
|
||||
id: customComponent
|
||||
}
|
||||
)";
|
||||
QVariantList listItems;
|
||||
QObject *createdComponent = 0;
|
||||
QQuickItem *createdComponentItem = 0;
|
||||
QuickHelper::addComponent(parentItem, listItems,textCompnent, &createdComponent);
|
||||
|
||||
if (createdComponent) {
|
||||
|
||||
createdComponentItem = qobject_cast<QQuickItem*>(createdComponent);
|
||||
|
||||
if (createdComponentItem && activity) {
|
||||
activity->pageChanged();
|
||||
activity = 0;
|
||||
}
|
||||
}
|
||||
|
||||
return createdComponentItem;
|
||||
}
|
||||
|
||||
void FigmaAdapter::loadPage(const QString& pageName, std::function<void()> onPageLoaded) {
|
||||
QObject *rootObject = сontentMain; //engine.rootObjects().first();
|
||||
|
||||
QString page = pageName;
|
||||
|
||||
auto updateFunc = [this, page, onPageLoaded](QObject* rootObject) {
|
||||
doActionOnSuccessAllowChangePaged = [this, rootObject,page, onPageLoaded]{
|
||||
QQuickItem* parentItem = qobject_cast<QQuickItem*>(rootObject);
|
||||
|
||||
QuickHelper::clearChildren(parentItem);
|
||||
|
||||
if (!parentItem) {
|
||||
qWarning() << "[C++] Root object is not a QQuickItem";
|
||||
return;
|
||||
}
|
||||
|
||||
addContentToItem(parentItem,page);
|
||||
|
||||
if (onPageLoaded != nullptr) onPageLoaded();
|
||||
};
|
||||
|
||||
if (activity) {
|
||||
activity->isAllowChangePage(doActionOnSuccessAllowChangePaged,doActionOnBlockAllowChangePaged);
|
||||
} else {
|
||||
doActionOnSuccessAllowChangePaged();
|
||||
}
|
||||
};
|
||||
|
||||
updateFunc(rootObject);
|
||||
|
||||
// HeaderActivity
|
||||
}
|
||||
void FigmaAdapter::showHomePage()
|
||||
{
|
||||
loadPage(FIGMA_HomePage,[this] {showHomePageLoaded();});
|
||||
}
|
||||
|
||||
void FigmaAdapter::showHomePageLoaded()
|
||||
{
|
||||
|
||||
// QQuickItem * mainPage;
|
||||
// mainPage = QuickHelper::getQuickItem(mainViewItem, "MainPage");
|
||||
|
||||
// MainPageActivity * mainPageActivity = 0;
|
||||
|
||||
// if (rootObject && mainViewItem) {
|
||||
// mainPageActivity = new MainPageActivity(mainViewItem,mainPage);
|
||||
// activity = mainPageActivity;
|
||||
// }
|
||||
|
||||
// MainPagePresentor *presentor = new MainPagePresentor(mainPageActivity, mainPage);
|
||||
// engine.rootContext()->setContextProperty("mainViewPresentor", presentor);
|
||||
}
|
||||
|
||||
void FigmaAdapter::closeWindowClicked()
|
||||
{
|
||||
exit(0);
|
||||
}
|
||||
|
||||
void FigmaAdapter::hideWindowClicked()
|
||||
{
|
||||
сontentHeader->window()->showMinimized();
|
||||
}
|
||||
|
||||
void FigmaAdapter::newProjectItemClicked()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void FigmaAdapter::projectItemClicked()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void FigmaAdapter::homeClicked()
|
||||
{
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@ -15,13 +15,12 @@ class FigmaAdapter : public QObject
|
||||
Q_OBJECT
|
||||
|
||||
bool *isFigmaAdapterLyfe = 0;
|
||||
DynamicLoader* loader = 0;
|
||||
private:
|
||||
void * figmaAdapter;
|
||||
QQmlApplicationEngine &engine;
|
||||
std::function<void()> saveSettingClickCallback;
|
||||
std::function<void()> doActionOnSuccessAllowChangePaged;
|
||||
std::function<void()> doActionOnBlockAllowChangePaged;
|
||||
std::function<void()> saveSettingClickCallback;
|
||||
|
||||
private:
|
||||
QQmlApplicationEngine &engine;
|
||||
|
||||
public:
|
||||
explicit FigmaAdapter(void * figmaQtInstance, QQmlApplicationEngine &engine, QObject *parent = nullptr);
|
||||
@ -29,66 +28,30 @@ public:
|
||||
void Init();
|
||||
|
||||
private:
|
||||
static void updateElement (
|
||||
QObject *rootObject,
|
||||
const QString& elementName,
|
||||
std::function<void(QObject*, std::function<void()>)> updateItemFunction,
|
||||
std::function<void()> onClick
|
||||
);
|
||||
|
||||
// handler clicks
|
||||
void homeItemClick();
|
||||
void homeItemLoaded();
|
||||
void projectsItemClick();
|
||||
void projectsItemLoaded();
|
||||
void settingsItemClick();
|
||||
void settingsItemLoaded();
|
||||
void closeItemClick();
|
||||
bool isAllElementsFound();
|
||||
QQuickItem * addContentToItem(QQuickItem *item, QString name);
|
||||
void loadPage(const QString& pageName,std::function<void()> onPageLoaded = nullptr);
|
||||
void updateStorageInfo();
|
||||
|
||||
void saveSettingClick();
|
||||
class Helper {
|
||||
public:
|
||||
static void clearChildren(QQuickItem* parentItem);
|
||||
};
|
||||
|
||||
|
||||
private:
|
||||
const QString LABEL_AVAILIBLE_SIZE = "LabelAvailibleSizeButton";
|
||||
QQuickItem * labelAvailibleSizeButton = 0;
|
||||
|
||||
const QString RECT_AVAILIBLE_SIZE_BAR = "AvailibleSizeProgressBar";
|
||||
QQuickItem * rectAvailibleSize = 0;
|
||||
|
||||
const QString COMPONENT_LABEL_AVAILIBLE_SIZE = "LabelAvailibleSizeComponent";
|
||||
QQuickItem * componentLabelAvailibleSize = 0;
|
||||
|
||||
|
||||
const QString RECT_AVAILIBLE_PASSED_BAR = "AvailibleSizeProgressBarPassedBar";
|
||||
QQuickItem * rectPassedBar = 0;
|
||||
// const QString DEFAULT_PAGE_PATH = "pages/FigmaQmlInterface/qml/";
|
||||
|
||||
QQuickItem * progressBarController = 0;
|
||||
|
||||
const QString DEFAULT_PAGE_PATH = FIGMA_QML_BASE_PATH;
|
||||
// const QString MAIN_PAGE = "TestPage_MainPage2_figma.qml";
|
||||
// const QString SETTINS_PAGE = "TestPage_SettingsPage2_figma.qml";
|
||||
// const QString PROJECTS_PAGE = "TestPage_ProjectPage2_figma.qml";
|
||||
|
||||
private:
|
||||
IPageActivity *activity = 0;
|
||||
void headerExited(QQuickItem *item, const QColor &color= QML::CORLOR_MENU_ITEM_BASE);
|
||||
void hideStorageInfo();
|
||||
void showStorageInfo(const QString &path);
|
||||
QQuickItem * clickableStorageInfo = 0;
|
||||
public slots:
|
||||
void eventReceived(const QString& element, const QString& event);
|
||||
QObject *rootObject = nullptr;
|
||||
|
||||
|
||||
const QString CONTENT_HEADER = "ContentHeader";
|
||||
const QString CONTENT_MAIN = "ContentMain";
|
||||
|
||||
QQuickItem *сontentHeader = 0;
|
||||
QQuickItem *сontentMain = 0;
|
||||
|
||||
private slots:
|
||||
void componentCreated(QQuickItem* item);
|
||||
void errorOccurred(const QString& message);
|
||||
void headerEntered(QQuickItem*item);
|
||||
void showHomePage();
|
||||
void showHomePageLoaded();
|
||||
|
||||
void closeWindowClicked();
|
||||
void hideWindowClicked();
|
||||
void newProjectItemClicked();
|
||||
void projectItemClicked();
|
||||
void homeClicked();
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
236
Quartz/headeractivity.cpp
Normal file
@ -0,0 +1,236 @@
|
||||
#include "headeractivity.h"
|
||||
#include "quickhelper.h"
|
||||
#include "qdebug.h"
|
||||
#include <QQuickItem>
|
||||
#include "FigmaStyles.h"
|
||||
#include "callbackwrapper.h"
|
||||
#include "ArrDifferentTypes.h"
|
||||
#include <QQuickWindow>
|
||||
|
||||
HeaderActivity::HeaderActivity(QQuickItem * item, QObject *parent)
|
||||
: QObject{parent}, root(item)
|
||||
{
|
||||
if (!item) {
|
||||
return;
|
||||
}
|
||||
|
||||
init();
|
||||
}
|
||||
|
||||
void HeaderActivity::pageChanged()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void HeaderActivity::isAllowChangePage(const std::function<void ()> &continueChange, const std::function<void ()> &blockChange)
|
||||
{
|
||||
continueChange();
|
||||
}
|
||||
|
||||
void HeaderActivity::init()
|
||||
{
|
||||
QString name = root->objectName();
|
||||
if (!isAlllElementFound()) return;
|
||||
|
||||
addMouseAreaToElementsToNavigation();
|
||||
}
|
||||
|
||||
void HeaderActivity::addMouseAreaToElementsToNavigation(){
|
||||
|
||||
QuickHelper::addMouseAreaElements(fieldHideWindow,
|
||||
[this] {
|
||||
emit hideWindowClick();
|
||||
},
|
||||
[this]{
|
||||
if (fieldHideWindow->isEnabled()) {
|
||||
fieldHideWindow->setProperty("color", QML::CORLOR_MENU_ITEM_SELECTED);
|
||||
}
|
||||
},
|
||||
[this]{
|
||||
if (fieldHideWindow->isEnabled()) {
|
||||
fieldHideWindow->setProperty("color", QML::CORLOR_MENU_ITEM_BASE_Header);
|
||||
}
|
||||
});
|
||||
|
||||
QuickHelper::addMouseAreaElements(fieldCreateProject,
|
||||
[this] {
|
||||
emit newProjectItemClick();
|
||||
},
|
||||
[this]{
|
||||
if (fieldCreateProject->isEnabled()) {
|
||||
fieldCreateProject->setProperty("color", QML::CORLOR_MENU_ITEM_SELECTED);
|
||||
}
|
||||
},
|
||||
[this]{
|
||||
if (fieldCreateProject->isEnabled()) {
|
||||
fieldCreateProject->setProperty("color", QML::CORLOR_MENU_ITEM_BASE_Header);
|
||||
}
|
||||
});
|
||||
|
||||
QuickHelper::addMouseAreaElements(fieldProjects,
|
||||
[this] {
|
||||
emit projectItemClick();
|
||||
},
|
||||
[this]{
|
||||
if (fieldProjects->isEnabled()) {
|
||||
fieldProjects->setProperty("color", QML::CORLOR_MENU_ITEM_SELECTED);
|
||||
}
|
||||
},
|
||||
[this]{
|
||||
if (fieldProjects->isEnabled()) {
|
||||
fieldProjects->setProperty("color", QML::CORLOR_MENU_ITEM_BASE_Header);
|
||||
}
|
||||
});
|
||||
|
||||
QuickHelper::addMouseAreaElements(fieldHome,
|
||||
[this] {
|
||||
emit homeClick();
|
||||
},
|
||||
[this]{
|
||||
if (fieldHome->isEnabled()) {
|
||||
fieldHome->setProperty("color", QML::CORLOR_MENU_ITEM_SELECTED);
|
||||
}
|
||||
},
|
||||
[this]{
|
||||
if (fieldHome->isEnabled()) {
|
||||
fieldHome->setProperty("color", QML::CORLOR_MENU_ITEM_BASE_Header);
|
||||
}
|
||||
});
|
||||
|
||||
QuickHelper::addMouseAreaElements(fieldCloseWindow,
|
||||
[this] {
|
||||
emit closeWindowClick();
|
||||
},
|
||||
[this] {
|
||||
if (fieldCloseWindow->isEnabled()) {
|
||||
fieldCloseWindow->setProperty("color", QML::CORLOR_MENU_ITEM_BASE_EXIT);
|
||||
}
|
||||
},
|
||||
[this] {
|
||||
if (fieldCloseWindow->isEnabled()) {
|
||||
fieldCloseWindow->setProperty("color", QML::CORLOR_MENU_ITEM_BASE_Header);
|
||||
}
|
||||
});
|
||||
|
||||
QString addComponent = QString::fromLocal8Bit(R"(
|
||||
import QtQuick
|
||||
import QtQuick.Controls
|
||||
|
||||
MouseArea {
|
||||
id: root
|
||||
anchors.fill: parent
|
||||
acceptedButtons: Qt.LeftButton | Qt.RightButton
|
||||
|
||||
property point clickPos: "0,0"
|
||||
|
||||
onPressed: function(mouse) {
|
||||
if (mouse.button === Qt.LeftButton) {
|
||||
clickPos = Qt.point(mouse.x, mouse.y)
|
||||
} else if (mouse.button === Qt.RightButton) {
|
||||
contextMenu.popup()
|
||||
}
|
||||
}
|
||||
|
||||
onPositionChanged: function(mouse) {
|
||||
if (pressedButtons & Qt.LeftButton) {
|
||||
|
||||
var delta = Qt.point(mouse.x - clickPos.x, mouse.y - clickPos.y)
|
||||
quickUpdaterData.arrDifferentTypes[0] = delta
|
||||
quickUpdaterData.arrDifferentTypes[1].invoke()
|
||||
}
|
||||
}
|
||||
|
||||
Menu {
|
||||
id: contextMenu
|
||||
|
||||
MenuItem {
|
||||
text: "Скрыть"
|
||||
onTriggered: {
|
||||
quickUpdaterData.arrDifferentTypes[2].invoke()
|
||||
}
|
||||
}
|
||||
|
||||
MenuItem {
|
||||
text: "Закрыть"
|
||||
onTriggered: {
|
||||
quickUpdaterData.arrDifferentTypes[3].invoke()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
)");
|
||||
|
||||
QVariantList list;
|
||||
list.append(QVariant::fromValue(QPoint()));
|
||||
auto wrapperMove = new CallbackWrapper([this] {handleWrapperMove();});
|
||||
auto wrapperHide = new CallbackWrapper([this] {handleWrapperHide();});
|
||||
auto wrapperClose = new CallbackWrapper([this] {handleWrapperClose();});
|
||||
|
||||
list.append(QVariant::fromValue(wrapperMove));
|
||||
list.append(QVariant::fromValue(wrapperHide));
|
||||
|
||||
QObject *customTitleMouseArea = 0;
|
||||
headerArrDifferentTypes = 0;
|
||||
QuickHelper::addComponent(fieldLabelTitle, list, addComponent, &customTitleMouseArea, &headerArrDifferentTypes);
|
||||
}
|
||||
|
||||
void HeaderActivity::handleWrapperMove()
|
||||
{
|
||||
auto listVariant = headerArrDifferentTypes->getArrDifferentTypes();
|
||||
QPoint offset = listVariant[0].toPoint();
|
||||
auto window = root->window();
|
||||
auto windowPos = window->position();
|
||||
window->setPosition(windowPos + offset);
|
||||
}
|
||||
|
||||
void HeaderActivity::handleWrapperHide()
|
||||
{
|
||||
emit hideWindowClick();
|
||||
}
|
||||
|
||||
void HeaderActivity::handleWrapperClose()
|
||||
{
|
||||
emit closeWindowClick();
|
||||
}
|
||||
|
||||
bool HeaderActivity::isAlllElementFound()
|
||||
{
|
||||
bool retCode = true;
|
||||
fieldHideWindow = QuickHelper::getQuickItem(root, FIELD_HIDE_WINDOW);
|
||||
if (!fieldHideWindow) {
|
||||
qWarning() << "Failed to get fieldHideWindow:" << FIELD_HIDE_WINDOW;
|
||||
retCode = false;
|
||||
}
|
||||
|
||||
fieldCloseWindow = QuickHelper::getQuickItem(root, FIELD_CLOSE_WINDOW);
|
||||
if (!fieldCloseWindow) {
|
||||
qWarning() << "Failed to get fieldCloseWindow:" << FIELD_CLOSE_WINDOW;
|
||||
retCode = false;
|
||||
}
|
||||
|
||||
fieldCreateProject = QuickHelper::getQuickItem(root, FIELD_CREATE_PROJECT);
|
||||
if (!fieldCreateProject) {
|
||||
qWarning() << "Failed to get fieldCreateProject:" << FIELD_CREATE_PROJECT;
|
||||
retCode = false;
|
||||
}
|
||||
|
||||
fieldProjects = QuickHelper::getQuickItem(root, FIELD_PROJECTS);
|
||||
if (!fieldProjects) {
|
||||
qWarning() << "Failed to get fieldProjects:" << FIELD_PROJECTS;
|
||||
retCode = false;
|
||||
}
|
||||
|
||||
fieldHome = QuickHelper::getQuickItem(root, FIELD_HOME);
|
||||
if (!fieldHome) {
|
||||
qWarning() << "Failed to get fieldHome:" << FIELD_HOME;
|
||||
retCode = false;
|
||||
}
|
||||
|
||||
fieldLabelTitle = QuickHelper::getQuickItem(root, FIELD_LABEL_TITLE);
|
||||
if (!fieldLabelTitle) {
|
||||
qWarning() << "Failed to get fieldLabelTitle:" << FIELD_LABEL_TITLE;
|
||||
retCode = false;
|
||||
}
|
||||
|
||||
return retCode;
|
||||
}
|
||||
57
Quartz/headeractivity.h
Normal file
@ -0,0 +1,57 @@
|
||||
#ifndef HEADERACTIVITY_H
|
||||
#define HEADERACTIVITY_H
|
||||
|
||||
#include <QObject>
|
||||
#include "interfaces/IPageActivity.h"
|
||||
|
||||
class QQuickItem;
|
||||
class DynamicLoader;
|
||||
class QQmlEngine;
|
||||
class ArrDifferentTypes;
|
||||
|
||||
class HeaderActivity : public QObject, public IPageActivity
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit HeaderActivity(QQuickItem * item, QObject *parent = nullptr);
|
||||
|
||||
void pageChanged() override final;
|
||||
void isAllowChangePage(const std::function<void()> &continueChange, const std::function<void()> &blockChange) override final;
|
||||
|
||||
signals:
|
||||
void closeWindowClick();
|
||||
void hideWindowClick();
|
||||
void newProjectItemClick();
|
||||
void projectItemClick();
|
||||
void homeClick();
|
||||
|
||||
private:
|
||||
QQuickItem * root;
|
||||
|
||||
const QString FIELD_HIDE_WINDOW = "HideWindow";
|
||||
const QString FIELD_CLOSE_WINDOW = "CloseWindow";
|
||||
const QString FIELD_CREATE_PROJECT = "CreateProjectItemMenu";
|
||||
const QString FIELD_PROJECTS = "ProjectsItemMenu";
|
||||
const QString FIELD_HOME = "HomeItemMenu";
|
||||
const QString FIELD_LABEL_TITLE = "LabelTitle";
|
||||
|
||||
QQuickItem *fieldHideWindow = 0;
|
||||
QQuickItem *fieldCloseWindow = 0;
|
||||
QQuickItem *fieldCreateProject = 0;
|
||||
QQuickItem *fieldProjects = 0;
|
||||
QQuickItem *fieldHome = 0;
|
||||
QQuickItem *fieldLabelTitle = 0;
|
||||
|
||||
ArrDifferentTypes * headerArrDifferentTypes = 0;
|
||||
|
||||
void init();
|
||||
bool isAlllElementFound();
|
||||
void addMouseAreaToElementsToNavigation();
|
||||
void handleWrapperMove();
|
||||
void handleWrapperHide();
|
||||
void handleWrapperClose();
|
||||
|
||||
|
||||
};
|
||||
|
||||
#endif // HEADERACTIVITY_H
|
||||
@ -7,6 +7,7 @@
|
||||
#include <qeventloop.h>
|
||||
#include <qtimer.h>
|
||||
#include "settingsrepository.h"
|
||||
#include "QCoreApplication"
|
||||
|
||||
HttpProxyServer* HttpProxyServer::Instance = 0;
|
||||
// extern const char* PotreeViewer;
|
||||
@ -108,14 +109,13 @@ int HttpProxyServer::serveFileWithRange(QTcpSocket *socket, const QString &pathA
|
||||
|
||||
QFileInfo fileInfo(path);
|
||||
|
||||
qDebug() << "Try serve file: " << path;
|
||||
if (!fileInfo.exists() || !fileInfo.isFile()) {
|
||||
//sendError(socket, 404, "File not found");
|
||||
return 1;
|
||||
}
|
||||
|
||||
QFile file(path);
|
||||
if (!file.open(QIODevice::ReadOnly)) {
|
||||
//sendError(socket, 403, "Forbidden");
|
||||
return 2;
|
||||
}
|
||||
|
||||
@ -221,12 +221,17 @@ int HttpProxyServer::serveFile(QTcpSocket *socket, const QString &pathArg)
|
||||
QMimeDatabase mimeDb;
|
||||
QMimeType mimeType;
|
||||
QByteArray content = "";
|
||||
if (pathArg == "src/pages/PotreeViewer.tsx?t=1748915927496") {
|
||||
QString filePath = "D:\\projects\\PotreeViewer.js";
|
||||
if (pathArg.startsWith("src/pages/PotreeViewer.tsx?t")) {
|
||||
|
||||
static QDir dir(QCoreApplication::applicationDirPath());
|
||||
|
||||
QString filePath = dir.absoluteFilePath("QtQuckApp\\PotreeViewer.js");
|
||||
|
||||
QFile file(filePath);
|
||||
if (!file.open(QIODevice::ReadOnly)) {
|
||||
return 2;
|
||||
}
|
||||
|
||||
content = file.readAll();
|
||||
file.close();
|
||||
mimeType = mimeDb.mimeTypeForFile(filePath);//"application/octet-stream";
|
||||
@ -434,5 +439,6 @@ void HttpProxyServer::sendError(QTcpSocket *socket, int code, const QString &mes
|
||||
}
|
||||
|
||||
#include <QString>
|
||||
#include <qcoreapplication.h>
|
||||
|
||||
|
||||
|
||||
28
Quartz/infopageactivity.cpp
Normal file
@ -0,0 +1,28 @@
|
||||
#include "infopageactivity.h"
|
||||
#include "QDebug"
|
||||
|
||||
InfoPageActivity::InfoPageActivity(QQuickItem * item, QObject *parent)
|
||||
: QObject{parent}, root(item)
|
||||
{
|
||||
if (!item) {
|
||||
qWarning() << "[C++] Root object is null";
|
||||
return;
|
||||
}
|
||||
|
||||
init();
|
||||
}
|
||||
|
||||
void InfoPageActivity::pageChanged()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void InfoPageActivity::isAllowChangePage(const std::function<void ()> &continueChange, const std::function<void ()> &blockChange)
|
||||
{
|
||||
continueChange();
|
||||
}
|
||||
|
||||
void InfoPageActivity::init()
|
||||
{
|
||||
|
||||
}
|
||||
29
Quartz/infopageactivity.h
Normal file
@ -0,0 +1,29 @@
|
||||
#ifndef INFOPAGEACTIVITY_H
|
||||
#define INFOPAGEACTIVITY_H
|
||||
|
||||
#include <QObject>
|
||||
#include "interfaces/IPageActivity.h"
|
||||
|
||||
class QQuickItem;
|
||||
class DynamicLoader;
|
||||
class QQmlEngine;
|
||||
|
||||
|
||||
class InfoPageActivity : public QObject, public IPageActivity
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit InfoPageActivity(QQuickItem * item, QObject *parent = nullptr);
|
||||
|
||||
void pageChanged() override final;
|
||||
void isAllowChangePage(const std::function<void()> &continueChange, const std::function<void()> &blockChange) override final;
|
||||
|
||||
signals:
|
||||
|
||||
private:
|
||||
QQuickItem * root;
|
||||
void init();
|
||||
};
|
||||
|
||||
|
||||
#endif // INFOPAGEACTIVITY_H
|
||||
114
Quartz/main.cpp
@ -9,24 +9,72 @@
|
||||
#include "QQmlContext"
|
||||
#include "DynamicQmlComponent.h"
|
||||
#include "QQmlImageProviderBase"
|
||||
#include "settingsrepository.h"
|
||||
#include <QDir>
|
||||
|
||||
QQmlApplicationEngine *engine=0;
|
||||
extern void startHTTPServer();
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
// QString filePath = "/home/user/documents/report.txt";
|
||||
// QFileInfo fileInfo(filePath);
|
||||
// QString fileName = fileInfo.fileName(); // Extracts "report.txt"
|
||||
// qDebug() << "File name:" << fileName;
|
||||
|
||||
|
||||
#include <QCoreApplication>
|
||||
#include <QFile>
|
||||
#include <QTextStream>
|
||||
#include <QDateTime>
|
||||
#include <QtGlobal>
|
||||
#include <QMutex>
|
||||
#include <QQuickItem>
|
||||
|
||||
// Потокобезопасный логгер для release-сборки
|
||||
void messageOutputHandler(QtMsgType type, const QMessageLogContext &context, const QString &msg)
|
||||
{
|
||||
static QDir dir(QCoreApplication::applicationDirPath());
|
||||
static QFile logFile(dir.absoluteFilePath("app_release.log"));
|
||||
static QMutex mutex;
|
||||
|
||||
QMutexLocker locker(&mutex);
|
||||
|
||||
if (!logFile.isOpen()) {
|
||||
// Открываем файл в режиме дозаписи
|
||||
logFile.open(QIODevice::Append | QIODevice::Text);
|
||||
}
|
||||
|
||||
QTextStream out(&logFile);
|
||||
QString timestamp = QDateTime::currentDateTime().toString("yyyy-MM-dd HH:mm:ss.zzz");
|
||||
|
||||
QString logLevel;
|
||||
switch (type) {
|
||||
case QtDebugMsg:
|
||||
logLevel = "DEBUG";
|
||||
break;
|
||||
case QtWarningMsg:
|
||||
logLevel = "WARNING";
|
||||
break;
|
||||
case QtCriticalMsg:
|
||||
logLevel = "CRITICAL";
|
||||
break;
|
||||
case QtFatalMsg:
|
||||
logLevel = "FATAL";
|
||||
break;
|
||||
}
|
||||
|
||||
out << timestamp << " [" << logLevel << "] "
|
||||
<< msg << "\n";
|
||||
|
||||
out.flush();
|
||||
|
||||
if (type == QtFatalMsg) {
|
||||
abort();
|
||||
}
|
||||
}
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
QGuiApplication app(argc, argv);
|
||||
// app.applicationFilePath()
|
||||
|
||||
app.setWindowIcon(QIcon(":/ico/Logo.ico"));
|
||||
|
||||
engine = new QQmlApplicationEngine();
|
||||
// QApplication app(argc, argv);
|
||||
|
||||
QObject::connect(
|
||||
engine,
|
||||
&QQmlApplicationEngine::objectCreationFailed,
|
||||
@ -42,10 +90,17 @@ int main(int argc, char *argv[])
|
||||
for (const auto &path : engine->importPathList()) {
|
||||
qDebug() << " - " << path;
|
||||
}
|
||||
|
||||
FigmaQmlSingleton * instance = FigmaQmlSingleton::instance(*engine);
|
||||
|
||||
FigmaAdapter * figmaAdapter = 0;
|
||||
|
||||
#ifndef QT_DEBUG
|
||||
if (false) {
|
||||
qInstallMessageHandler(messageOutputHandler);
|
||||
}
|
||||
#endif
|
||||
|
||||
if (instance) {
|
||||
figmaAdapter = new FigmaAdapter(instance, *engine);
|
||||
}
|
||||
@ -55,22 +110,43 @@ int main(int argc, char *argv[])
|
||||
|
||||
qDebug() << "Before";
|
||||
|
||||
// QByteArray myComponentQml = R"(
|
||||
// import QtQuick 2.15
|
||||
// Rectangle {
|
||||
// width: 100
|
||||
// height: 100
|
||||
// color: "red"
|
||||
// }
|
||||
// )";
|
||||
|
||||
// // Создаем компонент
|
||||
// QQmlComponent component =
|
||||
qmlRegisterType<DynamicQmlComponent>("QtQuckApp", 1, 0, "MyDynamicComponent");
|
||||
|
||||
engine->loadFromModule("QtQuckApp", "Main");
|
||||
|
||||
// QObject *rootObject = engine->rootObjects().first();
|
||||
|
||||
// // Попробуем привести к QQuickItem*
|
||||
// QQuickItem *item = qobject_cast<QQuickItem*>(rootObject);
|
||||
// QQuickWindow *window = nullptr;
|
||||
|
||||
// if (item) {
|
||||
// window = item->window();
|
||||
// } else {
|
||||
// // Возможно, корневой объект — это Window или ApplicationWindow
|
||||
// window = qobject_cast<QQuickWindow*>(rootObject);
|
||||
// }
|
||||
|
||||
|
||||
if (figmaAdapter) {
|
||||
if (SettingsRepository::instance().defaultProjectDirectory() == "") {
|
||||
QString path = app.applicationDirPath();
|
||||
|
||||
// Добавляем подпапку "project"
|
||||
QDir dir(path);
|
||||
QString projectSubDir = dir.filePath("project");
|
||||
|
||||
// Пытаемся создать папку, если её нет
|
||||
if (!dir.exists("project")) {
|
||||
if (!dir.mkdir("project")) {
|
||||
qWarning() << "Не удалось создать директорию:" << projectSubDir;
|
||||
}
|
||||
else {
|
||||
SettingsRepository::instance().setDefaultProjectDirectory(projectSubDir);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
figmaAdapter->Init();
|
||||
}
|
||||
|
||||
|
||||
@ -1,22 +1,13 @@
|
||||
#include "mainpageactivity.h"
|
||||
#include <QJSEngine>
|
||||
#include <QQmlContext>
|
||||
#include <QQmlEngine>
|
||||
#include "QQuickItem"
|
||||
#include "quickhelper.h"
|
||||
#include <QDebug>
|
||||
#include "dynamicloader.h"
|
||||
#include <QGuiApplication>
|
||||
#include <QQmlApplicationEngine>
|
||||
#include "FigmaStyles.h"
|
||||
#include "FigmaQmlNames.h"
|
||||
#include "ArrDifferentTypes.h"
|
||||
#include "callbackwrapper.h"
|
||||
#include "QClipboard"
|
||||
#include "httpproxyserver.h"
|
||||
#include "projectpageppesentor.h"
|
||||
#include "QDesktopServices"
|
||||
#include "settingsrepository.h"
|
||||
#include "QDebug"
|
||||
|
||||
const char * HOME_ITEM = "HomeItem";
|
||||
const char * PROJECT_ITEM = "ProjectsItem";
|
||||
const char * NEW_PROJECT_ITEM = "ProjectsItem";
|
||||
const char * ABOUT_ITEM = "ProjectsItem";
|
||||
const char * SETTINGS_ITEM = "SettingsItem";
|
||||
const char * CLOSE_ITEM = "CloseItem";
|
||||
const char * BACK_ITEM = "BackItem";
|
||||
|
||||
MainPageActivity::MainPageActivity(QQuickItem * item, QObject *parent)
|
||||
: QObject{parent}, root(item)
|
||||
@ -26,186 +17,12 @@ MainPageActivity::MainPageActivity(QQuickItem * item, QObject *parent)
|
||||
return;
|
||||
}
|
||||
|
||||
engine = qmlEngine(item);
|
||||
|
||||
if (!engine) {
|
||||
qWarning() << "[C++] Failed to get QQmlEngine";
|
||||
return;
|
||||
}
|
||||
|
||||
loader = new DynamicLoader(engine,this);
|
||||
connect(loader, &DynamicLoader::errorOccurred, this, &MainPageActivity::errorOccurredDynamycLoaderHandler);
|
||||
MainPageActivity::init();
|
||||
}
|
||||
|
||||
void MainPageActivity::setProjectName(QString name)
|
||||
{
|
||||
projectNameTextField->setProperty("text",name);
|
||||
init();
|
||||
}
|
||||
|
||||
void MainPageActivity::pageChanged()
|
||||
{
|
||||
}
|
||||
|
||||
QString MainPageActivity::getProjectName() const
|
||||
{
|
||||
return projectNameTextField->property("text").toString();
|
||||
}
|
||||
|
||||
void freeItem(QQuickItem*& item){
|
||||
if (item) {
|
||||
item->setParentItem(nullptr);
|
||||
item->setParent(nullptr);
|
||||
item->deleteLater();
|
||||
item->setVisible(false);
|
||||
|
||||
item = 0;
|
||||
}
|
||||
}
|
||||
void MainPageActivity::doActionsOnTranslateFinished()
|
||||
{
|
||||
// setColumnCenterTranslate();
|
||||
// setInitialView();
|
||||
// freeItem(listFilesItem);
|
||||
|
||||
freeItem(columnCenterItem);
|
||||
setColumnCenterTranslate();
|
||||
blockTranslate();
|
||||
labelFileCount->setProperty("text", "Ни один файл не выбран");
|
||||
clearScrollableTextList();
|
||||
}
|
||||
|
||||
void MainPageActivity::setProgressBarPercent(double value)
|
||||
{
|
||||
if (progressBarController) {
|
||||
QMetaObject::invokeMethod(progressBarController, "setPercent",
|
||||
Q_ARG(QVariant, value*100));
|
||||
}
|
||||
}
|
||||
|
||||
bool MainPageActivity::isVariablesSet(){
|
||||
bool ret_code = false; // Флаг ошибки
|
||||
|
||||
if (!buttonChooseFiles) {
|
||||
qWarning() << "Failed to get buttonChooseFiles:" << BUTTON_CHOOSE_FILES;
|
||||
ret_code = true;
|
||||
}
|
||||
|
||||
if (!contentMainPageTransform) {
|
||||
qWarning() << "Failed to get contentMainPageTransform:" << CONTENT_MAIN_PAGE_TRANSFORM;
|
||||
ret_code = true;
|
||||
}
|
||||
|
||||
columnLeft = QuickHelper::getQuickItem(root, COLUMN_LEFT);
|
||||
if (!columnLeft) {
|
||||
qWarning() << "Failed to get columnLeft:" << COLUMN_LEFT;
|
||||
ret_code = true;
|
||||
}
|
||||
|
||||
if (!columnCenter) {
|
||||
qWarning() << "Failed to get columnCenter:" << COLUMN_CENTER;
|
||||
ret_code = true;
|
||||
}
|
||||
|
||||
if (!columnRight) {
|
||||
qWarning() << "Failed to get columnRight:" << COLUMN_RIGHT;
|
||||
ret_code = true;
|
||||
}
|
||||
|
||||
if (!labelFileCount) {
|
||||
qWarning() << "Failed to get labelFileCount:" << LABEL_FILE_COUNT;
|
||||
ret_code = true;
|
||||
}
|
||||
|
||||
// После всех проверок можно использовать ret_code для определения успешности
|
||||
if (ret_code) {
|
||||
qCritical() << "One or more QML elements failed to load";
|
||||
// Дополнительная обработка ошибки
|
||||
}
|
||||
|
||||
return !ret_code;
|
||||
}
|
||||
|
||||
void MainPageActivity::loadElementsFromView() {
|
||||
buttonChooseFiles = QuickHelper::getQuickItem(root,BUTTON_CHOOSE_FILES);
|
||||
contentMainPageTransform = QuickHelper::getQuickItem(root,CONTENT_MAIN_PAGE_TRANSFORM);
|
||||
columnLeft = QuickHelper::getQuickItem(root,COLUMN_LEFT);
|
||||
columnCenter = QuickHelper::getQuickItem(root,COLUMN_CENTER);
|
||||
columnRight = QuickHelper::getQuickItem(root,COLUMN_RIGHT);
|
||||
labelFileCount = QuickHelper::getQuickItem(root,LABEL_FILE_COUNT);
|
||||
}
|
||||
|
||||
void MainPageActivity::init() {
|
||||
loadElementsFromView();
|
||||
|
||||
if (!isVariablesSet()) {
|
||||
return;
|
||||
}
|
||||
|
||||
setInitialView();
|
||||
}
|
||||
|
||||
void MainPageActivity::setInitialView() {
|
||||
if (listFilesItem) {
|
||||
listFilesItem->setParentItem(nullptr);
|
||||
listFilesItem->setParent(nullptr);
|
||||
listFilesItem->deleteLater();
|
||||
}
|
||||
listFilesItem = 0;
|
||||
loader->createComponent(QML_SCROLLABLE_TEXT_LIST, columnLeft, &listFilesItem);
|
||||
|
||||
QuickHelper::addMouseAreaElements(buttonChooseFiles,
|
||||
[this] {handleChooseFiles();},
|
||||
[this]{buttonEntered(buttonChooseFiles);},
|
||||
[this]{buttonExited(buttonChooseFiles);});
|
||||
|
||||
setColumnCenterTranslate();
|
||||
setDefaultValues();
|
||||
blockTranslate();
|
||||
|
||||
QString myMessageDialogComponent = R"(
|
||||
import QtQuckApp
|
||||
|
||||
ShowMessageDialog {
|
||||
id: showMessageDialog
|
||||
objectName: "showMessageDialog"
|
||||
onCopyToClipboard: function(textToCopy) {
|
||||
quickUpdaterData.arrDifferentTypes[1]=textToCopy
|
||||
quickUpdaterData.arrDifferentTypes[0].invoke()
|
||||
}
|
||||
}
|
||||
|
||||
)";
|
||||
|
||||
QVariantList list;
|
||||
QObject* addedComponent = 0;
|
||||
ArrDifferentTypes *data = 0;
|
||||
QuickHelper::addComponent(root,list,myMessageDialogComponent,&addedComponent, &data);
|
||||
|
||||
if (addedComponent) {
|
||||
this->itemShowMessageNoDialog = qobject_cast<QQuickItem*>(addedComponent);
|
||||
|
||||
CallbackWrapper *wrapper = new CallbackWrapper([this,data]{
|
||||
QVariantList value = data->getArrDifferentTypes();
|
||||
copyToClipBoard(value[1]);
|
||||
}, addedComponent);
|
||||
data->addVarToData(QVariant::fromValue(wrapper));
|
||||
}
|
||||
}
|
||||
|
||||
void MainPageActivity::copyToClipBoard(QVariant value){
|
||||
QString str = value.toString();
|
||||
QClipboard *clipboard = QGuiApplication::clipboard();
|
||||
clipboard->setText(str);
|
||||
}
|
||||
|
||||
void MainPageActivity::clearScrollableTextList()
|
||||
{
|
||||
if (listFilesItem == 0) return;
|
||||
bool success = QMetaObject::invokeMethod(
|
||||
listFilesItem,
|
||||
"clear"
|
||||
);
|
||||
}
|
||||
|
||||
void MainPageActivity::isAllowChangePage(const std::function<void ()> &continueChange, const std::function<void ()> &blockChange)
|
||||
@ -213,372 +30,7 @@ void MainPageActivity::isAllowChangePage(const std::function<void ()> &continueC
|
||||
continueChange();
|
||||
}
|
||||
|
||||
void MainPageActivity::setDefaultValues()
|
||||
{
|
||||
if (projectNameTextField) {
|
||||
projectNameTextField->setProperty("text", "Проект");
|
||||
}
|
||||
|
||||
if (labelFileCount) {
|
||||
labelFileCount->setProperty("width", 400);
|
||||
labelFileCount->setProperty("text", "Ни один файл не выбран");
|
||||
labelFileCount->setProperty("wrapMode", "Text.NoWrap");
|
||||
labelFileCount->setProperty("elide", "Text.ElideNone");
|
||||
labelFileCount->setProperty("clip", false);
|
||||
}
|
||||
}
|
||||
|
||||
void MainPageActivity::setColumnCenterTranslate() {
|
||||
|
||||
QuickHelper::clearChildren(columnCenter);
|
||||
if (columnCenterItem) {
|
||||
freeItem(columnCenterItem);
|
||||
progressBarController = 0;
|
||||
transformButtonCancel = 0;
|
||||
}
|
||||
columnCenterItem = 0;
|
||||
loader->createComponent(QML::Pages::TRANSFORM, columnCenter, &columnCenterItem);
|
||||
|
||||
if (columnCenterItem) {
|
||||
transformButton = QuickHelper::getQuickItem(columnCenterItem, TRANSFORM_BUTTON);
|
||||
projectNameTextField = QuickHelper::getQuickItem(columnCenterItem, PROJECT_NAME_TEXT_FILED);
|
||||
}
|
||||
|
||||
if (transformButton) {
|
||||
QuickHelper::addMouseAreaElements(transformButton,
|
||||
[this] {translateClick();},
|
||||
[this]{buttonEntered(transformButton);},
|
||||
[this]{buttonExited(transformButton);});
|
||||
|
||||
auto defaultColor = transformButton->property("color").toString();
|
||||
QuickHelper::updateColor(transformButton, QML::CORLOR_BUTTON_DISABLED, QML::CORLOR_BUTTON_BASE);
|
||||
}
|
||||
|
||||
if (projectNameTextField) {
|
||||
QuickHelper::moveTextFiledX(projectNameTextField);
|
||||
}
|
||||
}
|
||||
|
||||
void MainPageActivity::setColumnCenterTranslating(){
|
||||
QuickHelper::clearChildren(columnCenter);
|
||||
// QuickHelper::clearChildren(columnCenter);
|
||||
if (columnCenterItem) {
|
||||
freeItem(columnCenterItem);
|
||||
}
|
||||
|
||||
columnCenterItem = 0;
|
||||
|
||||
loader->createComponent(QML::Pages::TRANSLATING, columnCenter, &columnCenterItem);
|
||||
|
||||
if (columnCenterItem) {
|
||||
transformButtonCancel = QuickHelper::getQuickItem(columnCenterItem, TRANSFORM_BUTTON_CANCEL);
|
||||
|
||||
translateProgressBar = QuickHelper::getQuickItem(columnCenterItem, TRANSLATE_PROGRESS_BAR);
|
||||
translateProgressBarFilled = QuickHelper::getQuickItem(columnCenterItem, TRANSLATE_PROGRESS_BAR_FILLED);
|
||||
}
|
||||
|
||||
if (transformButtonCancel) {
|
||||
QuickHelper::addMouseAreaElements(transformButtonCancel,
|
||||
[this] {cancelTranslateClick();},
|
||||
[this]{buttonEntered(transformButtonCancel);},
|
||||
[this]{buttonExited(transformButtonCancel);});
|
||||
|
||||
auto defaultColor = transformButtonCancel->property("color").toString();
|
||||
QuickHelper::updateColor(transformButtonCancel, QML::CORLOR_BUTTON_DISABLED, QML::CORLOR_BUTTON_BASE);
|
||||
}
|
||||
|
||||
if (projectNameTextField) {
|
||||
QuickHelper::moveTextFiledX(projectNameTextField);
|
||||
}
|
||||
|
||||
progressBarController = QuickHelper::addProgressBar(columnCenterItem,translateProgressBar, translateProgressBarFilled);
|
||||
}
|
||||
|
||||
void MainPageActivity::removeProjectStatusFragment(){
|
||||
if (projectStatusFragment) {
|
||||
projectStatusFragment->setParent(nullptr);
|
||||
projectStatusFragment->deleteLater();
|
||||
projectStatusFragment = 0;
|
||||
}
|
||||
}
|
||||
|
||||
void MainPageActivity::showCustomMessage(const QString &message, const QString & pathSave)
|
||||
{
|
||||
//return;
|
||||
if (itemShowMessageNoDialog) {
|
||||
bool success = QMetaObject::invokeMethod(
|
||||
itemShowMessageNoDialog,
|
||||
"showMessageDialog",
|
||||
Q_ARG(QVariant, QVariant::fromValue(message)),
|
||||
Q_ARG(QVariant, QVariant::fromValue(pathSave))
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
void MainPageActivity::translateClick(){
|
||||
qDebug() << "TranslateClick";
|
||||
|
||||
//showCustomMessage("test");
|
||||
|
||||
setColumnCenterTranslating();
|
||||
|
||||
removeProjectStatusFragment();
|
||||
projectStatusFragment = new ProjectStatusFragment(columnRight,this);
|
||||
|
||||
emit translate();
|
||||
}
|
||||
|
||||
void MainPageActivity::cancelTranslateClick()
|
||||
{
|
||||
emit cancelTranslate();
|
||||
setColumnCenterTranslate();
|
||||
}
|
||||
|
||||
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)
|
||||
{
|
||||
QStringList list = listFiles.toStringList();
|
||||
|
||||
if( list.count()) {
|
||||
QString text = "Выбрано файлов: " + QString::number(listFiles.toStringList().count());
|
||||
labelFileCount->setProperty("text", text);
|
||||
allowTranslate();
|
||||
}
|
||||
}
|
||||
|
||||
void MainPageActivity::errorOccurredDynamycLoaderHandler(const QString &message)
|
||||
{
|
||||
qDebug()<<"Error: " << message;
|
||||
}
|
||||
|
||||
void MainPageActivity::handleChooseFiles()
|
||||
{
|
||||
if (listFilesItem) {
|
||||
QMetaObject::invokeMethod(listFilesItem, "openFileDialog");
|
||||
// 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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
ProjectStatusFragment::ProjectStatusFragment(QQuickItem *item, QObject *parent) :QObject(parent)
|
||||
void MainPageActivity::init()
|
||||
{
|
||||
|
||||
if (!item) {
|
||||
qWarning() << "[C++] Root object is null";
|
||||
return;
|
||||
}
|
||||
|
||||
root = item;
|
||||
|
||||
engine = qmlEngine(item);
|
||||
|
||||
if (!engine) {
|
||||
qWarning() << "[C++] Failed to get QQmlEngine";
|
||||
return;
|
||||
}
|
||||
|
||||
loader = new DynamicLoader(engine,this);
|
||||
connect(loader, &DynamicLoader::errorOccurred, this, &ProjectStatusFragment::errorOccurredDynamycLoaderHandler);
|
||||
init();
|
||||
}
|
||||
|
||||
void ProjectStatusFragment::init()
|
||||
{
|
||||
QQuickItem * createdComponent=0;
|
||||
loader->createComponent(QML::Pages::PROJECT_PASPORT,root,&createdComponent);
|
||||
|
||||
if (createdComponent) {
|
||||
projectPasport = createdComponent;
|
||||
}
|
||||
|
||||
if (isAllElementsFound() == false) return;
|
||||
|
||||
QuickHelper::addMouseAreaElements(buttonShowProject,
|
||||
[this] {
|
||||
if(onClickShow != nullptr) {
|
||||
onClickShow();
|
||||
}
|
||||
},
|
||||
[this]{
|
||||
if (buttonShowProject->isEnabled()) {
|
||||
buttonShowProject->setProperty("color", QML::CORLOR_BUTTON_FOCUSED);
|
||||
}
|
||||
},
|
||||
[this]{
|
||||
if (buttonShowProject->isEnabled()) {
|
||||
buttonShowProject->setProperty("color", QML::CORLOR_BUTTON_BASE);
|
||||
}
|
||||
});
|
||||
|
||||
QuickHelper::updateColor(buttonShowProject, QML::CORLOR_BUTTON_DISABLED, QML::CORLOR_BUTTON_BASE);
|
||||
|
||||
QuickHelper::addMouseAreaElements(buttonDeleteProject,
|
||||
[this] {
|
||||
if(onClickShow != nullptr) {
|
||||
onClickShow();
|
||||
}
|
||||
},
|
||||
[this] {
|
||||
if (buttonDeleteProject->isEnabled()) {
|
||||
buttonDeleteProject->setProperty("color", QML::CORLOR_BUTTON_FOCUSED);
|
||||
}
|
||||
},
|
||||
[this] {
|
||||
if (buttonDeleteProject->isEnabled()) {
|
||||
buttonDeleteProject->setProperty("color", QML::CORLOR_BUTTON_BASE_EMPTY);
|
||||
}
|
||||
});
|
||||
|
||||
QuickHelper::updateColor(buttonDeleteProject, QML::CORLOR_BUTTON_DISABLED, QML::CORLOR_BUTTON_BASE_EMPTY);
|
||||
|
||||
auto doNothing = []{};
|
||||
auto copyToClipBoard = [this] {
|
||||
MainPageActivity::copyToClipBoard(labelProjectPath->property("text").toString());
|
||||
};
|
||||
|
||||
QuickHelper::addMouseAreaWithCopy(labelProjectPath,
|
||||
copyToClipBoard, doNothing, doNothing, 0, 0);
|
||||
|
||||
setInteractionButtonsEnabled(false);
|
||||
|
||||
auto act = this;
|
||||
// Text.ElideRight
|
||||
|
||||
auto d = [act] {
|
||||
auto fragment = act;
|
||||
QString path =fragment->getProjectPath();
|
||||
if (path == "") return;
|
||||
|
||||
HttpProxyServer &srv = *HttpProxyServer::Instance;
|
||||
qint16 port = srv.getLocalProt();
|
||||
QString pathUrl = QString("http://127.0.0.1") + ":" + QString::number(port) + "/viewer";
|
||||
QString relative = ProjectPagePesentor::getRelativePath(path,SettingsRepository::instance().defaultProjectDirectory());
|
||||
if(relative == "/") return;
|
||||
|
||||
if ( relative.startsWith("/") == false){
|
||||
relative= "/" + relative;
|
||||
}
|
||||
srv.setProjectPath(relative);
|
||||
QUrl url(pathUrl);
|
||||
QDesktopServices::openUrl(url);
|
||||
};
|
||||
|
||||
onClickShow = d;
|
||||
|
||||
QuickHelper::setPropetryEnumerator(
|
||||
labelProjectPath, // указатель на QQuickItem (например, QQuickText)
|
||||
"elide", // имя свойства
|
||||
"ElideRight" // значение enum
|
||||
);
|
||||
}
|
||||
|
||||
void ProjectStatusFragment::setInteractionButtonsEnabled(bool state){
|
||||
if (buttonShowProject) {
|
||||
buttonShowProject->setEnabled(state);
|
||||
}
|
||||
|
||||
if (buttonDeleteProject) {
|
||||
buttonDeleteProject->setEnabled(state);
|
||||
}
|
||||
}
|
||||
|
||||
void ProjectStatusFragment::setProjectName(const QString& value){
|
||||
if(labelProjectName)labelProjectName->setProperty("text",value);
|
||||
}
|
||||
|
||||
void ProjectStatusFragment::setProjectPath(const QString& value){
|
||||
if(labelProjectPath)labelProjectPath->setProperty("text",value);
|
||||
}
|
||||
QString ProjectStatusFragment::getProjectPath(){
|
||||
if(labelProjectPath) return labelProjectPath->property("text").toString();
|
||||
return "";
|
||||
}
|
||||
|
||||
void ProjectStatusFragment::setProjectStatus(const QString& value){
|
||||
if (labelProjectStatus) labelProjectStatus->setProperty("text",value);
|
||||
}
|
||||
|
||||
void ProjectStatusFragment::deleteLater()
|
||||
{
|
||||
QuickHelper::clearChildren(root);
|
||||
if (projectPasport) {
|
||||
QuickHelper::freeItem(projectPasport);
|
||||
}
|
||||
|
||||
QObject::deleteLater();
|
||||
}
|
||||
|
||||
void ProjectStatusFragment::errorOccurredDynamycLoaderHandler(const QString &message)
|
||||
{
|
||||
qDebug()<<"Error: " << message;
|
||||
}
|
||||
|
||||
bool ProjectStatusFragment::isAllElementsFound(){
|
||||
bool retCode = true;
|
||||
|
||||
buttonShowProject = QuickHelper::getQuickItem(root, BUTTON_SHOW_PROJECT);
|
||||
if (!buttonShowProject) {
|
||||
qWarning() << "Failed to get buttonShowProject:" << BUTTON_SHOW_PROJECT;
|
||||
retCode = false;
|
||||
}
|
||||
|
||||
buttonDeleteProject = QuickHelper::getQuickItem(root, BUTTON_DELETE_PROJECT);
|
||||
if (!buttonDeleteProject) {
|
||||
qWarning() << "Failed to get buttonDeleteProject:" << BUTTON_DELETE_PROJECT;
|
||||
retCode = false;
|
||||
}
|
||||
|
||||
labelProjectName = QuickHelper::getQuickItem(root, LABEL_PROJECT_NAME);
|
||||
if (!labelProjectName) {
|
||||
qWarning() << "Failed to get labelProjectName:" << LABEL_PROJECT_NAME;
|
||||
retCode = false;
|
||||
}
|
||||
|
||||
labelProjectPath = QuickHelper::getQuickItem(root, LABEL_PROJECT_PATH);
|
||||
if (!labelProjectPath) {
|
||||
qWarning() << "Failed to get labelProjectPath:" << LABEL_PROJECT_PATH;
|
||||
retCode = false;
|
||||
}
|
||||
|
||||
labelProjectStatus = QuickHelper::getQuickItem(root, LABEL_PROJECT_STATUS);
|
||||
if (!labelProjectStatus) {
|
||||
qWarning() << "Failed to get labelProjectStatus:" << LABEL_PROJECT_STATUS;
|
||||
retCode = false;
|
||||
}
|
||||
|
||||
return retCode;
|
||||
}
|
||||
|
||||
558
Quartz/mainpageactivity.cpp1
Normal file
@ -0,0 +1,558 @@
|
||||
#include "mainpageactivity.h"
|
||||
#include <QJSEngine>
|
||||
#include <QQmlContext>
|
||||
#include <QQmlEngine>
|
||||
#include "QQuickItem"
|
||||
#include "quickhelper.h"
|
||||
#include <QDebug>
|
||||
#include "dynamicloader.h"
|
||||
#include <QGuiApplication>
|
||||
#include <QQmlApplicationEngine>
|
||||
#include "FigmaStyles.h"
|
||||
#include "FigmaQmlNames.h"
|
||||
#include "ArrDifferentTypes.h"
|
||||
#include "callbackwrapper.h"
|
||||
#include "QClipboard"
|
||||
#include "httpproxyserver.h"
|
||||
#include "projectpageppesentor.h"
|
||||
#include "QDesktopServices"
|
||||
#include "settingsrepository.h"
|
||||
|
||||
MainPageActivity::MainPageActivity(QQuickItem * item, QObject *parent)
|
||||
: QObject{parent}, root(item)
|
||||
{
|
||||
if (!item) {
|
||||
qWarning() << "[C++] Root object is null";
|
||||
return;
|
||||
}
|
||||
|
||||
engine = qmlEngine(item);
|
||||
|
||||
if (!engine) {
|
||||
qWarning() << "[C++] Failed to get QQmlEngine";
|
||||
return;
|
||||
}
|
||||
|
||||
loader = new DynamicLoader(engine,this);
|
||||
connect(loader, &DynamicLoader::errorOccurred, this, &MainPageActivity::errorOccurredDynamycLoaderHandler);
|
||||
MainPageActivity::init();
|
||||
}
|
||||
|
||||
void MainPageActivity::setProjectName(QString name)
|
||||
{
|
||||
projectNameTextField->setProperty("text",name);
|
||||
}
|
||||
|
||||
void MainPageActivity::pageChanged()
|
||||
{
|
||||
}
|
||||
|
||||
QString MainPageActivity::getProjectName() const
|
||||
{
|
||||
return projectNameTextField->property("text").toString();
|
||||
}
|
||||
|
||||
void freeItem(QQuickItem*& item){
|
||||
if (item) {
|
||||
item->setParentItem(nullptr);
|
||||
item->setParent(nullptr);
|
||||
item->deleteLater();
|
||||
item->setVisible(false);
|
||||
|
||||
item = 0;
|
||||
}
|
||||
}
|
||||
void MainPageActivity::doActionsOnTranslateFinished()
|
||||
{
|
||||
// setColumnCenterTranslate();
|
||||
// setInitialView();
|
||||
// freeItem(listFilesItem);
|
||||
|
||||
freeItem(columnCenterItem);
|
||||
setColumnCenterTranslate();
|
||||
blockTranslate();
|
||||
labelFileCount->setProperty("text", "Ни один файл не выбран");
|
||||
clearScrollableTextList();
|
||||
}
|
||||
|
||||
void MainPageActivity::setProgressBarPercent(double value)
|
||||
{
|
||||
if (progressBarController) {
|
||||
QMetaObject::invokeMethod(progressBarController, "setPercent",
|
||||
Q_ARG(QVariant, value*100));
|
||||
}
|
||||
}
|
||||
|
||||
bool MainPageActivity::isVariablesSet(){
|
||||
bool ret_code = false; // Флаг ошибки
|
||||
|
||||
if (!buttonChooseFiles) {
|
||||
qWarning() << "Failed to get buttonChooseFiles:" << BUTTON_CHOOSE_FILES;
|
||||
ret_code = true;
|
||||
}
|
||||
|
||||
if (!contentMainPageTransform) {
|
||||
qWarning() << "Failed to get contentMainPageTransform:" << CONTENT_MAIN_PAGE_TRANSFORM;
|
||||
ret_code = true;
|
||||
}
|
||||
|
||||
columnLeft = QuickHelper::getQuickItem(root, COLUMN_LEFT);
|
||||
if (!columnLeft) {
|
||||
qWarning() << "Failed to get columnLeft:" << COLUMN_LEFT;
|
||||
ret_code = true;
|
||||
}
|
||||
|
||||
if (!columnCenter) {
|
||||
qWarning() << "Failed to get columnCenter:" << COLUMN_CENTER;
|
||||
ret_code = true;
|
||||
}
|
||||
|
||||
if (!columnRight) {
|
||||
qWarning() << "Failed to get columnRight:" << COLUMN_RIGHT;
|
||||
ret_code = true;
|
||||
}
|
||||
|
||||
if (!labelFileCount) {
|
||||
qWarning() << "Failed to get labelFileCount:" << LABEL_FILE_COUNT;
|
||||
ret_code = true;
|
||||
}
|
||||
|
||||
// После всех проверок можно использовать ret_code для определения успешности
|
||||
if (ret_code) {
|
||||
qCritical() << "One or more QML elements failed to load";
|
||||
// Дополнительная обработка ошибки
|
||||
}
|
||||
|
||||
return !ret_code;
|
||||
}
|
||||
|
||||
void MainPageActivity::loadElementsFromView() {
|
||||
buttonChooseFiles = QuickHelper::getQuickItem(root,BUTTON_CHOOSE_FILES);
|
||||
contentMainPageTransform = QuickHelper::getQuickItem(root,CONTENT_MAIN_PAGE_TRANSFORM);
|
||||
columnLeft = QuickHelper::getQuickItem(root,COLUMN_LEFT);
|
||||
columnCenter = QuickHelper::getQuickItem(root,COLUMN_CENTER);
|
||||
columnRight = QuickHelper::getQuickItem(root,COLUMN_RIGHT);
|
||||
labelFileCount = QuickHelper::getQuickItem(root,LABEL_FILE_COUNT);
|
||||
}
|
||||
|
||||
void MainPageActivity::init() {
|
||||
loadElementsFromView();
|
||||
|
||||
if (!isVariablesSet()) {
|
||||
return;
|
||||
}
|
||||
|
||||
setInitialView();
|
||||
}
|
||||
|
||||
void MainPageActivity::setInitialView() {
|
||||
if (listFilesItem) {
|
||||
listFilesItem->setParentItem(nullptr);
|
||||
listFilesItem->setParent(nullptr);
|
||||
listFilesItem->deleteLater();
|
||||
}
|
||||
listFilesItem = 0;
|
||||
loader->createComponent(QML_SCROLLABLE_TEXT_LIST, columnLeft, &listFilesItem);
|
||||
|
||||
QuickHelper::addMouseAreaElements(buttonChooseFiles,
|
||||
[this] {handleChooseFiles();},
|
||||
[this]{buttonEntered(buttonChooseFiles);},
|
||||
[this]{buttonExited(buttonChooseFiles);});
|
||||
|
||||
setColumnCenterTranslate();
|
||||
setDefaultValues();
|
||||
blockTranslate();
|
||||
|
||||
QString myMessageDialogComponent = R"(
|
||||
import QtQuckApp
|
||||
|
||||
ShowMessageDialog {
|
||||
id: showMessageDialog
|
||||
objectName: "showMessageDialog"
|
||||
onCopyToClipboard: function(textToCopy) {
|
||||
quickUpdaterData.arrDifferentTypes[1]=textToCopy
|
||||
quickUpdaterData.arrDifferentTypes[0].invoke()
|
||||
}
|
||||
}
|
||||
)";
|
||||
|
||||
QVariantList list;
|
||||
QObject* addedComponent = 0;
|
||||
ArrDifferentTypes *data = 0;
|
||||
QuickHelper::addComponent(root,list,myMessageDialogComponent,&addedComponent, &data);
|
||||
|
||||
if (addedComponent) {
|
||||
this->itemShowMessageNoDialog = qobject_cast<QQuickItem*>(addedComponent);
|
||||
|
||||
CallbackWrapper *wrapper = new CallbackWrapper([this,data]{
|
||||
QVariantList value = data->getArrDifferentTypes();
|
||||
copyToClipBoard(value[1]);
|
||||
}, addedComponent);
|
||||
data->addVarToData(QVariant::fromValue(wrapper));
|
||||
}
|
||||
}
|
||||
|
||||
void MainPageActivity::copyToClipBoard(QVariant value){
|
||||
QString str = value.toString();
|
||||
QClipboard *clipboard = QGuiApplication::clipboard();
|
||||
clipboard->setText(str);
|
||||
}
|
||||
|
||||
void MainPageActivity::clearScrollableTextList()
|
||||
{
|
||||
if (listFilesItem == 0) return;
|
||||
bool success = QMetaObject::invokeMethod(
|
||||
listFilesItem,
|
||||
"clear"
|
||||
);
|
||||
}
|
||||
|
||||
void MainPageActivity::isAllowChangePage(const std::function<void ()> &continueChange, const std::function<void ()> &blockChange)
|
||||
{
|
||||
continueChange();
|
||||
}
|
||||
|
||||
void MainPageActivity::setDefaultValues()
|
||||
{
|
||||
if (projectNameTextField) {
|
||||
projectNameTextField->setProperty("text", "Проект");
|
||||
}
|
||||
|
||||
if (labelFileCount) {
|
||||
labelFileCount->setProperty("width", 400);
|
||||
labelFileCount->setProperty("text", "Ни один файл не выбран");
|
||||
labelFileCount->setProperty("wrapMode", "Text.NoWrap");
|
||||
labelFileCount->setProperty("elide", "Text.ElideNone");
|
||||
labelFileCount->setProperty("clip", false);
|
||||
}
|
||||
}
|
||||
|
||||
void MainPageActivity::setColumnCenterTranslate() {
|
||||
|
||||
QuickHelper::clearChildren(columnCenter);
|
||||
if (columnCenterItem) {
|
||||
freeItem(columnCenterItem);
|
||||
progressBarController = 0;
|
||||
transformButtonCancel = 0;
|
||||
}
|
||||
columnCenterItem = 0;
|
||||
loader->createComponent(QML::Pages::TRANSFORM, columnCenter, &columnCenterItem);
|
||||
|
||||
if (columnCenterItem) {
|
||||
transformButton = QuickHelper::getQuickItem(columnCenterItem, TRANSFORM_BUTTON);
|
||||
projectNameTextField = QuickHelper::getQuickItem(columnCenterItem, PROJECT_NAME_TEXT_FILED);
|
||||
}
|
||||
|
||||
if (transformButton) {
|
||||
QuickHelper::addMouseAreaElements(transformButton,
|
||||
[this] {translateClick();},
|
||||
[this]{buttonEntered(transformButton);},
|
||||
[this]{buttonExited(transformButton);});
|
||||
|
||||
auto defaultColor = transformButton->property("color").toString();
|
||||
QuickHelper::updateColor(transformButton, QML::CORLOR_BUTTON_DISABLED, QML::CORLOR_BUTTON_BASE);
|
||||
}
|
||||
|
||||
if (projectNameTextField) {
|
||||
QuickHelper::moveTextFiledX(projectNameTextField);
|
||||
}
|
||||
}
|
||||
|
||||
void MainPageActivity::setColumnCenterTranslating(){
|
||||
QuickHelper::clearChildren(columnCenter);
|
||||
// QuickHelper::clearChildren(columnCenter);
|
||||
if (columnCenterItem) {
|
||||
freeItem(columnCenterItem);
|
||||
}
|
||||
|
||||
columnCenterItem = 0;
|
||||
|
||||
loader->createComponent(QML::Pages::TRANSLATING, columnCenter, &columnCenterItem);
|
||||
|
||||
if (columnCenterItem) {
|
||||
transformButtonCancel = QuickHelper::getQuickItem(columnCenterItem, TRANSFORM_BUTTON_CANCEL);
|
||||
|
||||
translateProgressBar = QuickHelper::getQuickItem(columnCenterItem, TRANSLATE_PROGRESS_BAR);
|
||||
translateProgressBarFilled = QuickHelper::getQuickItem(columnCenterItem, TRANSLATE_PROGRESS_BAR_FILLED);
|
||||
}
|
||||
|
||||
if (transformButtonCancel) {
|
||||
QuickHelper::addMouseAreaElements(transformButtonCancel,
|
||||
[this] {cancelTranslateClick();},
|
||||
[this]{buttonEntered(transformButtonCancel);},
|
||||
[this]{buttonExited(transformButtonCancel);});
|
||||
|
||||
auto defaultColor = transformButtonCancel->property("color").toString();
|
||||
QuickHelper::updateColor(transformButtonCancel, QML::CORLOR_BUTTON_DISABLED, QML::CORLOR_BUTTON_BASE);
|
||||
}
|
||||
|
||||
if (projectNameTextField) {
|
||||
QuickHelper::moveTextFiledX(projectNameTextField);
|
||||
}
|
||||
|
||||
progressBarController = QuickHelper::addProgressBar(columnCenterItem,translateProgressBar, translateProgressBarFilled);
|
||||
}
|
||||
|
||||
void MainPageActivity::removeProjectStatusFragment(){
|
||||
if (projectStatusFragment) {
|
||||
projectStatusFragment->setParent(nullptr);
|
||||
projectStatusFragment->deleteLater();
|
||||
projectStatusFragment = 0;
|
||||
}
|
||||
}
|
||||
|
||||
void MainPageActivity::showCustomMessage(const QString &message, const QString & pathSave)
|
||||
{
|
||||
//return;
|
||||
if (itemShowMessageNoDialog) {
|
||||
bool success = QMetaObject::invokeMethod(
|
||||
itemShowMessageNoDialog,
|
||||
"showMessageDialog",
|
||||
Q_ARG(QVariant, QVariant::fromValue(message)),
|
||||
Q_ARG(QVariant, QVariant::fromValue(pathSave))
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
void MainPageActivity::translateClick(){
|
||||
qDebug() << "TranslateClick";
|
||||
|
||||
//showCustomMessage("test");
|
||||
|
||||
setColumnCenterTranslating();
|
||||
|
||||
removeProjectStatusFragment();
|
||||
projectStatusFragment = new ProjectStatusFragment(columnRight,this);
|
||||
|
||||
emit translate();
|
||||
}
|
||||
|
||||
void MainPageActivity::cancelTranslateClick()
|
||||
{
|
||||
emit cancelTranslate();
|
||||
setColumnCenterTranslate();
|
||||
}
|
||||
|
||||
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)
|
||||
{
|
||||
QStringList list = listFiles.toStringList();
|
||||
|
||||
if( list.count()) {
|
||||
QString text = "Выбрано файлов: " + QString::number(listFiles.toStringList().count());
|
||||
labelFileCount->setProperty("text", text);
|
||||
allowTranslate();
|
||||
}
|
||||
}
|
||||
|
||||
void MainPageActivity::errorOccurredDynamycLoaderHandler(const QString &message)
|
||||
{
|
||||
qDebug()<<"Error: " << message;
|
||||
}
|
||||
|
||||
void MainPageActivity::handleChooseFiles()
|
||||
{
|
||||
if (listFilesItem) {
|
||||
QMetaObject::invokeMethod(listFilesItem, "openFileDialog");
|
||||
// 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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
ProjectStatusFragment::ProjectStatusFragment(QQuickItem *item, QObject *parent) :QObject(parent)
|
||||
{
|
||||
|
||||
if (!item) {
|
||||
qWarning() << "[C++] Root object is null";
|
||||
return;
|
||||
}
|
||||
|
||||
root = item;
|
||||
|
||||
engine = qmlEngine(item);
|
||||
|
||||
if (!engine) {
|
||||
qWarning() << "[C++] Failed to get QQmlEngine";
|
||||
return;
|
||||
}
|
||||
|
||||
loader = new DynamicLoader(engine,this);
|
||||
connect(loader, &DynamicLoader::errorOccurred, this, &ProjectStatusFragment::errorOccurredDynamycLoaderHandler);
|
||||
init();
|
||||
}
|
||||
|
||||
void ProjectStatusFragment::init()
|
||||
{
|
||||
QQuickItem * createdComponent=0;
|
||||
loader->createComponent(QML::Pages::PROJECT_PASPORT,root,&createdComponent);
|
||||
|
||||
if (createdComponent) {
|
||||
projectPasport = createdComponent;
|
||||
}
|
||||
|
||||
if (isAllElementsFound() == false) return;
|
||||
|
||||
QuickHelper::addMouseAreaElements(buttonShowProject,
|
||||
[this] {
|
||||
if(onClickShow != nullptr) {
|
||||
onClickShow();
|
||||
}
|
||||
},
|
||||
[this]{
|
||||
if (buttonShowProject->isEnabled()) {
|
||||
buttonShowProject->setProperty("color", QML::CORLOR_BUTTON_FOCUSED);
|
||||
}
|
||||
},
|
||||
[this]{
|
||||
if (buttonShowProject->isEnabled()) {
|
||||
buttonShowProject->setProperty("color", QML::CORLOR_BUTTON_BASE);
|
||||
}
|
||||
});
|
||||
|
||||
QuickHelper::updateColor(buttonShowProject, QML::CORLOR_BUTTON_DISABLED, QML::CORLOR_BUTTON_BASE);
|
||||
|
||||
QuickHelper::addMouseAreaElements(buttonDeleteProject,
|
||||
[this] {
|
||||
if(onClickShow != nullptr) {
|
||||
onClickShow();
|
||||
}
|
||||
},
|
||||
[this] {
|
||||
if (buttonDeleteProject->isEnabled()) {
|
||||
buttonDeleteProject->setProperty("color", QML::CORLOR_BUTTON_FOCUSED);
|
||||
}
|
||||
},
|
||||
[this] {
|
||||
if (buttonDeleteProject->isEnabled()) {
|
||||
buttonDeleteProject->setProperty("color", QML::CORLOR_BUTTON_BASE_EMPTY);
|
||||
}
|
||||
});
|
||||
|
||||
QuickHelper::updateColor(buttonDeleteProject, QML::CORLOR_BUTTON_DISABLED, QML::CORLOR_BUTTON_BASE_EMPTY);
|
||||
|
||||
auto doNothing = []{};
|
||||
auto copyToClipBoard = [this] {
|
||||
MainPageActivity::copyToClipBoard(labelProjectPath->property("text").toString());
|
||||
};
|
||||
|
||||
QuickHelper::addMouseAreaWithCopy(labelProjectPath,
|
||||
copyToClipBoard, doNothing, doNothing, 0, 0);
|
||||
|
||||
setInteractionButtonsEnabled(false);
|
||||
|
||||
auto act = this;
|
||||
// Text.ElideRight
|
||||
|
||||
|
||||
}
|
||||
|
||||
void ProjectStatusFragment::setInteractionButtonsEnabled(bool state){
|
||||
if (buttonShowProject) {
|
||||
buttonShowProject->setEnabled(state);
|
||||
}
|
||||
|
||||
if (buttonDeleteProject) {
|
||||
buttonDeleteProject->setEnabled(state);
|
||||
}
|
||||
}
|
||||
|
||||
void ProjectStatusFragment::setProjectName(const QString& value){
|
||||
if(labelProjectName)labelProjectName->setProperty("text",value);
|
||||
}
|
||||
|
||||
void ProjectStatusFragment::setProjectPath(const QString& value){
|
||||
if(labelProjectPath)labelProjectPath->setProperty("text",value);
|
||||
}
|
||||
QString ProjectStatusFragment::getProjectPath(){
|
||||
if(labelProjectPath) return labelProjectPath->property("text").toString();
|
||||
return "";
|
||||
}
|
||||
|
||||
void ProjectStatusFragment::setProjectStatus(const QString& value){
|
||||
if (labelProjectStatus) labelProjectStatus->setProperty("text",value);
|
||||
}
|
||||
|
||||
void ProjectStatusFragment::deleteLater()
|
||||
{
|
||||
QuickHelper::clearChildren(root);
|
||||
if (projectPasport) {
|
||||
QuickHelper::freeItem(projectPasport);
|
||||
}
|
||||
|
||||
QObject::deleteLater();
|
||||
}
|
||||
|
||||
void ProjectStatusFragment::errorOccurredDynamycLoaderHandler(const QString &message)
|
||||
{
|
||||
qDebug()<<"Error: " << message;
|
||||
}
|
||||
|
||||
bool ProjectStatusFragment::isAllElementsFound(){
|
||||
bool retCode = true;
|
||||
|
||||
buttonShowProject = QuickHelper::getQuickItem(root, BUTTON_SHOW_PROJECT);
|
||||
if (!buttonShowProject) {
|
||||
qWarning() << "Failed to get buttonShowProject:" << BUTTON_SHOW_PROJECT;
|
||||
retCode = false;
|
||||
}
|
||||
|
||||
buttonDeleteProject = QuickHelper::getQuickItem(root, BUTTON_DELETE_PROJECT);
|
||||
if (!buttonDeleteProject) {
|
||||
qWarning() << "Failed to get buttonDeleteProject:" << BUTTON_DELETE_PROJECT;
|
||||
retCode = false;
|
||||
}
|
||||
|
||||
labelProjectName = QuickHelper::getQuickItem(root, LABEL_PROJECT_NAME);
|
||||
if (!labelProjectName) {
|
||||
qWarning() << "Failed to get labelProjectName:" << LABEL_PROJECT_NAME;
|
||||
retCode = false;
|
||||
}
|
||||
|
||||
labelProjectPath = QuickHelper::getQuickItem(root, LABEL_PROJECT_PATH);
|
||||
if (!labelProjectPath) {
|
||||
qWarning() << "Failed to get labelProjectPath:" << LABEL_PROJECT_PATH;
|
||||
retCode = false;
|
||||
}
|
||||
|
||||
labelProjectStatus = QuickHelper::getQuickItem(root, LABEL_PROJECT_STATUS);
|
||||
if (!labelProjectStatus) {
|
||||
qWarning() << "Failed to get labelProjectStatus:" << LABEL_PROJECT_STATUS;
|
||||
retCode = false;
|
||||
}
|
||||
|
||||
return retCode;
|
||||
}
|
||||
@ -3,177 +3,25 @@
|
||||
|
||||
#include <QObject>
|
||||
#include "interfaces/IPageActivity.h"
|
||||
#include "FigmaQmlNames.h"
|
||||
|
||||
class QQuickItem;
|
||||
class DynamicLoader;
|
||||
class QQmlEngine;
|
||||
|
||||
class ProjectStatusFragment : public QObject {
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit ProjectStatusFragment(QQuickItem * item, QObject *parent = nullptr);
|
||||
void deleteLater();
|
||||
|
||||
void setProjectName(const QString &value);
|
||||
void setProjectPath(const QString &value);
|
||||
void setProjectStatus(const QString &value);
|
||||
void setInteractionButtonsEnabled(bool state);
|
||||
// void setOnClickShow(const std::function<void()>& func){
|
||||
// onClickShow = func;
|
||||
// }
|
||||
std::function<void()> onClickShow = nullptr;
|
||||
|
||||
QString getProjectPath();
|
||||
private:
|
||||
QQuickItem * root;
|
||||
void init();
|
||||
|
||||
const QString BUTTON_SHOW_PROJECT = "ShowProjectButton";
|
||||
QQuickItem * buttonShowProject = 0;
|
||||
|
||||
|
||||
const QString BUTTON_DELETE_PROJECT = "DeleteProjectButton";
|
||||
QQuickItem * buttonDeleteProject = 0;
|
||||
|
||||
|
||||
const QString LABEL_PROJECT_NAME= "ProjecNameLabel";
|
||||
QQuickItem * labelProjectName = 0;
|
||||
|
||||
|
||||
const QString LABEL_PROJECT_PATH = "ProjectPathLabel";
|
||||
QQuickItem * labelProjectPath = 0;
|
||||
|
||||
|
||||
const QString LABEL_PROJECT_STATUS = "ProjectStatusLabel";
|
||||
QQuickItem * labelProjectStatus = 0;
|
||||
|
||||
|
||||
private slots:
|
||||
void errorOccurredDynamycLoaderHandler(const QString &message);
|
||||
private:
|
||||
DynamicLoader * loader;
|
||||
QQmlEngine * engine;
|
||||
QQuickItem * projectPasport = 0;
|
||||
bool isAllElementsFound();
|
||||
|
||||
|
||||
std::function<void()> onClickDelete = nullptr;
|
||||
|
||||
};
|
||||
|
||||
class MainPageActivity : public QObject, public IPageActivity
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit MainPageActivity(QQuickItem * item, QObject *parent = nullptr);
|
||||
void setProjectName(QString name);
|
||||
|
||||
void pageChanged() override final;
|
||||
QString getProjectName() const;
|
||||
void doActionsOnTranslateFinished();
|
||||
void setProgressBarPercent(double value);
|
||||
public:
|
||||
ProjectStatusFragment* getProjectFragment() {return projectStatusFragment;}
|
||||
static void copyToClipBoard(QVariant value);
|
||||
void isAllowChangePage(const std::function<void()> &continueChange, const std::function<void()> &blockChange) override final;
|
||||
|
||||
signals:
|
||||
|
||||
private:
|
||||
QQuickItem * root;
|
||||
DynamicLoader* loader = 0;
|
||||
QQmlEngine * engine;
|
||||
|
||||
|
||||
const QString BUTTON_CHOOSE_FILES = "ButtonChooseFiles";
|
||||
QQuickItem * buttonChooseFiles = 0;
|
||||
|
||||
const QString CONTENT_MAIN_PAGE_TRANSFORM = "ContentMainPageTransform";
|
||||
QQuickItem * contentMainPageTransform = 0;
|
||||
|
||||
const QString COLUMN_LEFT = "ColumnLeft";
|
||||
QQuickItem * columnLeft = 0;
|
||||
|
||||
const QString COLUMN_CENTER = "ColumnCenter";
|
||||
QQuickItem * columnCenter = 0;
|
||||
|
||||
const QString COLUMN_RIGHT = "ColumnRight";
|
||||
QQuickItem * columnRight = 0;
|
||||
|
||||
const QString LABEL_FILE_COUNT = "ChosenFileCountLabel";
|
||||
QQuickItem * labelFileCount = 0;
|
||||
|
||||
const QString QML_SCROLLABLE_TEXT_LIST = QML::App::SCROLLABLE_TEXT_LIST; //"QtQuckApp/qml/ScrollableTextList.qml";
|
||||
QQuickItem *listFilesItem = 0;
|
||||
|
||||
QQuickItem *progressBarController = 0;
|
||||
|
||||
QQuickItem *columnCenterItem = 0;
|
||||
|
||||
const QString TRANSFORM_BUTTON = "TransformButton";
|
||||
QQuickItem * transformButton = 0;
|
||||
|
||||
const QString TRANSFORM_BUTTON_CANCEL = "ProgressTranslateCancelButton";
|
||||
QQuickItem * transformButtonCancel = 0;
|
||||
|
||||
const QString PROJECT_NAME_TEXT_FILED = "ProjectTextField";
|
||||
QQuickItem * projectNameTextField = 0;
|
||||
|
||||
const QString TRANSLATE_PROGRESS_BAR = "TranslateProgressBar";
|
||||
QQuickItem * translateProgressBar = 0;
|
||||
|
||||
const QString TRANSLATE_PROGRESS_BAR_FILLED = "TranslateProgressBarFilled";
|
||||
QQuickItem * translateProgressBarFilled = 0;
|
||||
|
||||
// контролер сообщений
|
||||
QQuickItem * itemShowMessageNoDialog = 0;
|
||||
|
||||
bool isBlockTranslate = true;
|
||||
|
||||
ProjectStatusFragment *projectStatusFragment = 0;
|
||||
|
||||
void handleChooseFiles();
|
||||
bool isVariablesSet();
|
||||
void init();
|
||||
void loadElementsFromView();
|
||||
// Загружаем qml подмодули
|
||||
void setInitialView();
|
||||
void setDefaultValues();
|
||||
|
||||
void translateClick();
|
||||
void cancelTranslateClick();
|
||||
void blockTranslate();
|
||||
void allowTranslate();
|
||||
|
||||
void setColumnCenterTranslate();
|
||||
void setColumnCenterTranslating();
|
||||
|
||||
void buttonEntered(QQuickItem *item);
|
||||
void buttonExited(QQuickItem *item);
|
||||
void clearScrollableTextList();
|
||||
|
||||
|
||||
signals:
|
||||
void translate();
|
||||
void cancelTranslate();
|
||||
public:
|
||||
QQuickItem* getButtonChooseFiles() const { return buttonChooseFiles; }
|
||||
QQuickItem* getContentMainPageTransform() const { return contentMainPageTransform; }
|
||||
QQuickItem* getColumnLeft() const { return columnLeft; }
|
||||
QQuickItem* getColumnCenter() const { return columnCenter; }
|
||||
QQuickItem* getColumnRight() const { return columnRight; }
|
||||
QQuickItem* getLabelFileCount() const { return labelFileCount; }
|
||||
QQuickItem* getTransformButton() const { return transformButton; }
|
||||
QQuickItem* getProjectNameTextField() const { return projectNameTextField; }
|
||||
|
||||
void isAllowChangePage(const std::function<void()> &continueChange, const std::function<void()> &blockChange) override final;
|
||||
void removeProjectStatusFragment();
|
||||
void showCustomMessage(const QString& message,const QString& logPath);
|
||||
|
||||
public slots:
|
||||
void listFilePathSet(QVariant);
|
||||
private slots:
|
||||
void errorOccurredDynamycLoaderHandler(const QString& message);
|
||||
signals:
|
||||
};
|
||||
|
||||
#endif // MAINPAGEACTIVITY_H
|
||||
|
||||
179
Quartz/mainpageactivity.h1
Normal file
@ -0,0 +1,179 @@
|
||||
#ifndef MAINPAGEACTIVITY_H
|
||||
#define MAINPAGEACTIVITY_H
|
||||
|
||||
#include <QObject>
|
||||
#include "interfaces/IPageActivity.h"
|
||||
#include "FigmaQmlNames.h"
|
||||
|
||||
class QQuickItem;
|
||||
class DynamicLoader;
|
||||
class QQmlEngine;
|
||||
|
||||
class ProjectStatusFragment : public QObject {
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit ProjectStatusFragment(QQuickItem * item, QObject *parent = nullptr);
|
||||
void deleteLater();
|
||||
|
||||
void setProjectName(const QString &value);
|
||||
void setProjectPath(const QString &value);
|
||||
void setProjectStatus(const QString &value);
|
||||
void setInteractionButtonsEnabled(bool state);
|
||||
// void setOnClickShow(const std::function<void()>& func){
|
||||
// onClickShow = func;
|
||||
// }
|
||||
std::function<void()> onClickShow = nullptr;
|
||||
|
||||
QString getProjectPath();
|
||||
private:
|
||||
QQuickItem * root;
|
||||
void init();
|
||||
|
||||
const QString BUTTON_SHOW_PROJECT = "ShowProjectButton";
|
||||
QQuickItem * buttonShowProject = 0;
|
||||
|
||||
|
||||
const QString BUTTON_DELETE_PROJECT = "DeleteProjectButton";
|
||||
QQuickItem * buttonDeleteProject = 0;
|
||||
|
||||
|
||||
const QString LABEL_PROJECT_NAME= "ProjecNameLabel";
|
||||
QQuickItem * labelProjectName = 0;
|
||||
|
||||
|
||||
const QString LABEL_PROJECT_PATH = "ProjectPathLabel";
|
||||
QQuickItem * labelProjectPath = 0;
|
||||
|
||||
|
||||
const QString LABEL_PROJECT_STATUS = "ProjectStatusLabel";
|
||||
QQuickItem * labelProjectStatus = 0;
|
||||
|
||||
|
||||
private slots:
|
||||
void errorOccurredDynamycLoaderHandler(const QString &message);
|
||||
private:
|
||||
DynamicLoader * loader;
|
||||
QQmlEngine * engine;
|
||||
QQuickItem * projectPasport = 0;
|
||||
bool isAllElementsFound();
|
||||
|
||||
|
||||
std::function<void()> onClickDelete = nullptr;
|
||||
|
||||
};
|
||||
|
||||
class MainPageActivity : public QObject, public IPageActivity
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit MainPageActivity(QQuickItem * item, QObject *parent = nullptr);
|
||||
void setProjectName(QString name);
|
||||
void pageChanged() override final;
|
||||
QString getProjectName() const;
|
||||
void doActionsOnTranslateFinished();
|
||||
void setProgressBarPercent(double value);
|
||||
public:
|
||||
ProjectStatusFragment* getProjectFragment() {return projectStatusFragment;}
|
||||
static void copyToClipBoard(QVariant value);
|
||||
|
||||
private:
|
||||
QQuickItem * root;
|
||||
DynamicLoader* loader = 0;
|
||||
QQmlEngine * engine;
|
||||
|
||||
|
||||
const QString BUTTON_CHOOSE_FILES = "ButtonChooseFiles";
|
||||
QQuickItem * buttonChooseFiles = 0;
|
||||
|
||||
const QString CONTENT_MAIN_PAGE_TRANSFORM = "ContentMainPageTransform";
|
||||
QQuickItem * contentMainPageTransform = 0;
|
||||
|
||||
const QString COLUMN_LEFT = "ColumnLeft";
|
||||
QQuickItem * columnLeft = 0;
|
||||
|
||||
const QString COLUMN_CENTER = "ColumnCenter";
|
||||
QQuickItem * columnCenter = 0;
|
||||
|
||||
const QString COLUMN_RIGHT = "ColumnRight";
|
||||
QQuickItem * columnRight = 0;
|
||||
|
||||
const QString LABEL_FILE_COUNT = "ChosenFileCountLabel";
|
||||
QQuickItem * labelFileCount = 0;
|
||||
|
||||
const QString QML_SCROLLABLE_TEXT_LIST = QML::App::SCROLLABLE_TEXT_LIST; //"QtQuckApp/qml/ScrollableTextList.qml";
|
||||
QQuickItem *listFilesItem = 0;
|
||||
|
||||
QQuickItem *progressBarController = 0;
|
||||
|
||||
QQuickItem *columnCenterItem = 0;
|
||||
|
||||
const QString TRANSFORM_BUTTON = "TransformButton";
|
||||
QQuickItem * transformButton = 0;
|
||||
|
||||
const QString TRANSFORM_BUTTON_CANCEL = "ProgressTranslateCancelButton";
|
||||
QQuickItem * transformButtonCancel = 0;
|
||||
|
||||
const QString PROJECT_NAME_TEXT_FILED = "ProjectTextField";
|
||||
QQuickItem * projectNameTextField = 0;
|
||||
|
||||
const QString TRANSLATE_PROGRESS_BAR = "TranslateProgressBar";
|
||||
QQuickItem * translateProgressBar = 0;
|
||||
|
||||
const QString TRANSLATE_PROGRESS_BAR_FILLED = "TranslateProgressBarFilled";
|
||||
QQuickItem * translateProgressBarFilled = 0;
|
||||
|
||||
// контролер сообщений
|
||||
QQuickItem * itemShowMessageNoDialog = 0;
|
||||
|
||||
bool isBlockTranslate = true;
|
||||
|
||||
ProjectStatusFragment *projectStatusFragment = 0;
|
||||
|
||||
void handleChooseFiles();
|
||||
bool isVariablesSet();
|
||||
void init();
|
||||
void loadElementsFromView();
|
||||
// Загружаем qml подмодули
|
||||
void setInitialView();
|
||||
void setDefaultValues();
|
||||
|
||||
void translateClick();
|
||||
void cancelTranslateClick();
|
||||
void blockTranslate();
|
||||
void allowTranslate();
|
||||
|
||||
void setColumnCenterTranslate();
|
||||
void setColumnCenterTranslating();
|
||||
|
||||
void buttonEntered(QQuickItem *item);
|
||||
void buttonExited(QQuickItem *item);
|
||||
void clearScrollableTextList();
|
||||
|
||||
|
||||
signals:
|
||||
void translate();
|
||||
void cancelTranslate();
|
||||
public:
|
||||
QQuickItem* getButtonChooseFiles() const { return buttonChooseFiles; }
|
||||
QQuickItem* getContentMainPageTransform() const { return contentMainPageTransform; }
|
||||
QQuickItem* getColumnLeft() const { return columnLeft; }
|
||||
QQuickItem* getColumnCenter() const { return columnCenter; }
|
||||
QQuickItem* getColumnRight() const { return columnRight; }
|
||||
QQuickItem* getLabelFileCount() const { return labelFileCount; }
|
||||
QQuickItem* getTransformButton() const { return transformButton; }
|
||||
QQuickItem* getProjectNameTextField() const { return projectNameTextField; }
|
||||
|
||||
void isAllowChangePage(const std::function<void()> &continueChange, const std::function<void()> &blockChange) override final;
|
||||
void removeProjectStatusFragment();
|
||||
void showCustomMessage(const QString& message,const QString& logPath);
|
||||
|
||||
public slots:
|
||||
void listFilePathSet(QVariant);
|
||||
private slots:
|
||||
void errorOccurredDynamycLoaderHandler(const QString& message);
|
||||
signals:
|
||||
};
|
||||
|
||||
#endif // MAINPAGEACTIVITY_H
|
||||
@ -1,103 +1,6 @@
|
||||
#include "mainpagepresentor.h"
|
||||
#include "mainpageactivity.h"
|
||||
|
||||
#include <qdir.h>
|
||||
#include <qfileinfo.h>
|
||||
#include "formatconverter.h"
|
||||
#include "settingsrepository.h"
|
||||
#include "singalizer.h"
|
||||
#include "projectpageppesentor.h"
|
||||
#include "settingsrepository.h"
|
||||
#include "httpproxyserver.h"
|
||||
#include "QDesktopServices"
|
||||
|
||||
void MainPagePresentor::init()
|
||||
{
|
||||
connect(this, &MainPagePresentor::listFilesSet, activity,&MainPageActivity::listFilePathSet);
|
||||
connect(activity,&MainPageActivity::translate,this, &MainPagePresentor::transform);
|
||||
connect(activity,&MainPageActivity::cancelTranslate,this, &MainPagePresentor::cancelTransform);
|
||||
connect(&Signalizer::get(), &Signalizer::reachedLimitAvailibleMemortSize, [this]{
|
||||
cancelTransform();
|
||||
activity->showCustomMessage("Достигнут лимит свободного места на диске","");
|
||||
});
|
||||
}
|
||||
|
||||
void MainPagePresentor::setlistFilePath(const QVariant &listFilePath) {
|
||||
model->m_listFilePath = listFilePath;
|
||||
auto list = listFilePath.toStringList();
|
||||
|
||||
if (list.count() == 0) return;
|
||||
|
||||
emit listFilesSet(model->m_listFilePath);
|
||||
QFileInfo fileInfo(list.first());
|
||||
QString lastFolderName = QDir(fileInfo.absolutePath()).dirName();
|
||||
activity->setProjectName(lastFolderName);
|
||||
activity->removeProjectStatusFragment();
|
||||
}
|
||||
|
||||
void MainPagePresentor::transform() {
|
||||
if (formatConverter == 0) {
|
||||
formatConverter = new FormatConverter();
|
||||
connect(formatConverter,&FormatConverter::convertedFinished, this,&MainPagePresentor::transformFinished);
|
||||
connect(formatConverter,&FormatConverter::convertedFinishedWithError, this,&MainPagePresentor::transformFinishedWithError);
|
||||
}
|
||||
|
||||
QStringList stringList = model->m_listFilePath.toStringList();
|
||||
|
||||
QString projectName = activity->getProjectName();
|
||||
QString projectPath = SettingsRepository::instance().defaultProjectDirectory() +"\\" + projectName;
|
||||
QDir projectDir(SettingsRepository::instance().defaultProjectDirectory());
|
||||
|
||||
if (projectDir.exists(projectPath ) == false) {
|
||||
projectDir.mkdir(projectPath );
|
||||
}
|
||||
|
||||
connect(formatConverter, &FormatConverter::percentCompetedChanged, this, &MainPagePresentor::percentCompeteTrassformChangedHandler);
|
||||
|
||||
auto fragment = activity->getProjectFragment();
|
||||
fragment->setProjectName(projectName);
|
||||
fragment->setProjectPath(projectPath);
|
||||
fragment->setProjectStatus("Не сформирован");
|
||||
formatConverter->convert(stringList, projectPath);
|
||||
}
|
||||
|
||||
void MainPagePresentor::transformFinished()
|
||||
{
|
||||
activity->doActionsOnTranslateFinished();
|
||||
auto fragment = activity->getProjectFragment();
|
||||
fragment->setProjectStatus("Сформирован");
|
||||
fragment->setInteractionButtonsEnabled(true);
|
||||
}
|
||||
|
||||
void MainPagePresentor::transformFinishedWithError(QStringList listErrorFilesPath, QString pathLog)
|
||||
{
|
||||
activity->doActionsOnTranslateFinished();
|
||||
auto fragment = activity->getProjectFragment();
|
||||
fragment->setProjectStatus("Ошибка преобразования");
|
||||
fragment->setInteractionButtonsEnabled(false);
|
||||
|
||||
QString errorMsg = R"(
|
||||
Невозможно преобразовать следующие файлы:
|
||||
|
||||
)";
|
||||
for(const auto &filePath: listErrorFilesPath){
|
||||
errorMsg += filePath + "\n";
|
||||
}
|
||||
activity->showCustomMessage(errorMsg,pathLog);
|
||||
}
|
||||
|
||||
void MainPagePresentor::cancelTransform()
|
||||
{
|
||||
if (formatConverter) {
|
||||
formatConverter->stopAllConverting();
|
||||
}
|
||||
}
|
||||
|
||||
void MainPagePresentor::percentCompeteTrassformChangedHandler(double newValue)
|
||||
{
|
||||
activity->setProgressBarPercent(newValue);
|
||||
}
|
||||
|
||||
void MainPagePresentor(){
|
||||
|
||||
}
|
||||
|
||||
103
Quartz/mainpagepresentor.cpp1
Normal file
@ -0,0 +1,103 @@
|
||||
#include "mainpagepresentor.h"
|
||||
#include "mainpageactivity.h"
|
||||
|
||||
#include <qdir.h>
|
||||
#include <qfileinfo.h>
|
||||
#include "formatconverter.h"
|
||||
#include "settingsrepository.h"
|
||||
#include "singalizer.h"
|
||||
#include "projectpageppesentor.h"
|
||||
#include "settingsrepository.h"
|
||||
#include "httpproxyserver.h"
|
||||
#include "QDesktopServices"
|
||||
|
||||
void MainPagePresentor::init()
|
||||
{
|
||||
connect(this, &MainPagePresentor::listFilesSet, activity,&MainPageActivity::listFilePathSet);
|
||||
connect(activity,&MainPageActivity::translate,this, &MainPagePresentor::transform);
|
||||
connect(activity,&MainPageActivity::cancelTranslate,this, &MainPagePresentor::cancelTransform);
|
||||
connect(&Signalizer::get(), &Signalizer::reachedLimitAvailibleMemortSize, [this]{
|
||||
cancelTransform();
|
||||
activity->showCustomMessage("Достигнут лимит свободного места на диске","");
|
||||
});
|
||||
}
|
||||
|
||||
void MainPagePresentor::setlistFilePath(const QVariant &listFilePath) {
|
||||
model->m_listFilePath = listFilePath;
|
||||
auto list = listFilePath.toStringList();
|
||||
|
||||
if (list.count() == 0) return;
|
||||
|
||||
emit listFilesSet(model->m_listFilePath);
|
||||
QFileInfo fileInfo(list.first());
|
||||
QString lastFolderName = QDir(fileInfo.absolutePath()).dirName();
|
||||
activity->setProjectName(lastFolderName);
|
||||
activity->removeProjectStatusFragment();
|
||||
}
|
||||
|
||||
void MainPagePresentor::transform() {
|
||||
if (formatConverter == 0) {
|
||||
formatConverter = new FormatConverter();
|
||||
connect(formatConverter,&FormatConverter::convertedFinished, this,&MainPagePresentor::transformFinished);
|
||||
connect(formatConverter,&FormatConverter::convertedFinishedWithError, this,&MainPagePresentor::transformFinishedWithError);
|
||||
}
|
||||
|
||||
QStringList stringList = model->m_listFilePath.toStringList();
|
||||
|
||||
QString projectName = activity->getProjectName();
|
||||
QString projectPath = SettingsRepository::instance().defaultProjectDirectory() +"\\" + projectName;
|
||||
QDir projectDir(SettingsRepository::instance().defaultProjectDirectory());
|
||||
|
||||
if (projectDir.exists(projectPath ) == false) {
|
||||
projectDir.mkdir(projectPath );
|
||||
}
|
||||
|
||||
connect(formatConverter, &FormatConverter::percentCompetedChanged, this, &MainPagePresentor::percentCompeteTrassformChangedHandler);
|
||||
|
||||
auto fragment = activity->getProjectFragment();
|
||||
fragment->setProjectName(projectName);
|
||||
fragment->setProjectPath(projectPath);
|
||||
fragment->setProjectStatus("Не сформирован");
|
||||
formatConverter->convert(stringList, projectPath);
|
||||
}
|
||||
|
||||
void MainPagePresentor::transformFinished()
|
||||
{
|
||||
activity->doActionsOnTranslateFinished();
|
||||
auto fragment = activity->getProjectFragment();
|
||||
fragment->setProjectStatus("Сформирован");
|
||||
fragment->setInteractionButtonsEnabled(true);
|
||||
}
|
||||
|
||||
void MainPagePresentor::transformFinishedWithError(QStringList listErrorFilesPath, QString pathLog)
|
||||
{
|
||||
activity->doActionsOnTranslateFinished();
|
||||
auto fragment = activity->getProjectFragment();
|
||||
fragment->setProjectStatus("Ошибка преобразования");
|
||||
fragment->setInteractionButtonsEnabled(false);
|
||||
|
||||
QString errorMsg = R"(
|
||||
Невозможно преобразовать следующие файлы:
|
||||
|
||||
)";
|
||||
for(const auto &filePath: listErrorFilesPath){
|
||||
errorMsg += filePath + "\n";
|
||||
}
|
||||
activity->showCustomMessage(errorMsg,pathLog);
|
||||
}
|
||||
|
||||
void MainPagePresentor::cancelTransform()
|
||||
{
|
||||
if (formatConverter) {
|
||||
formatConverter->stopAllConverting();
|
||||
}
|
||||
}
|
||||
|
||||
void MainPagePresentor::percentCompeteTrassformChangedHandler(double newValue)
|
||||
{
|
||||
activity->setProgressBarPercent(newValue);
|
||||
}
|
||||
|
||||
void MainPagePresentor(){
|
||||
|
||||
}
|
||||
@ -2,31 +2,25 @@
|
||||
#define MAINPAGEPRESENTOR_H
|
||||
|
||||
#include <QObject>
|
||||
#include <QtQuick/QQuickPaintedItem>
|
||||
#include <qvariant.h>
|
||||
|
||||
class MainPageActivity;
|
||||
class FormatConverter;
|
||||
|
||||
class MainPagePresentor : public QObject {
|
||||
class MainPagePresentor : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_PROPERTY(QVariant listFilePath READ listFilePath WRITE setlistFilePath FINAL)
|
||||
QML_ELEMENT
|
||||
|
||||
public:
|
||||
explicit MainPagePresentor(MainPageActivity * activity, QObject* parent = nullptr)
|
||||
: QObject(parent), model(new MainPagePresentorModel), activity(activity) {
|
||||
init();
|
||||
}
|
||||
|
||||
void init();
|
||||
QVariant listFilePath() const {return model->m_listFilePath; }
|
||||
void setlistFilePath(const QVariant& listFilePath);
|
||||
|
||||
Q_INVOKABLE void transform();
|
||||
|
||||
signals:
|
||||
void listFilesSet(QVariant);
|
||||
|
||||
private:
|
||||
void init();
|
||||
|
||||
MainPageActivity *activity;
|
||||
FormatConverter * formatConverter = 0;
|
||||
|
||||
@ -34,12 +28,6 @@ private:
|
||||
public:
|
||||
QVariant m_listFilePath;
|
||||
} *model;
|
||||
|
||||
private slots:
|
||||
void transformFinished();
|
||||
void cancelTransform();
|
||||
void percentCompeteTrassformChangedHandler(double newValue);
|
||||
void transformFinishedWithError(QStringList listErrorFilesPath, QString pathLog);
|
||||
};
|
||||
|
||||
#endif // MAINPAGEPRESENTOR_H
|
||||
|
||||
45
Quartz/mainpagepresentor.h1
Normal file
@ -0,0 +1,45 @@
|
||||
#ifndef MAINPAGEPRESENTOR_H
|
||||
#define MAINPAGEPRESENTOR_H
|
||||
|
||||
#include <QObject>
|
||||
#include <QtQuick/QQuickPaintedItem>
|
||||
|
||||
class MainPageActivity;
|
||||
class FormatConverter;
|
||||
|
||||
class MainPagePresentor : public QObject {
|
||||
Q_OBJECT
|
||||
Q_PROPERTY(QVariant listFilePath READ listFilePath WRITE setlistFilePath FINAL)
|
||||
QML_ELEMENT
|
||||
|
||||
public:
|
||||
explicit MainPagePresentor(MainPageActivity * activity, QObject* parent = nullptr)
|
||||
: QObject(parent), model(new MainPagePresentorModel), activity(activity) {
|
||||
init();
|
||||
}
|
||||
|
||||
void init();
|
||||
QVariant listFilePath() const {return model->m_listFilePath; }
|
||||
void setlistFilePath(const QVariant& listFilePath);
|
||||
|
||||
Q_INVOKABLE void transform();
|
||||
|
||||
signals:
|
||||
void listFilesSet(QVariant);
|
||||
private:
|
||||
MainPageActivity *activity;
|
||||
FormatConverter * formatConverter = 0;
|
||||
|
||||
class MainPagePresentorModel{
|
||||
public:
|
||||
QVariant m_listFilePath;
|
||||
} *model;
|
||||
|
||||
private slots:
|
||||
void transformFinished();
|
||||
void cancelTransform();
|
||||
void percentCompeteTrassformChangedHandler(double newValue);
|
||||
void transformFinishedWithError(QStringList listErrorFilesPath, QString pathLog);
|
||||
};
|
||||
|
||||
#endif // MAINPAGEPRESENTOR_H
|
||||
@ -7,14 +7,14 @@ import QtQuick.Controls
|
||||
import QtQuick.Shapes
|
||||
import FigmaQmlInterface
|
||||
Rectangle {
|
||||
// component (Instance) level: 0 LabelHeaderComponentH1
|
||||
id: figma_94_18
|
||||
// # "LabelHeaderComponentH1"
|
||||
objectName:"LabelHeaderComponentH1"
|
||||
// component (Instance) level: 0 15.43 GB
|
||||
id: figma_696_76
|
||||
// # "15.43 GB"
|
||||
objectName:"15.43 GB"
|
||||
x:0
|
||||
y:0
|
||||
width:128
|
||||
height:39
|
||||
width:115
|
||||
height:31
|
||||
color:"#00ffffff"
|
||||
clip: false
|
||||
Component.onCompleted: {
|
||||
@ -8,7 +8,7 @@ import QtQuick.Shapes
|
||||
import FigmaQmlInterface
|
||||
Rectangle {
|
||||
// component (Instance) level: 0 ColumnaItemComponent
|
||||
id: figma_139_46
|
||||
id: figma_696_64
|
||||
// # "ColumnaItemComponent"
|
||||
objectName:"ColumnaItemComponent"
|
||||
x:0
|
||||
@ -16,6 +16,7 @@ Rectangle {
|
||||
width:266
|
||||
height:27
|
||||
color: "transparent"
|
||||
radius:6
|
||||
clip: false
|
||||
Component.onCompleted: {
|
||||
}
|
||||
@ -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_bold57_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)
|
||||
}
|
||||
}
|
||||
@ -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_bold57_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)
|
||||
}
|
||||
}
|
||||
23
Quartz/pages/FigmaQmlInterface/qml/Frame_82934_figma.qml
Normal 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 Frame 829
|
||||
id: figma_696_68
|
||||
// # "Frame 829"
|
||||
objectName:"Frame 829"
|
||||
x:0
|
||||
y:0
|
||||
width:149
|
||||
height:34.4433
|
||||
color: "transparent"
|
||||
radius:6
|
||||
clip: false
|
||||
Component.onCompleted: {
|
||||
}
|
||||
}
|
||||
22
Quartz/pages/FigmaQmlInterface/qml/Frame_86032_figma.qml
Normal file
@ -0,0 +1,22 @@
|
||||
//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 Frame 860
|
||||
id: figma_696_73
|
||||
// # "Frame 860"
|
||||
objectName:"Frame 860"
|
||||
x:0
|
||||
y:0
|
||||
width:100
|
||||
height:23
|
||||
color: "transparent"
|
||||
clip: false
|
||||
Component.onCompleted: {
|
||||
}
|
||||
}
|
||||
@ -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)
|
||||
}
|
||||
}
|
||||
@ -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)
|
||||
}
|
||||
}
|
||||
@ -6,9 +6,17 @@ import QtQuick.Shapes
|
||||
import QtQuick.Controls
|
||||
import QtQuick.Shapes
|
||||
import FigmaQmlInterface
|
||||
InputComponent33_figma {
|
||||
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
|
||||
Component.onCompleted: {
|
||||
}
|
||||
}
|
||||
@ -6,9 +6,17 @@ import QtQuick.Shapes
|
||||
import QtQuick.Controls
|
||||
import QtQuick.Shapes
|
||||
import FigmaQmlInterface
|
||||
LabelHeaderComponentH2_bold56_figma {
|
||||
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
|
||||
Component.onCompleted: {
|
||||
}
|
||||
}
|
||||
@ -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)
|
||||
}
|
||||
}
|
||||
@ -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)
|
||||
}
|
||||
}
|
||||
@ -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 ProgressBarComponent
|
||||
id: figma_696_78
|
||||
// # "ProgressBarComponent"
|
||||
objectName:"ProgressBarComponent"
|
||||
x:0
|
||||
y:0
|
||||
width:209
|
||||
height:10
|
||||
color: "transparent"
|
||||
radius:5
|
||||
clip: true
|
||||
Component.onCompleted: {
|
||||
}
|
||||
}
|
||||
@ -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
|
||||
}
|
||||
}
|
||||
InputComponent33_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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -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
|
||||
|
||||
LabelComponent22_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: -1 }
|
||||
PathLine { x: -1; y: -1 }
|
||||
PathLine { x: -1; y: 0 }
|
||||
PathLine { x: 0; y: 0 }
|
||||
PathMove { x: 249; y: 0 }
|
||||
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: 23 }
|
||||
PathLine { x: 250; y: 23 }
|
||||
PathLine { x: 250; y: 22 }
|
||||
PathLine { x: 249; y: 22 }
|
||||
PathMove { x: 0; y: 22 }
|
||||
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: 1 }
|
||||
PathLine { x: 249; y: 1 }
|
||||
PathLine { x: 249; y: 0 }
|
||||
PathLine { x: 249; y: -1 }
|
||||
PathLine { x: 0; y: -1 }
|
||||
PathLine { x: 0; y: 0 }
|
||||
PathMove { x: 249; y: 0 }
|
||||
PathLine { x: 248; y: 0 }
|
||||
PathLine { x: 248; y: 22 }
|
||||
PathLine { x: 249; y: 22 }
|
||||
PathLine { x: 250; y: 22 }
|
||||
PathLine { x: 250; y: 0 }
|
||||
PathLine { x: 249; y: 0 }
|
||||
PathMove { x: 249; y: 22 }
|
||||
PathLine { x: 249; y: 21 }
|
||||
PathLine { x: 0; y: 21 }
|
||||
PathLine { x: 0; y: 22 }
|
||||
PathLine { x: 0; y: 23 }
|
||||
PathLine { x: 249; y: 23 }
|
||||
PathLine { x: 249; y: 22 }
|
||||
PathMove { x: 0; y: 22 }
|
||||
PathLine { x: 1; y: 22 }
|
||||
PathLine { x: 1; y: 0 }
|
||||
PathLine { x: 0; y: 0 }
|
||||
PathLine { x: -1; y: 0 }
|
||||
PathLine { x: -1; 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 CancelLabel
|
||||
id: figma_94_102
|
||||
// # "CancelLabel"
|
||||
objectName:"CancelLabel"
|
||||
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
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1,297 +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 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
|
||||
}
|
||||
}
|
||||
}
|
||||
ProgressTranslateCancelButton30_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
|
||||
}
|
||||
}
|
||||
ProgressTranslateCancelButton30_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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,119 @@
|
||||
//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 ComponentListAvalibleSize
|
||||
id: figma_696_198
|
||||
// # "ComponentListAvalibleSize"
|
||||
objectName:"ComponentListAvalibleSize"
|
||||
x:0
|
||||
y:0
|
||||
width:182
|
||||
height:49
|
||||
color:"#fff0f0f0"
|
||||
radius:5.82084
|
||||
clip: true
|
||||
|
||||
C15_43_GB30_figma {
|
||||
// component (Instance) level: 0 LabelAvailibleSizeButtonComponent
|
||||
id: figma_696_199
|
||||
// # "LabelAvailibleSizeButtonComponent"
|
||||
objectName:"LabelAvailibleSizeButtonComponent"
|
||||
x:86
|
||||
y:14
|
||||
width:83.6746
|
||||
height:22.5558
|
||||
Text {
|
||||
// component (Instance) level: 1 LabelAvailibleSizeButton
|
||||
id: figma_i696_199_613_432
|
||||
// # "LabelAvailibleSizeButton"
|
||||
objectName:"LabelAvailibleSizeButton"
|
||||
x:0
|
||||
y:0
|
||||
width:84
|
||||
height:23
|
||||
color:"#ff000000"
|
||||
wrapMode: TextEdit.WordWrap
|
||||
text:"15.43 GB"
|
||||
font.family: "Tahoma"
|
||||
font.italic: false
|
||||
font.letterSpacing: 0
|
||||
font.pixelSize: 18
|
||||
font.weight: Font.DemiBold
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
verticalAlignment: Text.AlignTop
|
||||
}
|
||||
}
|
||||
ProgressBarComponent28_figma {
|
||||
// component (Instance) level: 0 AvailibleSizeProgressBar
|
||||
id: figma_696_200
|
||||
// # "AvailibleSizeProgressBar"
|
||||
objectName:"AvailibleSizeProgressBar"
|
||||
x:12
|
||||
y:38
|
||||
width:158
|
||||
height:8
|
||||
Rectangle {
|
||||
// component (Instance) level: 1 AvailibleSizeProgressBarPassedBar
|
||||
id: figma_i696_200_613_435
|
||||
// # "AvailibleSizeProgressBarPassedBar"
|
||||
objectName:"AvailibleSizeProgressBarPassedBar"
|
||||
x:0
|
||||
y:0
|
||||
width:112.051
|
||||
height:7.27605
|
||||
color:"#ffdb1c1c"
|
||||
radius:3.63803
|
||||
clip: true
|
||||
|
||||
}
|
||||
}
|
||||
Rectangle {
|
||||
// component (Instance) level: 0 Frame 840
|
||||
id: figma_696_201
|
||||
// # "Frame 840"
|
||||
objectName:"Frame 840"
|
||||
x:12
|
||||
y:-9
|
||||
width:152
|
||||
height:4
|
||||
color: "transparent"
|
||||
clip: true
|
||||
|
||||
}
|
||||
LabelComponent24_figma {
|
||||
// component (Instance) level: 0 LabelComponent
|
||||
id: figma_696_202
|
||||
// # "LabelComponent"
|
||||
objectName:"LabelComponent"
|
||||
x:12
|
||||
y:7
|
||||
width:139.628
|
||||
height:15
|
||||
Text {
|
||||
// component (Instance) level: 1 Label
|
||||
id: figma_i696_202_613_450
|
||||
// # "Label"
|
||||
objectName:"Label"
|
||||
x:0
|
||||
y:0
|
||||
width:59
|
||||
height:15
|
||||
color:"#ff000000"
|
||||
wrapMode: TextEdit.WordWrap
|
||||
text:"Свободно"
|
||||
font.family: "Tahoma"
|
||||
font.italic: false
|
||||
font.letterSpacing: 0
|
||||
font.pixelSize: 12
|
||||
font.weight: Font.Normal
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
verticalAlignment: Text.AlignTop
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,120 @@
|
||||
//Generated by FigmaQML 3.2.1
|
||||
|
||||
import QtQuick
|
||||
import QtQuick.Effects
|
||||
import QtQuick.Shapes
|
||||
import QtQuick.Controls
|
||||
import QtQuick.Shapes
|
||||
import FigmaQmlInterface
|
||||
Frame_82934_figma {
|
||||
// component (Instance) level: 0 ComponentProjectItem
|
||||
id: figma_696_258
|
||||
// # "ComponentProjectItem"
|
||||
objectName:"ComponentProjectItem"
|
||||
x:0
|
||||
y:0
|
||||
width:408
|
||||
height:34.4433
|
||||
color:"#ffb3ccff"
|
||||
Rectangle {
|
||||
// component (Instance) level: 1 Frame 846
|
||||
id: figma_i696_258_664_589
|
||||
// # "Frame 846"
|
||||
objectName:"Frame 846"
|
||||
x:4
|
||||
y:4
|
||||
width:400
|
||||
height:26.4433
|
||||
color: "transparent"
|
||||
clip: false
|
||||
|
||||
Rectangle {
|
||||
// component (Instance) level: 1 Frame 854
|
||||
id: figma_i696_258_668_468
|
||||
// # "Frame 854"
|
||||
objectName:"Frame 854"
|
||||
x:0
|
||||
y:0
|
||||
width:20
|
||||
height:26.4433
|
||||
color: "transparent"
|
||||
clip: false
|
||||
|
||||
Item {
|
||||
// component (Instance) level: 1 file 1 1
|
||||
id: figma_i696_258_664_400
|
||||
// # "file 1 1"
|
||||
objectName:"file 1 1"
|
||||
x: (figma_i696_258_668_468.width - width) / 2 - 0.269006
|
||||
y: (figma_i696_258_668_468.height - height) / 2
|
||||
width:15.462
|
||||
height:20.4433
|
||||
MultiEffect {
|
||||
maskEnabled: true
|
||||
anchors.fill:parent
|
||||
source: source_figma_i696_258_664_400
|
||||
maskSource: maskSource_figma_i696_258_664_400
|
||||
}
|
||||
Image {
|
||||
id: source_figma_i696_258_664_400
|
||||
layer.enabled: true
|
||||
fillMode: Image.PreserveAspectCrop
|
||||
visible: false
|
||||
mipmap: true
|
||||
anchors.fill:parent
|
||||
source: "images/1c48981d7f65b8590c4a278fdac35cda16325ad5.png"
|
||||
}
|
||||
Shape {
|
||||
id: maskSource_figma_i696_258_664_400
|
||||
anchors.fill: parent
|
||||
layer.enabled: true
|
||||
visible: false
|
||||
ShapePath {
|
||||
strokeColor: "transparent"
|
||||
strokeWidth:0.0398505
|
||||
fillColor:"black"
|
||||
fillRule: ShapePath.WindingFill
|
||||
PathSvg {
|
||||
path: "M0 0L15.462 0L15.462 20.4433L0 20.4433L0 0Z"
|
||||
}
|
||||
}
|
||||
}
|
||||
Shape {
|
||||
anchors.fill: parent
|
||||
ShapePath {
|
||||
strokeColor: "transparent"
|
||||
strokeWidth:0.0398505
|
||||
fillColor:"#00000000"
|
||||
// component (shapeFill) level: 1
|
||||
fillRule: ShapePath.WindingFill
|
||||
PathSvg {
|
||||
id: path_0_figma_i696_258_664_400
|
||||
path: "M0 0L15.462 0L15.462 20.4433L0 20.4433L0 0Z"
|
||||
}
|
||||
}
|
||||
}
|
||||
property alias path: path_0_figma_i696_258_664_400.path
|
||||
}
|
||||
}
|
||||
Text {
|
||||
// component (Instance) level: 1 Третьяковская
|
||||
id: figma_i696_258_664_404
|
||||
// # "Третьяковская"
|
||||
objectName:"Третьяковская"
|
||||
x:30
|
||||
y:7
|
||||
width:108
|
||||
height:15
|
||||
color:"#ff000000"
|
||||
wrapMode: TextEdit.WordWrap
|
||||
text:"Краснокаменская"
|
||||
font.family: "Tahoma"
|
||||
font.italic: false
|
||||
font.letterSpacing: 0
|
||||
font.pixelSize: 12
|
||||
font.weight: Font.Normal
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
verticalAlignment: Text.AlignTop
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,61 @@
|
||||
//Generated by FigmaQML 3.2.1
|
||||
|
||||
import QtQuick
|
||||
import QtQuick.Effects
|
||||
import QtQuick.Shapes
|
||||
import QtQuick.Controls
|
||||
import QtQuick.Shapes
|
||||
import FigmaQmlInterface
|
||||
Frame_86032_figma {
|
||||
// component (Instance) level: 0 ComponentStage
|
||||
id: figma_703_616
|
||||
// # "ComponentStage"
|
||||
objectName:"ComponentStage"
|
||||
x:0
|
||||
y:0
|
||||
width:144
|
||||
height:23
|
||||
Shape {
|
||||
// component (Instance) level: 1 Ellipse 3
|
||||
id: figma_i703_616_670_555
|
||||
// # "Ellipse 3"
|
||||
objectName:"Ellipse 3"
|
||||
x:0
|
||||
y:6
|
||||
width:10
|
||||
height:10
|
||||
ShapePath {
|
||||
id: svgpath_figma_i703_616_670_555
|
||||
strokeColor: "transparent"
|
||||
strokeWidth:1
|
||||
fillColor:"#ffd9d9d9"
|
||||
// component (shapeFill) level: 1
|
||||
fillRule: ShapePath.WindingFill
|
||||
PathSvg {
|
||||
id: path_0_figma_i703_616_670_555
|
||||
path: "M10 5C10 7.76142 7.76142 10 5 10C2.23858 10 0 7.76142 0 5C0 2.23858 2.23858 0 5 0C7.76142 0 10 2.23858 10 5Z"
|
||||
}
|
||||
}
|
||||
property alias path: path_0_figma_i703_616_670_555.path
|
||||
}
|
||||
Text {
|
||||
// component (Instance) level: 1 Выбор файлов
|
||||
id: figma_i703_616_670_553
|
||||
// # "Выбор файлов"
|
||||
objectName:"Выбор файлов"
|
||||
x:14
|
||||
y:4
|
||||
width:130
|
||||
height:15
|
||||
color:"#ff000000"
|
||||
wrapMode: TextEdit.WordWrap
|
||||
text:"Указание параметров"
|
||||
font.family: "Tahoma"
|
||||
font.italic: false
|
||||
font.letterSpacing: 0
|
||||
font.pixelSize: 12
|
||||
font.weight: Font.Normal
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
verticalAlignment: Text.AlignTop
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,491 @@
|
||||
//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 ComponentTitle
|
||||
id: figma_729_641
|
||||
// # "ComponentTitle"
|
||||
objectName:"ComponentTitle"
|
||||
x:0
|
||||
y:0
|
||||
width:600
|
||||
height:32
|
||||
color:"#ffcccccc"
|
||||
clip: true
|
||||
|
||||
Text {
|
||||
// component (Instance) level: 0 LabelTitle
|
||||
id: figma_729_642
|
||||
// # "LabelTitle"
|
||||
objectName:"LabelTitle"
|
||||
x: (figma_729_641.width - width) / 2 + 19.5
|
||||
y: (figma_729_641.height - height) / 2 + 0.5
|
||||
width:381
|
||||
height:31
|
||||
color:"#ff000000"
|
||||
wrapMode: TextEdit.WordWrap
|
||||
text:"Кварц: Главная"
|
||||
font.family: "Tahoma"
|
||||
font.italic: false
|
||||
font.letterSpacing: 0
|
||||
font.pixelSize: 11
|
||||
font.weight: Font.Normal
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
}
|
||||
Rectangle {
|
||||
// component (Instance) level: 0 Frame 815
|
||||
id: figma_729_643
|
||||
// # "Frame 815"
|
||||
objectName:"Frame 815"
|
||||
x:510
|
||||
y: (figma_729_641.height - height) / 2 + 0.5
|
||||
width:90
|
||||
height:33
|
||||
color: "transparent"
|
||||
clip: false
|
||||
|
||||
Rectangle {
|
||||
// component (Instance) level: 0 HideWindow
|
||||
id: figma_729_644
|
||||
// # "HideWindow"
|
||||
objectName:"HideWindow"
|
||||
x:0
|
||||
y:1
|
||||
width:45
|
||||
height:31
|
||||
color: "transparent"
|
||||
clip: false
|
||||
|
||||
Rectangle {
|
||||
// component (Instance) level: 0 Frame 814
|
||||
id: figma_729_645
|
||||
// # "Frame 814"
|
||||
objectName:"Frame 814"
|
||||
x: (figma_729_644.width - width) / 2 + 1.5
|
||||
y: (figma_729_644.height - height) / 2
|
||||
width:12
|
||||
height:1
|
||||
color: "transparent"
|
||||
clip: false
|
||||
|
||||
Shape {
|
||||
// component (Instance) level: 0 Rectangle 27
|
||||
id: figma_729_646
|
||||
// # "Rectangle 27"
|
||||
objectName:"Rectangle 27"
|
||||
x:0
|
||||
y:0
|
||||
width:12
|
||||
height:1.04762
|
||||
ShapePath {
|
||||
strokeColor: "transparent"
|
||||
strokeWidth:0.52381
|
||||
fillColor:"#ff000000"
|
||||
// component (shapeFill) level: 0
|
||||
id: svgpath_figma_729_646
|
||||
fillRule: ShapePath.WindingFill
|
||||
PathSvg {
|
||||
id: path_0_figma_729_646
|
||||
path: "M0 0L12 0L12 1.04762L0 1.04762L0 0Z"
|
||||
}
|
||||
}
|
||||
property alias path: path_0_figma_729_646.path
|
||||
}
|
||||
}
|
||||
}
|
||||
Rectangle {
|
||||
// component (Instance) level: 0 CloseWindow
|
||||
id: figma_729_647
|
||||
// # "CloseWindow"
|
||||
objectName:"CloseWindow"
|
||||
x:45
|
||||
y:1
|
||||
width:45
|
||||
height:31
|
||||
color: "transparent"
|
||||
clip: false
|
||||
|
||||
Rectangle {
|
||||
// component (Instance) level: 0 Frame 813
|
||||
id: figma_729_648
|
||||
// # "Frame 813"
|
||||
objectName:"Frame 813"
|
||||
x: (figma_729_647.width - width) / 2
|
||||
y: (figma_729_647.height - height) / 2 - 0.357143
|
||||
width:15
|
||||
height:14.2857
|
||||
color: "transparent"
|
||||
clip: false
|
||||
|
||||
Shape {
|
||||
// component (Instance) level: 0 Rectangle 28
|
||||
id: figma_729_649
|
||||
// # "Rectangle 28"
|
||||
objectName:"Rectangle 28"
|
||||
transform: Matrix4x4 {
|
||||
matrix: Qt.matrix4x4(
|
||||
0.707107, 0.707107, -1.81899e-12, 0,
|
||||
-0.707107, 0.707107, 13.5742, 0,
|
||||
0, 0, 1, 0,
|
||||
0, 0, 0, 1)
|
||||
}
|
||||
x:0
|
||||
y:13
|
||||
width:19.1958
|
||||
height:1
|
||||
ShapePath {
|
||||
strokeColor: "transparent"
|
||||
strokeWidth:0.714286
|
||||
fillColor:"#ff000000"
|
||||
// component (shapeFill) level: 0
|
||||
id: svgpath_figma_729_649
|
||||
fillRule: ShapePath.WindingFill
|
||||
PathSvg {
|
||||
id: path_0_figma_729_649
|
||||
path: "M0 0L19.1958 0L19.1958 1L0 1L0 0Z"
|
||||
}
|
||||
}
|
||||
property alias path: path_0_figma_729_649.path
|
||||
}
|
||||
Shape {
|
||||
// component (Instance) level: 0 Rectangle 29
|
||||
id: figma_729_650
|
||||
// # "Rectangle 29"
|
||||
objectName:"Rectangle 29"
|
||||
transform: Matrix4x4 {
|
||||
matrix: Qt.matrix4x4(
|
||||
0.707107, -0.707107, 1.26001, 0,
|
||||
0.707107, 0.707107, -0.104736, 0,
|
||||
0, 0, 1, 0,
|
||||
0, 0, 0, 1)
|
||||
}
|
||||
x:1
|
||||
y:0
|
||||
width:19.2278
|
||||
height:1
|
||||
ShapePath {
|
||||
strokeColor: "transparent"
|
||||
strokeWidth:0.714286
|
||||
fillColor:"#ff000000"
|
||||
// component (shapeFill) level: 0
|
||||
id: svgpath_figma_729_650
|
||||
fillRule: ShapePath.WindingFill
|
||||
PathSvg {
|
||||
id: path_0_figma_729_650
|
||||
path: "M0 0L19.2278 0L19.2278 1L0 1L0 0Z"
|
||||
}
|
||||
}
|
||||
property alias path: path_0_figma_729_650.path
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Rectangle {
|
||||
// component (Instance) level: 0 Frame 844
|
||||
id: figma_729_651
|
||||
// # "Frame 844"
|
||||
objectName:"Frame 844"
|
||||
x:0
|
||||
y:0
|
||||
width:140
|
||||
height:32
|
||||
color: "transparent"
|
||||
clip: false
|
||||
|
||||
Rectangle {
|
||||
// component (Instance) level: 0 Frame 851
|
||||
id: figma_729_652
|
||||
// # "Frame 851"
|
||||
objectName:"Frame 851"
|
||||
x:0
|
||||
y:0
|
||||
width:35
|
||||
height:32
|
||||
color: "transparent"
|
||||
clip: false
|
||||
|
||||
Item {
|
||||
// component (Instance) level: 0 Logo 2
|
||||
id: figma_729_653
|
||||
// # "Logo 2"
|
||||
objectName:"Logo 2"
|
||||
x: (figma_729_652.width - width) / 2 + 0.0555544
|
||||
y: (figma_729_652.height - height) / 2
|
||||
width:31.1111
|
||||
height:28
|
||||
MultiEffect {
|
||||
maskEnabled: true
|
||||
anchors.fill:parent
|
||||
source: source_figma_729_653
|
||||
maskSource: maskSource_figma_729_653
|
||||
}
|
||||
Image {
|
||||
id: source_figma_729_653
|
||||
layer.enabled: true
|
||||
fillMode: Image.PreserveAspectCrop
|
||||
visible: false
|
||||
mipmap: true
|
||||
anchors.fill:parent
|
||||
source: "images/81b8090b737e9cc1aca3c8512aa46b1a507b23a5.png"
|
||||
}
|
||||
Shape {
|
||||
id: maskSource_figma_729_653
|
||||
anchors.fill: parent
|
||||
layer.enabled: true
|
||||
visible: false
|
||||
ShapePath {
|
||||
strokeColor: "transparent"
|
||||
strokeWidth:0.0292099
|
||||
fillColor:"black"
|
||||
fillRule: ShapePath.WindingFill
|
||||
PathSvg {
|
||||
path: "M0 0L31.1111 0L31.1111 28L0 28L0 0Z"
|
||||
}
|
||||
}
|
||||
}
|
||||
Shape {
|
||||
anchors.fill: parent
|
||||
ShapePath {
|
||||
strokeColor: "transparent"
|
||||
strokeWidth:0.0292099
|
||||
fillColor:"#00000000"
|
||||
// component (shapeFill) level: 0
|
||||
id: svgpath_figma_729_653
|
||||
fillRule: ShapePath.WindingFill
|
||||
PathSvg {
|
||||
id: path_0_figma_729_653
|
||||
path: "M0 0L31.1111 0L31.1111 28L0 28L0 0Z"
|
||||
}
|
||||
}
|
||||
}
|
||||
property alias path: path_0_figma_729_653.path
|
||||
}
|
||||
}
|
||||
Rectangle {
|
||||
// component (Instance) level: 0 Frame 858
|
||||
id: figma_729_654
|
||||
// # "Frame 858"
|
||||
objectName:"Frame 858"
|
||||
x:40
|
||||
y:0
|
||||
width:82.4242
|
||||
height:32
|
||||
color: "transparent"
|
||||
clip: false
|
||||
|
||||
Rectangle {
|
||||
// component (Instance) level: 0 HomeItemMenu
|
||||
id: figma_729_655
|
||||
// # "HomeItemMenu"
|
||||
objectName:"HomeItemMenu"
|
||||
x:0
|
||||
y:2
|
||||
width:26.1818
|
||||
height:26.1818
|
||||
color: "transparent"
|
||||
clip: false
|
||||
|
||||
Item {
|
||||
// component (Instance) level: 0 #HomeIcon
|
||||
id: figma_729_656
|
||||
// # "#HomeIcon"
|
||||
objectName:"#HomeIcon"
|
||||
x: (figma_729_655.width - width) / 2 - 1.37799
|
||||
y:4
|
||||
width:23.4258
|
||||
height:20.2314
|
||||
MultiEffect {
|
||||
maskEnabled: true
|
||||
anchors.fill:parent
|
||||
source: source_figma_729_656
|
||||
maskSource: maskSource_figma_729_656
|
||||
}
|
||||
Image {
|
||||
id: source_figma_729_656
|
||||
layer.enabled: true
|
||||
fillMode: Image.PreserveAspectCrop
|
||||
visible: false
|
||||
mipmap: true
|
||||
anchors.fill:parent
|
||||
source: "images/c98a8dfa5e5ae60415372792b482ee2395f3c244.png"
|
||||
}
|
||||
Shape {
|
||||
id: maskSource_figma_729_656
|
||||
anchors.fill: parent
|
||||
layer.enabled: true
|
||||
visible: false
|
||||
ShapePath {
|
||||
strokeColor: "transparent"
|
||||
strokeWidth:0.176296
|
||||
fillColor:"black"
|
||||
fillRule: ShapePath.WindingFill
|
||||
PathSvg {
|
||||
path: "M0 0L23.4258 0L23.4258 20.2314L0 20.2314L0 0Z"
|
||||
}
|
||||
}
|
||||
}
|
||||
Shape {
|
||||
anchors.fill: parent
|
||||
ShapePath {
|
||||
strokeColor: "transparent"
|
||||
strokeWidth:0.176296
|
||||
fillColor:"#00000000"
|
||||
// component (shapeFill) level: 0
|
||||
id: svgpath_figma_729_656
|
||||
fillRule: ShapePath.WindingFill
|
||||
PathSvg {
|
||||
id: path_0_figma_729_656
|
||||
path: "M0 0L23.4258 0L23.4258 20.2314L0 20.2314L0 0Z"
|
||||
}
|
||||
}
|
||||
}
|
||||
property alias path: path_0_figma_729_656.path
|
||||
}
|
||||
}
|
||||
Rectangle {
|
||||
// component (Instance) level: 0 ProjectsItemMenu
|
||||
id: figma_729_657
|
||||
// # "ProjectsItemMenu"
|
||||
objectName:"ProjectsItemMenu"
|
||||
x:28
|
||||
y:2
|
||||
width:26.1818
|
||||
height:26.1818
|
||||
color: "transparent"
|
||||
clip: false
|
||||
|
||||
Item {
|
||||
// component (Instance) level: 0 ProjectIcon
|
||||
id: figma_729_658
|
||||
// # "ProjectIcon"
|
||||
objectName:"ProjectIcon"
|
||||
x: (figma_729_657.width - width) / 2 - 0.454545
|
||||
y:6
|
||||
width:23.2727
|
||||
height:17.4545
|
||||
MultiEffect {
|
||||
maskEnabled: true
|
||||
anchors.fill:parent
|
||||
source: source_figma_729_658
|
||||
maskSource: maskSource_figma_729_658
|
||||
}
|
||||
Image {
|
||||
id: source_figma_729_658
|
||||
layer.enabled: true
|
||||
fillMode: Image.PreserveAspectCrop
|
||||
visible: false
|
||||
mipmap: true
|
||||
anchors.fill:parent
|
||||
source: "images/3c0e227d940391143941250369cfabae13fc1068.png"
|
||||
}
|
||||
Shape {
|
||||
id: maskSource_figma_729_658
|
||||
anchors.fill: parent
|
||||
layer.enabled: true
|
||||
visible: false
|
||||
ShapePath {
|
||||
strokeColor: "transparent"
|
||||
strokeWidth:0.284043
|
||||
fillColor:"black"
|
||||
fillRule: ShapePath.WindingFill
|
||||
PathSvg {
|
||||
path: "M0 0L23.2727 0L23.2727 17.4545L0 17.4545L0 0Z"
|
||||
}
|
||||
}
|
||||
}
|
||||
Shape {
|
||||
anchors.fill: parent
|
||||
ShapePath {
|
||||
strokeColor: "transparent"
|
||||
strokeWidth:0.284043
|
||||
fillColor:"#00000000"
|
||||
// component (shapeFill) level: 0
|
||||
id: svgpath_figma_729_658
|
||||
fillRule: ShapePath.WindingFill
|
||||
PathSvg {
|
||||
id: path_0_figma_729_658
|
||||
path: "M0 0L23.2727 0L23.2727 17.4545L0 17.4545L0 0Z"
|
||||
}
|
||||
}
|
||||
}
|
||||
property alias path: path_0_figma_729_658.path
|
||||
}
|
||||
}
|
||||
Rectangle {
|
||||
// component (Instance) level: 0 CreateProjectItemMenu
|
||||
id: figma_729_668
|
||||
// # "CreateProjectItemMenu"
|
||||
objectName:"CreateProjectItemMenu"
|
||||
x:56
|
||||
y:2
|
||||
width:26.1818
|
||||
height:26.1818
|
||||
color: "transparent"
|
||||
clip: false
|
||||
|
||||
Item {
|
||||
// component (Instance) level: 0 filecreate 1
|
||||
id: figma_729_660
|
||||
// # "filecreate 1"
|
||||
objectName:"filecreate 1"
|
||||
x: (figma_729_668.width - width) / 2 - 0.818182
|
||||
y: (figma_729_668.height - height) / 2 + 0.606061
|
||||
width:14.5455
|
||||
height:19.3939
|
||||
MultiEffect {
|
||||
maskEnabled: true
|
||||
anchors.fill:parent
|
||||
source: source_figma_729_660
|
||||
maskSource: maskSource_figma_729_660
|
||||
}
|
||||
Image {
|
||||
id: source_figma_729_660
|
||||
layer.enabled: true
|
||||
fillMode: Image.PreserveAspectCrop
|
||||
visible: false
|
||||
mipmap: true
|
||||
anchors.fill:parent
|
||||
source: "images/5845797c11bd3dce41447016f80ae3ecd6372c45.png"
|
||||
}
|
||||
Shape {
|
||||
id: maskSource_figma_729_660
|
||||
anchors.fill: parent
|
||||
layer.enabled: true
|
||||
visible: false
|
||||
ShapePath {
|
||||
strokeColor: "transparent"
|
||||
strokeWidth:0.0191688
|
||||
fillColor:"black"
|
||||
fillRule: ShapePath.WindingFill
|
||||
PathSvg {
|
||||
path: "M0 0L14.5455 0L14.5455 19.3939L0 19.3939L0 0Z"
|
||||
}
|
||||
}
|
||||
}
|
||||
Shape {
|
||||
anchors.fill: parent
|
||||
ShapePath {
|
||||
strokeColor: "transparent"
|
||||
strokeWidth:0.0191688
|
||||
fillColor:"#00000000"
|
||||
// component (shapeFill) level: 0
|
||||
id: svgpath_figma_729_660
|
||||
fillRule: ShapePath.WindingFill
|
||||
PathSvg {
|
||||
id: path_0_figma_729_660
|
||||
path: "M0 0L14.5455 0L14.5455 19.3939L0 19.3939L0 0Z"
|
||||
}
|
||||
}
|
||||
}
|
||||
property alias path: path_0_figma_729_660.path
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -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
|
||||
FileComponent23_figma {
|
||||
// component (Instance) level: 0 FileComponent
|
||||
id: figma_98_57
|
||||
// # "FileComponent"
|
||||
objectName:"FileComponent"
|
||||
}
|
||||
@ -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
|
||||
FolderComponent22_figma {
|
||||
// component (Instance) level: 0 FolderComponent
|
||||
id: figma_98_54
|
||||
// # "FolderComponent"
|
||||
objectName:"FolderComponent"
|
||||
}
|
||||
@ -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 Frame 810
|
||||
id: figma_518_62
|
||||
// # "Frame 810"
|
||||
objectName:"Frame 810"
|
||||
x:0
|
||||
y:0
|
||||
width:114
|
||||
height:26
|
||||
color:"#ffffffff"
|
||||
radius:30
|
||||
clip: true
|
||||
|
||||
}
|
||||
@ -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
|
||||
HeaderValueComponent33_figma {
|
||||
// component (Instance) level: 0 HeaderValueComponent
|
||||
id: figma_269_178
|
||||
// # "HeaderValueComponent"
|
||||
objectName:"HeaderValueComponent"
|
||||
}
|
||||
702
Quartz/pages/FigmaQmlInterface/qml/TestPage_HomePage6_figma.qml
Normal file
@ -0,0 +1,702 @@
|
||||
//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 HomePage
|
||||
id: figma_696_84
|
||||
// # "HomePage"
|
||||
objectName:"HomePage"
|
||||
x:0
|
||||
y:0
|
||||
width:600
|
||||
height:418
|
||||
color: "transparent"
|
||||
clip: false
|
||||
|
||||
Rectangle {
|
||||
// component (Instance) level: 0 Frame 848
|
||||
id: figma_696_85
|
||||
// # "Frame 848"
|
||||
objectName:"Frame 848"
|
||||
x:0
|
||||
y:0
|
||||
width:159
|
||||
height:418
|
||||
color: "transparent"
|
||||
clip: false
|
||||
|
||||
Rectangle {
|
||||
// component (Instance) level: 0 Frame 796
|
||||
id: figma_696_86
|
||||
// # "Frame 796"
|
||||
objectName:"Frame 796"
|
||||
x:0
|
||||
y:0
|
||||
width:159
|
||||
height:418
|
||||
color:"#ffeeeeee"
|
||||
clip: false
|
||||
|
||||
Rectangle {
|
||||
// component (Instance) level: 0 Column
|
||||
id: figma_696_87
|
||||
// # "Column"
|
||||
objectName:"Column"
|
||||
x:0
|
||||
y:0
|
||||
width:159
|
||||
height:113.27
|
||||
color: "transparent"
|
||||
clip: false
|
||||
|
||||
Rectangle {
|
||||
// component (Instance) level: 0 BackItemPP
|
||||
id: figma_696_88
|
||||
// # "BackItemPP"
|
||||
objectName:"BackItemPP"
|
||||
x:0
|
||||
y:6
|
||||
width:159
|
||||
height:31.27
|
||||
color: "transparent"
|
||||
clip: false
|
||||
|
||||
Rectangle {
|
||||
// component (Instance) level: 0 BackItemP
|
||||
id: figma_729_673
|
||||
// # "BackItemP"
|
||||
objectName:"BackItemP"
|
||||
x:5
|
||||
y:3
|
||||
width:27.27
|
||||
height:27.27
|
||||
color: "transparent"
|
||||
clip: false
|
||||
|
||||
Item {
|
||||
// component (Instance) level: 0 BackItem
|
||||
id: figma_729_672
|
||||
// # "BackItem"
|
||||
objectName:"BackItem"
|
||||
x: (figma_729_673.width - width) / 2 + 1.29
|
||||
y: (figma_729_673.height - height) / 2 + 0.0113869
|
||||
width:15.85
|
||||
height:15.2928
|
||||
MultiEffect {
|
||||
maskEnabled: true
|
||||
anchors.fill:parent
|
||||
source: source_figma_729_672
|
||||
maskSource: maskSource_figma_729_672
|
||||
}
|
||||
Image {
|
||||
id: source_figma_729_672
|
||||
layer.enabled: true
|
||||
fillMode: Image.PreserveAspectCrop
|
||||
visible: false
|
||||
mipmap: true
|
||||
anchors.fill:parent
|
||||
source: "images/3259052539ddee9dd518eeaf9e5a81633e5eabc1.png"
|
||||
}
|
||||
Shape {
|
||||
id: maskSource_figma_729_672
|
||||
anchors.fill: parent
|
||||
layer.enabled: true
|
||||
visible: false
|
||||
ShapePath {
|
||||
strokeColor: "transparent"
|
||||
strokeWidth:0.562753
|
||||
fillColor:"black"
|
||||
fillRule: ShapePath.WindingFill
|
||||
PathSvg {
|
||||
path: "M0 0L15.85 0L15.85 15.2928L0 15.2928L0 0Z"
|
||||
}
|
||||
}
|
||||
}
|
||||
Shape {
|
||||
anchors.fill: parent
|
||||
ShapePath {
|
||||
strokeColor: "transparent"
|
||||
strokeWidth:0.562753
|
||||
fillColor:"#00000000"
|
||||
// component (shapeFill) level: 0
|
||||
id: svgpath_figma_729_672
|
||||
fillRule: ShapePath.WindingFill
|
||||
PathSvg {
|
||||
id: path_0_figma_729_672
|
||||
path: "M0 0L15.85 0L15.85 15.2928L0 15.2928L0 0Z"
|
||||
}
|
||||
}
|
||||
}
|
||||
property alias path: path_0_figma_729_672.path
|
||||
}
|
||||
}
|
||||
}
|
||||
Rectangle {
|
||||
// component (Instance) level: 0 ProjectsItem
|
||||
id: figma_696_93
|
||||
// # "ProjectsItem"
|
||||
objectName:"ProjectsItem"
|
||||
x:0
|
||||
y:45
|
||||
width:159
|
||||
height:27
|
||||
color: "transparent"
|
||||
radius:6
|
||||
clip: false
|
||||
|
||||
Rectangle {
|
||||
// component (Instance) level: 0 Frame 855
|
||||
id: figma_696_94
|
||||
// # "Frame 855"
|
||||
objectName:"Frame 855"
|
||||
x:7
|
||||
y:0
|
||||
width:27.2718
|
||||
height:27.2718
|
||||
color: "transparent"
|
||||
clip: false
|
||||
|
||||
Item {
|
||||
// component (Instance) level: 0 ProjectIcon
|
||||
id: figma_696_95
|
||||
// # "ProjectIcon"
|
||||
objectName:"ProjectIcon"
|
||||
x: (figma_696_94.width - width) / 2 - 0.135915
|
||||
y: (figma_696_94.height - height) / 2 - 1.13591
|
||||
width:23
|
||||
height:23
|
||||
MultiEffect {
|
||||
maskEnabled: true
|
||||
anchors.fill:parent
|
||||
source: source_figma_696_95
|
||||
maskSource: maskSource_figma_696_95
|
||||
}
|
||||
Image {
|
||||
id: source_figma_696_95
|
||||
layer.enabled: true
|
||||
fillMode: Image.PreserveAspectCrop
|
||||
visible: false
|
||||
mipmap: true
|
||||
anchors.fill:parent
|
||||
source: "images/3c0e227d940391143941250369cfabae13fc1068.png"
|
||||
}
|
||||
Shape {
|
||||
id: maskSource_figma_696_95
|
||||
anchors.fill: parent
|
||||
layer.enabled: true
|
||||
visible: false
|
||||
ShapePath {
|
||||
strokeColor: "transparent"
|
||||
strokeWidth:0.23
|
||||
fillColor:"black"
|
||||
fillRule: ShapePath.WindingFill
|
||||
PathSvg {
|
||||
path: "M0 0L23 0L23 23L0 23L0 0Z"
|
||||
}
|
||||
}
|
||||
}
|
||||
Shape {
|
||||
anchors.fill: parent
|
||||
ShapePath {
|
||||
strokeColor: "transparent"
|
||||
strokeWidth:0.23
|
||||
fillColor:"#00000000"
|
||||
// component (shapeFill) level: 0
|
||||
id: svgpath_figma_696_95
|
||||
fillRule: ShapePath.WindingFill
|
||||
PathSvg {
|
||||
id: path_0_figma_696_95
|
||||
path: "M0 0L23 0L23 23L0 23L0 0Z"
|
||||
}
|
||||
}
|
||||
}
|
||||
property alias path: path_0_figma_696_95.path
|
||||
}
|
||||
}
|
||||
Text {
|
||||
// component (Instance) level: 0 ProjectLabel
|
||||
id: figma_696_96
|
||||
// # "ProjectLabel"
|
||||
objectName:"ProjectLabel"
|
||||
x:38
|
||||
y:6
|
||||
width:113.728
|
||||
height:15
|
||||
color:"#ff000000"
|
||||
wrapMode: TextEdit.WordWrap
|
||||
text:"Проекты"
|
||||
font.family: "Tahoma"
|
||||
font.italic: false
|
||||
font.letterSpacing: 0
|
||||
font.pixelSize: 12
|
||||
font.weight: Font.Normal
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
verticalAlignment: Text.AlignTop
|
||||
}
|
||||
}
|
||||
Rectangle {
|
||||
// component (Instance) level: 0 CreateProjectsItem
|
||||
id: figma_696_97
|
||||
// # "CreateProjectsItem"
|
||||
objectName:"CreateProjectsItem"
|
||||
x:0
|
||||
y:80
|
||||
width:159
|
||||
height:27
|
||||
color: "transparent"
|
||||
radius:6
|
||||
clip: false
|
||||
|
||||
Rectangle {
|
||||
// component (Instance) level: 0 Frame 879
|
||||
id: figma_729_669
|
||||
// # "Frame 879"
|
||||
objectName:"Frame 879"
|
||||
x:7
|
||||
y:0
|
||||
width:27
|
||||
height:27
|
||||
color: "transparent"
|
||||
clip: false
|
||||
|
||||
Item {
|
||||
// component (Instance) level: 0 filecreate 1
|
||||
id: figma_729_670
|
||||
// # "filecreate 1"
|
||||
objectName:"filecreate 1"
|
||||
x: (figma_729_669.width - width) / 2
|
||||
y: (figma_729_669.height - height) / 2 + 1.5
|
||||
width:15
|
||||
height:20
|
||||
MultiEffect {
|
||||
maskEnabled: true
|
||||
anchors.fill:parent
|
||||
source: source_figma_729_670
|
||||
maskSource: maskSource_figma_729_670
|
||||
}
|
||||
Image {
|
||||
id: source_figma_729_670
|
||||
layer.enabled: true
|
||||
fillMode: Image.PreserveAspectCrop
|
||||
visible: false
|
||||
mipmap: true
|
||||
anchors.fill:parent
|
||||
source: "images/5845797c11bd3dce41447016f80ae3ecd6372c45.png"
|
||||
}
|
||||
Shape {
|
||||
id: maskSource_figma_729_670
|
||||
anchors.fill: parent
|
||||
layer.enabled: true
|
||||
visible: false
|
||||
ShapePath {
|
||||
strokeColor: "transparent"
|
||||
strokeWidth:0.0197678
|
||||
fillColor:"black"
|
||||
fillRule: ShapePath.WindingFill
|
||||
PathSvg {
|
||||
path: "M0 0L15 0L15 20L0 20L0 0Z"
|
||||
}
|
||||
}
|
||||
}
|
||||
Shape {
|
||||
anchors.fill: parent
|
||||
ShapePath {
|
||||
strokeColor: "transparent"
|
||||
strokeWidth:0.0197678
|
||||
fillColor:"#00000000"
|
||||
// component (shapeFill) level: 0
|
||||
id: svgpath_figma_729_670
|
||||
fillRule: ShapePath.WindingFill
|
||||
PathSvg {
|
||||
id: path_0_figma_729_670
|
||||
path: "M0 0L15 0L15 20L0 20L0 0Z"
|
||||
}
|
||||
}
|
||||
}
|
||||
property alias path: path_0_figma_729_670.path
|
||||
}
|
||||
}
|
||||
Text {
|
||||
// component (Instance) level: 0 ProjectLabel
|
||||
id: figma_696_100
|
||||
// # "ProjectLabel"
|
||||
objectName:"ProjectLabel"
|
||||
x:38
|
||||
y:6
|
||||
width:114
|
||||
height:15
|
||||
color:"#ff000000"
|
||||
wrapMode: TextEdit.WordWrap
|
||||
text:"Создать"
|
||||
font.family: "Tahoma"
|
||||
font.italic: false
|
||||
font.letterSpacing: 0
|
||||
font.pixelSize: 12
|
||||
font.weight: Font.Normal
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
verticalAlignment: Text.AlignTop
|
||||
}
|
||||
}
|
||||
}
|
||||
Rectangle {
|
||||
// component (Instance) level: 0 Column
|
||||
id: figma_696_101
|
||||
// # "Column"
|
||||
objectName:"Column"
|
||||
x:0
|
||||
y:327
|
||||
width:159
|
||||
height:91
|
||||
color: "transparent"
|
||||
clip: false
|
||||
|
||||
ColumnaItemComponent36_figma {
|
||||
// component (Instance) level: 0 SettingsItem
|
||||
id: figma_696_102
|
||||
// # "SettingsItem"
|
||||
objectName:"SettingsItem"
|
||||
x:0
|
||||
y:0
|
||||
width:159
|
||||
height:27
|
||||
Rectangle {
|
||||
// component (Instance) level: 1 Frame 857
|
||||
id: figma_i696_102_668_655
|
||||
// # "Frame 857"
|
||||
objectName:"Frame 857"
|
||||
x:7
|
||||
y:0
|
||||
width:27.2718
|
||||
height:27.2718
|
||||
color: "transparent"
|
||||
clip: false
|
||||
|
||||
Item {
|
||||
// component (Instance) level: 1 SettingsIcon
|
||||
id: figma_i696_102_613_481
|
||||
// # "SettingsIcon"
|
||||
objectName:"SettingsIcon"
|
||||
x: (figma_i696_102_668_655.width - width) / 2 + 0.364085
|
||||
y: (figma_i696_102_668_655.height - height) / 2 + 0.364085
|
||||
width:20
|
||||
height:20
|
||||
MultiEffect {
|
||||
maskEnabled: true
|
||||
anchors.fill:parent
|
||||
source: source_figma_i696_102_613_481
|
||||
maskSource: maskSource_figma_i696_102_613_481
|
||||
}
|
||||
Image {
|
||||
id: source_figma_i696_102_613_481
|
||||
layer.enabled: true
|
||||
fillMode: Image.PreserveAspectCrop
|
||||
visible: false
|
||||
mipmap: true
|
||||
anchors.fill:parent
|
||||
source: "images/ff3699e449928196383ec790d1449da4567e924b.png"
|
||||
}
|
||||
Shape {
|
||||
id: maskSource_figma_i696_102_613_481
|
||||
anchors.fill: parent
|
||||
layer.enabled: true
|
||||
visible: false
|
||||
ShapePath {
|
||||
strokeColor: "transparent"
|
||||
strokeWidth:0.2
|
||||
fillColor:"black"
|
||||
fillRule: ShapePath.WindingFill
|
||||
PathSvg {
|
||||
path: "M0 0L20 0L20 20L0 20L0 0Z"
|
||||
}
|
||||
}
|
||||
}
|
||||
Shape {
|
||||
anchors.fill: parent
|
||||
ShapePath {
|
||||
strokeColor: "transparent"
|
||||
strokeWidth:0.2
|
||||
fillColor:"#00000000"
|
||||
// component (shapeFill) level: 1
|
||||
fillRule: ShapePath.WindingFill
|
||||
PathSvg {
|
||||
id: path_0_figma_i696_102_613_481
|
||||
path: "M0 0L20 0L20 20L0 20L0 0Z"
|
||||
}
|
||||
}
|
||||
}
|
||||
property alias path: path_0_figma_i696_102_613_481.path
|
||||
}
|
||||
}
|
||||
Text {
|
||||
// component (Instance) level: 1 SettingsLabel
|
||||
id: figma_i696_102_613_482
|
||||
// # "SettingsLabel"
|
||||
objectName:"SettingsLabel"
|
||||
x:38
|
||||
y:6
|
||||
width:113.728
|
||||
height:15
|
||||
color:"#ff000000"
|
||||
wrapMode: TextEdit.WordWrap
|
||||
text:"Настройки"
|
||||
font.family: "Tahoma"
|
||||
font.italic: false
|
||||
font.letterSpacing: 0
|
||||
font.pixelSize: 12
|
||||
font.weight: Font.Normal
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
verticalAlignment: Text.AlignTop
|
||||
}
|
||||
}
|
||||
ColumnaItemComponent36_figma {
|
||||
// component (Instance) level: 0 InfoItem
|
||||
id: figma_696_103
|
||||
// # "InfoItem"
|
||||
objectName:"InfoItem"
|
||||
x:0
|
||||
y:32
|
||||
width:159
|
||||
height:27
|
||||
Rectangle {
|
||||
// component (Instance) level: 1 InfoItem
|
||||
id: figma_i696_103_668_655
|
||||
// # "InfoItem"
|
||||
objectName:"InfoItem"
|
||||
x:7
|
||||
y:0
|
||||
width:27.2718
|
||||
height:27.2718
|
||||
color: "transparent"
|
||||
clip: false
|
||||
|
||||
Item {
|
||||
// component (Instance) level: 1 SettingsIcon
|
||||
id: figma_i696_103_613_481
|
||||
// # "SettingsIcon"
|
||||
objectName:"SettingsIcon"
|
||||
x: (figma_i696_103_668_655.width - width) / 2 + 0.364085
|
||||
y: (figma_i696_103_668_655.height - height) / 2 + 0.364085
|
||||
width:20
|
||||
height:20
|
||||
MultiEffect {
|
||||
maskEnabled: true
|
||||
anchors.fill:parent
|
||||
source: source_figma_i696_103_613_481
|
||||
maskSource: maskSource_figma_i696_103_613_481
|
||||
}
|
||||
Image {
|
||||
id: source_figma_i696_103_613_481
|
||||
layer.enabled: true
|
||||
fillMode: Image.PreserveAspectCrop
|
||||
visible: false
|
||||
mipmap: true
|
||||
anchors.fill:parent
|
||||
source: "images/0b476a1a4f6492d458bce50e4c239b21fdd5dd59.png"
|
||||
}
|
||||
Shape {
|
||||
id: maskSource_figma_i696_103_613_481
|
||||
anchors.fill: parent
|
||||
layer.enabled: true
|
||||
visible: false
|
||||
ShapePath {
|
||||
strokeColor: "transparent"
|
||||
strokeWidth:0.2
|
||||
fillColor:"black"
|
||||
fillRule: ShapePath.WindingFill
|
||||
PathSvg {
|
||||
path: "M0 0L20 0L20 20L0 20L0 0Z"
|
||||
}
|
||||
}
|
||||
}
|
||||
Shape {
|
||||
anchors.fill: parent
|
||||
ShapePath {
|
||||
strokeColor: "transparent"
|
||||
strokeWidth:0.2
|
||||
fillColor:"#00000000"
|
||||
// component (shapeFill) level: 1
|
||||
fillRule: ShapePath.WindingFill
|
||||
PathSvg {
|
||||
id: path_0_figma_i696_103_613_481
|
||||
path: "M0 0L20 0L20 20L0 20L0 0Z"
|
||||
}
|
||||
}
|
||||
}
|
||||
property alias path: path_0_figma_i696_103_613_481.path
|
||||
}
|
||||
}
|
||||
Text {
|
||||
// component (Instance) level: 1 SettingsLabel
|
||||
id: figma_i696_103_613_482
|
||||
// # "SettingsLabel"
|
||||
objectName:"SettingsLabel"
|
||||
x:38
|
||||
y:6
|
||||
width:113.728
|
||||
height:15
|
||||
color:"#ff000000"
|
||||
wrapMode: TextEdit.WordWrap
|
||||
text:"О Программе"
|
||||
font.family: "Tahoma"
|
||||
font.italic: false
|
||||
font.letterSpacing: 0
|
||||
font.pixelSize: 12
|
||||
font.weight: Font.Normal
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
verticalAlignment: Text.AlignTop
|
||||
}
|
||||
}
|
||||
ColumnaItemComponent36_figma {
|
||||
// component (Instance) level: 0 CloseItem
|
||||
id: figma_696_104
|
||||
// # "CloseItem"
|
||||
objectName:"CloseItem"
|
||||
x:0
|
||||
y:64
|
||||
width:159
|
||||
height:27
|
||||
color:"#ffffedec"
|
||||
Rectangle {
|
||||
// component (Instance) level: 1 Frame 857
|
||||
id: figma_i696_104_668_655
|
||||
// # "Frame 857"
|
||||
objectName:"Frame 857"
|
||||
x:7
|
||||
y:0
|
||||
width:27.2718
|
||||
height:27.2718
|
||||
color: "transparent"
|
||||
clip: false
|
||||
|
||||
Item {
|
||||
// component (Instance) level: 1 CloseIcon
|
||||
id: figma_i696_104_613_481
|
||||
// # "CloseIcon"
|
||||
objectName:"CloseIcon"
|
||||
x: (figma_i696_104_668_655.width - width) / 2 + 0.364085
|
||||
y: (figma_i696_104_668_655.height - height) / 2 + 0.364085
|
||||
width:20
|
||||
height:20
|
||||
MultiEffect {
|
||||
maskEnabled: true
|
||||
anchors.fill:parent
|
||||
source: source_figma_i696_104_613_481
|
||||
maskSource: maskSource_figma_i696_104_613_481
|
||||
}
|
||||
Image {
|
||||
id: source_figma_i696_104_613_481
|
||||
layer.enabled: true
|
||||
fillMode: Image.PreserveAspectCrop
|
||||
visible: false
|
||||
mipmap: true
|
||||
anchors.fill:parent
|
||||
source: "images/b94b825a0450b742b1b678299ff3bccffdbe4c04.png"
|
||||
}
|
||||
Shape {
|
||||
id: maskSource_figma_i696_104_613_481
|
||||
anchors.fill: parent
|
||||
layer.enabled: true
|
||||
visible: false
|
||||
ShapePath {
|
||||
strokeColor: "transparent"
|
||||
strokeWidth:0.2
|
||||
fillColor:"black"
|
||||
fillRule: ShapePath.WindingFill
|
||||
PathSvg {
|
||||
path: "M0 0L20 0L20 20L0 20L0 0Z"
|
||||
}
|
||||
}
|
||||
}
|
||||
Shape {
|
||||
anchors.fill: parent
|
||||
ShapePath {
|
||||
strokeColor: "transparent"
|
||||
strokeWidth:0.2
|
||||
fillColor:"#00000000"
|
||||
// component (shapeFill) level: 1
|
||||
fillRule: ShapePath.WindingFill
|
||||
PathSvg {
|
||||
id: path_0_figma_i696_104_613_481
|
||||
path: "M0 0L20 0L20 20L0 20L0 0Z"
|
||||
}
|
||||
}
|
||||
}
|
||||
property alias path: path_0_figma_i696_104_613_481.path
|
||||
}
|
||||
}
|
||||
Text {
|
||||
// component (Instance) level: 1 CloseLabel
|
||||
id: figma_i696_104_613_482
|
||||
// # "CloseLabel"
|
||||
objectName:"CloseLabel"
|
||||
x:38
|
||||
y:6
|
||||
width:113.728
|
||||
height:15
|
||||
color:"#ff000000"
|
||||
wrapMode: TextEdit.WordWrap
|
||||
text:"Выход"
|
||||
font.family: "Tahoma"
|
||||
font.italic: false
|
||||
font.letterSpacing: 0
|
||||
font.pixelSize: 12
|
||||
font.weight: Font.Normal
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
verticalAlignment: Text.AlignTop
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Rectangle {
|
||||
// component (Instance) level: 0 Frame 847
|
||||
id: figma_696_105
|
||||
// # "Frame 847"
|
||||
objectName:"Frame 847"
|
||||
x:159
|
||||
y:0
|
||||
width:441
|
||||
height:418
|
||||
color: "transparent"
|
||||
clip: false
|
||||
|
||||
Text {
|
||||
// component (Instance) level: 0 LabelRecentProject
|
||||
id: figma_696_106
|
||||
// # "LabelRecentProject"
|
||||
objectName:"LabelRecentProject"
|
||||
x:10
|
||||
y:10
|
||||
width:421
|
||||
height:18
|
||||
color:"#ff000000"
|
||||
wrapMode: TextEdit.WordWrap
|
||||
text:"Недавние проекты"
|
||||
font.family: "Tahoma"
|
||||
font.italic: false
|
||||
font.letterSpacing: 0
|
||||
font.pixelSize: 15
|
||||
font.weight: Font.Normal
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
verticalAlignment: Text.AlignTop
|
||||
}
|
||||
Rectangle {
|
||||
// component (Instance) level: 0 ContentListRecentProjects
|
||||
id: figma_701_302
|
||||
// # "ContentListRecentProjects"
|
||||
objectName:"ContentListRecentProjects"
|
||||
x:10
|
||||
y:43
|
||||
width:421
|
||||
height:365
|
||||
color: "transparent"
|
||||
clip: false
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
196
Quartz/pages/FigmaQmlInterface/qml/TestPage_InfoPage1_figma.qml
Normal file
@ -0,0 +1,196 @@
|
||||
//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 InfoPage
|
||||
id: figma_704_631
|
||||
// # "InfoPage"
|
||||
objectName:"InfoPage"
|
||||
x:0
|
||||
y:0
|
||||
width:633
|
||||
height:245
|
||||
color:"#fff0f0f0"
|
||||
clip: false
|
||||
|
||||
Item {
|
||||
// component (Instance) level: 0 Logo 2
|
||||
id: figma_704_632
|
||||
// # "Logo 2"
|
||||
objectName:"Logo 2"
|
||||
x: (figma_704_631.width - width) / 2 - 252.5
|
||||
y: (figma_704_631.height - height) / 2 - 17.5
|
||||
width:120
|
||||
height:108
|
||||
MultiEffect {
|
||||
maskEnabled: true
|
||||
anchors.fill:parent
|
||||
source: source_figma_704_632
|
||||
maskSource: maskSource_figma_704_632
|
||||
}
|
||||
Image {
|
||||
id: source_figma_704_632
|
||||
layer.enabled: true
|
||||
fillMode: Image.PreserveAspectCrop
|
||||
visible: false
|
||||
mipmap: true
|
||||
anchors.fill:parent
|
||||
source: "images/81b8090b737e9cc1aca3c8512aa46b1a507b23a5.png"
|
||||
}
|
||||
Shape {
|
||||
id: maskSource_figma_704_632
|
||||
anchors.fill: parent
|
||||
layer.enabled: true
|
||||
visible: false
|
||||
ShapePath {
|
||||
strokeColor: "transparent"
|
||||
strokeWidth:0.0292099
|
||||
fillColor:"black"
|
||||
fillRule: ShapePath.WindingFill
|
||||
PathSvg {
|
||||
path: "M0 0L120 0L120 108L0 108L0 0Z"
|
||||
}
|
||||
}
|
||||
}
|
||||
Shape {
|
||||
anchors.fill: parent
|
||||
ShapePath {
|
||||
strokeColor: "transparent"
|
||||
strokeWidth:0.0292099
|
||||
fillColor:"#00000000"
|
||||
// component (shapeFill) level: 0
|
||||
id: svgpath_figma_704_632
|
||||
fillRule: ShapePath.WindingFill
|
||||
PathSvg {
|
||||
id: path_0_figma_704_632
|
||||
path: "M0 0L120 0L120 108L0 108L0 0Z"
|
||||
}
|
||||
}
|
||||
}
|
||||
property alias path: path_0_figma_704_632.path
|
||||
}
|
||||
Text {
|
||||
// component (Instance) level: 0 Кварц 1.0.0.1
|
||||
id: figma_704_633
|
||||
// # "Кварц 1.0.0.1"
|
||||
objectName:"Кварц 1.0.0.1"
|
||||
x:143
|
||||
y:24
|
||||
width:235
|
||||
height:17
|
||||
color:"#ff000000"
|
||||
wrapMode: TextEdit.WordWrap
|
||||
text:"Кварц 1.0.0.1"
|
||||
font.family: "Tahoma"
|
||||
font.italic: false
|
||||
font.letterSpacing: 0
|
||||
font.pixelSize: 14
|
||||
font.weight: Font.DemiBold
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
verticalAlignment: Text.AlignTop
|
||||
}
|
||||
Text {
|
||||
// component (Instance) level: 0 ContentDesctiption
|
||||
id: figma_704_634
|
||||
// # "ContentDesctiption"
|
||||
objectName:"ContentDesctiption"
|
||||
x:143
|
||||
y:51
|
||||
width:487
|
||||
height:177
|
||||
color:"#ff000000"
|
||||
wrapMode: TextEdit.WordWrap
|
||||
text:"Собран на Qt (MSVC 2022, x64).
|
||||
|
||||
Описание:
|
||||
Кварц - это программный продукт, предназначенный для конвертации файлов формата LAS/LAZ (файлы лазерного сканирования) в веб-формат, позволяющий отображать трёхмерные облака точек в браузере без использования специализированного ПО.
|
||||
© 2025 ООО \"КиберКод\". Все права защищены."
|
||||
font.family: "Tahoma"
|
||||
font.italic: false
|
||||
font.letterSpacing: 0
|
||||
font.pixelSize: 12
|
||||
font.weight: Font.Normal
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
verticalAlignment: Text.AlignTop
|
||||
}
|
||||
Rectangle {
|
||||
// component (Instance) level: 0 Frame 878
|
||||
id: figma_704_635
|
||||
// # "Frame 878"
|
||||
objectName:"Frame 878"
|
||||
x:378
|
||||
y:214
|
||||
width:245
|
||||
height:19
|
||||
color: "transparent"
|
||||
clip: false
|
||||
|
||||
ProgressTranslateCancelButton38_figma {
|
||||
// component (Instance) level: 0 DeleteProjectButton
|
||||
id: figma_704_636
|
||||
// # "DeleteProjectButton"
|
||||
objectName:"DeleteProjectButton"
|
||||
x:0
|
||||
y:0
|
||||
width:88
|
||||
height:19
|
||||
color: "transparent"
|
||||
Text {
|
||||
// component (Instance) level: 1 RemoveLabel
|
||||
id: figma_i704_636_652_314
|
||||
// # "RemoveLabel"
|
||||
objectName:"RemoveLabel"
|
||||
x:23
|
||||
y:3
|
||||
width:42
|
||||
height:12
|
||||
color:"#ff110202"
|
||||
wrapMode: TextEdit.WordWrap
|
||||
text:"Закрыть"
|
||||
font.family: "Tahoma"
|
||||
font.italic: false
|
||||
font.letterSpacing: 0
|
||||
font.pixelSize: 10
|
||||
font.weight: Font.Normal
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
verticalAlignment: Text.AlignTop
|
||||
}
|
||||
}
|
||||
ProgressTranslateCancelButton38_figma {
|
||||
// component (Instance) level: 0 DeleteProjectButton
|
||||
id: figma_704_637
|
||||
// # "DeleteProjectButton"
|
||||
objectName:"DeleteProjectButton"
|
||||
x:104
|
||||
y:0
|
||||
width:141
|
||||
height:19
|
||||
color: "transparent"
|
||||
Text {
|
||||
// component (Instance) level: 1 RemoveLabel
|
||||
id: figma_i704_637_652_314
|
||||
// # "RemoveLabel"
|
||||
objectName:"RemoveLabel"
|
||||
x:12
|
||||
y:3
|
||||
width:116
|
||||
height:12
|
||||
color:"#ff110202"
|
||||
wrapMode: TextEdit.WordWrap
|
||||
text:"Скопировать и закрыть"
|
||||
font.family: "Tahoma"
|
||||
font.italic: false
|
||||
font.letterSpacing: 0
|
||||
font.pixelSize: 10
|
||||
font.weight: Font.Normal
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
verticalAlignment: Text.AlignTop
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -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
|
||||
LabelHeaderComponentH363_figma {
|
||||
// component (Instance) level: 0 LabelHeaderComponentH3
|
||||
id: figma_269_166
|
||||
// # "LabelHeaderComponentH3"
|
||||
objectName:"LabelHeaderComponentH3"
|
||||
}
|
||||
@ -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
|
||||
|
||||
LabelHeaderComponentH125_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
|
||||
|
||||
}
|
||||
LabelComponent22_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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,47 @@
|
||||
//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_696_82
|
||||
// # "MainWindow"
|
||||
objectName:"MainWindow"
|
||||
x:0
|
||||
y:0
|
||||
width:600
|
||||
height:450
|
||||
color:"#ffffffff"
|
||||
clip: true
|
||||
|
||||
Rectangle {
|
||||
// component (Instance) level: 0 ContentHeader
|
||||
id: figma_697_580
|
||||
// # "ContentHeader"
|
||||
objectName:"ContentHeader"
|
||||
x:0
|
||||
y:0
|
||||
width:600
|
||||
height:32
|
||||
color: "transparent"
|
||||
clip: false
|
||||
|
||||
}
|
||||
Rectangle {
|
||||
// component (Instance) level: 0 ContentMain
|
||||
id: figma_697_581
|
||||
// # "ContentMain"
|
||||
objectName:"ContentMain"
|
||||
x:0
|
||||
y:32
|
||||
width:600
|
||||
height:418
|
||||
color: "transparent"
|
||||
clip: false
|
||||
|
||||
}
|
||||
}
|
||||
@ -1,785 +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
|
||||
|
||||
LabelHeaderComponentH364_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
|
||||
}
|
||||
}
|
||||
HeaderValueComponent33_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 AvailibleSizeProgressBarPassedBar
|
||||
id: figma_269_206
|
||||
// # "AvailibleSizeProgressBarPassedBar"
|
||||
objectName:"AvailibleSizeProgressBarPassedBar"
|
||||
x:19
|
||||
y:85
|
||||
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
|
||||
|
||||
ColumnaItemComponent30_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
|
||||
}
|
||||
}
|
||||
ColumnaItemComponent30_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
|
||||
|
||||
ColumnaItemComponent30_figma {
|
||||
// component (Instance) level: 0 CloseItem
|
||||
id: figma_139_80
|
||||
// # "CloseItem"
|
||||
objectName:"CloseItem"
|
||||
x:1
|
||||
y:32
|
||||
width:212
|
||||
height:27
|
||||
color:"#ffffedec"
|
||||
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/b94b825a0450b742b1b678299ff3bccffdbe4c04.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
|
||||
}
|
||||
}
|
||||
ColumnaItemComponent30_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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1,108 +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
|
||||
|
||||
Rectangle {
|
||||
// component (Instance) level: 0 Frame 811
|
||||
id: figma_560_41
|
||||
// # "Frame 811"
|
||||
objectName:"Frame 811"
|
||||
x:31
|
||||
y:20
|
||||
width:1037
|
||||
height:39
|
||||
color: "transparent"
|
||||
clip: false
|
||||
|
||||
LabelHeaderComponentH125_figma {
|
||||
// component (Instance) level: 0 ProjectPageHeader
|
||||
id: figma_94_81
|
||||
// # "ProjectPageHeader"
|
||||
objectName:"ProjectPageHeader"
|
||||
x:0
|
||||
y:0
|
||||
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
|
||||
}
|
||||
}
|
||||
LabelComponent22_figma {
|
||||
// component (Instance) level: 0 SubDirectoryLabelComponent
|
||||
id: figma_94_82
|
||||
// # "SubDirectoryLabelComponent"
|
||||
objectName:"SubDirectoryLabelComponent"
|
||||
x:149
|
||||
y:10
|
||||
width:888
|
||||
height:19
|
||||
Text {
|
||||
// component (Instance) level: 1 SubdirectorName
|
||||
id: figma_i94_82_613_450
|
||||
// # "SubdirectorName"
|
||||
objectName:"SubdirectorName"
|
||||
x:0
|
||||
y:0
|
||||
width:888
|
||||
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
|
||||
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,425 @@
|
||||
//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 ProjectsPage
|
||||
id: figma_701_305
|
||||
// # "ProjectsPage"
|
||||
objectName:"ProjectsPage"
|
||||
x:0
|
||||
y:0
|
||||
width:600
|
||||
height:417
|
||||
color: "transparent"
|
||||
clip: false
|
||||
|
||||
Rectangle {
|
||||
// component (Instance) level: 0 SearchComponent
|
||||
id: figma_701_306
|
||||
// # "SearchComponent"
|
||||
objectName:"SearchComponent"
|
||||
x:0
|
||||
y:0
|
||||
width:430
|
||||
height:31
|
||||
color: "transparent"
|
||||
clip: false
|
||||
|
||||
}
|
||||
Rectangle {
|
||||
// component (Instance) level: 0 PanelRight
|
||||
id: figma_701_307
|
||||
// # "PanelRight"
|
||||
objectName:"PanelRight"
|
||||
x:428
|
||||
y:0
|
||||
width:172
|
||||
height:417
|
||||
color:"#ffffffff"
|
||||
clip: true
|
||||
|
||||
LabelHeaderComponentH326_figma {
|
||||
// component (Instance) level: 0 InformationHeader
|
||||
id: figma_701_308
|
||||
// # "InformationHeader"
|
||||
objectName:"InformationHeader"
|
||||
x:0
|
||||
y:5
|
||||
width:172
|
||||
height:15
|
||||
Text {
|
||||
// component (Instance) level: 1 InformationHeaderLabel
|
||||
id: figma_i701_308_613_430
|
||||
// # "InformationHeaderLabel"
|
||||
objectName:"InformationHeaderLabel"
|
||||
x:46
|
||||
y:0
|
||||
width:80
|
||||
height:15
|
||||
color:"#ff000000"
|
||||
wrapMode: TextEdit.WordWrap
|
||||
text:"Информация"
|
||||
font.family: "Tahoma"
|
||||
font.italic: false
|
||||
font.letterSpacing: 0
|
||||
font.pixelSize: 12
|
||||
font.weight: Font.DemiBold
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
verticalAlignment: Text.AlignTop
|
||||
}
|
||||
}
|
||||
Rectangle {
|
||||
// component (Instance) level: 0 Frame 789
|
||||
id: figma_701_309
|
||||
// # "Frame 789"
|
||||
objectName:"Frame 789"
|
||||
x:0
|
||||
y:26
|
||||
width:172
|
||||
height:64
|
||||
color: "transparent"
|
||||
radius:5.82084
|
||||
clip: true
|
||||
|
||||
C15_43_GB30_figma {
|
||||
// component (Instance) level: 0 LabelAvailibleSizeButtonComponent
|
||||
id: figma_701_310
|
||||
// # "LabelAvailibleSizeButtonComponent"
|
||||
objectName:"LabelAvailibleSizeButtonComponent"
|
||||
x:12
|
||||
y:28
|
||||
width:83.6746
|
||||
height:22.5558
|
||||
Text {
|
||||
// component (Instance) level: 1 LabelAvailibleSizeButton
|
||||
id: figma_i701_310_613_432
|
||||
// # "LabelAvailibleSizeButton"
|
||||
objectName:"LabelAvailibleSizeButton"
|
||||
x:0
|
||||
y:0
|
||||
width:84
|
||||
height:23
|
||||
color:"#ff000000"
|
||||
wrapMode: TextEdit.WordWrap
|
||||
text:"15.43 GB"
|
||||
font.family: "Tahoma"
|
||||
font.italic: false
|
||||
font.letterSpacing: 0
|
||||
font.pixelSize: 18
|
||||
font.weight: Font.DemiBold
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
verticalAlignment: Text.AlignTop
|
||||
}
|
||||
}
|
||||
ProgressBarComponent28_figma {
|
||||
// component (Instance) level: 0 AvailibleSizeProgressBar
|
||||
id: figma_701_311
|
||||
// # "AvailibleSizeProgressBar"
|
||||
objectName:"AvailibleSizeProgressBar"
|
||||
x: (figma_701_309.width - width) / 2
|
||||
y:50
|
||||
width:148
|
||||
height:8
|
||||
Rectangle {
|
||||
// component (Instance) level: 1 AvailibleSizeProgressBarPassedBar
|
||||
id: figma_i701_311_613_435
|
||||
// # "AvailibleSizeProgressBarPassedBar"
|
||||
objectName:"AvailibleSizeProgressBarPassedBar"
|
||||
x:0
|
||||
y:0
|
||||
width:112.051
|
||||
height:7.27605
|
||||
color:"#ffdb1c1c"
|
||||
radius:3.63803
|
||||
clip: true
|
||||
|
||||
}
|
||||
}
|
||||
Rectangle {
|
||||
// component (Instance) level: 0 Frame 840
|
||||
id: figma_701_312
|
||||
// # "Frame 840"
|
||||
objectName:"Frame 840"
|
||||
x:12
|
||||
y:6
|
||||
width:152
|
||||
height:4
|
||||
color: "transparent"
|
||||
clip: true
|
||||
|
||||
}
|
||||
Rectangle {
|
||||
// component (Instance) level: 0 Frame 804
|
||||
id: figma_701_313
|
||||
// # "Frame 804"
|
||||
objectName:"Frame 804"
|
||||
x:-3
|
||||
y:6
|
||||
width:175
|
||||
height:20.3023
|
||||
color:"#ffeeeaea"
|
||||
clip: true
|
||||
|
||||
LabelComponent24_figma {
|
||||
// component (Instance) level: 0 LabelComponent
|
||||
id: figma_701_314
|
||||
// # "LabelComponent"
|
||||
objectName:"LabelComponent"
|
||||
x:6
|
||||
y:2
|
||||
width:139.628
|
||||
height:15
|
||||
Text {
|
||||
// component (Instance) level: 1 Label
|
||||
id: figma_i701_314_613_450
|
||||
// # "Label"
|
||||
objectName:"Label"
|
||||
x:40
|
||||
y:0
|
||||
width:59
|
||||
height:15
|
||||
color:"#ff000000"
|
||||
wrapMode: TextEdit.WordWrap
|
||||
text:"Свободно"
|
||||
font.family: "Tahoma"
|
||||
font.italic: false
|
||||
font.letterSpacing: 0
|
||||
font.pixelSize: 12
|
||||
font.weight: Font.Normal
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
verticalAlignment: Text.AlignTop
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Rectangle {
|
||||
// component (Instance) level: 0 ColumnLeft-resultTranslatePasport
|
||||
id: figma_701_315
|
||||
// # "ColumnLeft-resultTranslatePasport"
|
||||
objectName:"ColumnLeft-resultTranslatePasport"
|
||||
x:0
|
||||
y:96
|
||||
width:172
|
||||
height:326
|
||||
color:"#ffffffff"
|
||||
clip: true
|
||||
|
||||
Rectangle {
|
||||
// component (Instance) level: 0 Frame 798
|
||||
id: figma_701_316
|
||||
// # "Frame 798"
|
||||
objectName:"Frame 798"
|
||||
x:0
|
||||
y:0
|
||||
width:172
|
||||
height:20.3023
|
||||
color:"#ffeeeaea"
|
||||
clip: true
|
||||
|
||||
LabelComponent24_figma {
|
||||
// component (Instance) level: 0 LabelComponent
|
||||
id: figma_701_317
|
||||
// # "LabelComponent"
|
||||
objectName:"LabelComponent"
|
||||
x:6
|
||||
y:2
|
||||
width:139.628
|
||||
height:15
|
||||
Text {
|
||||
// component (Instance) level: 1 Label
|
||||
id: figma_i701_317_613_450
|
||||
// # "Label"
|
||||
objectName:"Label"
|
||||
x:44
|
||||
y:0
|
||||
width:50
|
||||
height:15
|
||||
color:"#ff000000"
|
||||
wrapMode: TextEdit.WordWrap
|
||||
text:"Паспорт"
|
||||
font.family: "Tahoma"
|
||||
font.italic: false
|
||||
font.letterSpacing: 0
|
||||
font.pixelSize: 12
|
||||
font.weight: Font.Normal
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
verticalAlignment: Text.AlignTop
|
||||
}
|
||||
}
|
||||
}
|
||||
ProgressTranslateCancelButton38_figma {
|
||||
// component (Instance) level: 0 ShowProjectButton
|
||||
id: figma_701_318
|
||||
// # "ShowProjectButton"
|
||||
objectName:"ShowProjectButton"
|
||||
x: (figma_701_315.width - width) / 2 + 1
|
||||
y:274
|
||||
width:148
|
||||
height:19
|
||||
color:"#ff0a5bff"
|
||||
Text {
|
||||
// component (Instance) level: 1 ShowLabel
|
||||
id: figma_i701_318_652_314
|
||||
// # "ShowLabel"
|
||||
objectName:"ShowLabel"
|
||||
x:41
|
||||
y:3
|
||||
width:66
|
||||
height:12
|
||||
color:"#ffffffff"
|
||||
wrapMode: TextEdit.WordWrap
|
||||
text:"Просмотреть"
|
||||
font.family: "Tahoma"
|
||||
font.italic: false
|
||||
font.letterSpacing: 0
|
||||
font.pixelSize: 10
|
||||
font.weight: Font.Normal
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
verticalAlignment: Text.AlignTop
|
||||
}
|
||||
}
|
||||
ProgressTranslateCancelButton38_figma {
|
||||
// component (Instance) level: 0 DeleteProjectButton
|
||||
id: figma_701_319
|
||||
// # "DeleteProjectButton"
|
||||
objectName:"DeleteProjectButton"
|
||||
x: (figma_701_315.width - width) / 2 + 7.62939e-06
|
||||
y:297
|
||||
width:146
|
||||
height:19
|
||||
color: "transparent"
|
||||
Text {
|
||||
// component (Instance) level: 1 RemoveLabel
|
||||
id: figma_i701_319_652_314
|
||||
// # "RemoveLabel"
|
||||
objectName:"RemoveLabel"
|
||||
x:52
|
||||
y:3
|
||||
width:41
|
||||
height:12
|
||||
color:"#ff110202"
|
||||
wrapMode: TextEdit.WordWrap
|
||||
text:"Удалить"
|
||||
font.family: "Tahoma"
|
||||
font.italic: false
|
||||
font.letterSpacing: 0
|
||||
font.pixelSize: 10
|
||||
font.weight: Font.Normal
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
verticalAlignment: Text.AlignTop
|
||||
}
|
||||
}
|
||||
Rectangle {
|
||||
// component (Instance) level: 0 Frame 803
|
||||
id: figma_701_320
|
||||
// # "Frame 803"
|
||||
objectName:"Frame 803"
|
||||
x:0
|
||||
y:24
|
||||
width:151
|
||||
height:208
|
||||
color: "transparent"
|
||||
clip: false
|
||||
|
||||
Text {
|
||||
// component (Instance) level: 0 Label
|
||||
id: figma_701_321
|
||||
// # "Label"
|
||||
objectName:"Label"
|
||||
x:1
|
||||
y:0
|
||||
width:55.2326
|
||||
height:12
|
||||
color:"#ff000000"
|
||||
wrapMode: TextEdit.WordWrap
|
||||
text:"Проект"
|
||||
font.family: "Tahoma"
|
||||
font.italic: false
|
||||
font.letterSpacing: 0
|
||||
font.pixelSize: 10
|
||||
font.weight: Font.DemiBold
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
verticalAlignment: Text.AlignTop
|
||||
}
|
||||
Text {
|
||||
// component (Instance) level: 0 ProjecNameLabel
|
||||
id: figma_701_322
|
||||
// # "ProjecNameLabel"
|
||||
objectName:"ProjecNameLabel"
|
||||
x:1
|
||||
y:14
|
||||
width:106
|
||||
height:15
|
||||
color:"#ff000000"
|
||||
wrapMode: TextEdit.WordWrap
|
||||
text:"Краснокаменская"
|
||||
font.family: "Tahoma"
|
||||
font.italic: false
|
||||
font.letterSpacing: 0
|
||||
font.pixelSize: 12
|
||||
font.weight: Font.Normal
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
verticalAlignment: Text.AlignTop
|
||||
}
|
||||
Text {
|
||||
// component (Instance) level: 0 Label
|
||||
id: figma_701_323
|
||||
// # "Label"
|
||||
objectName:"Label"
|
||||
x:1
|
||||
y:32
|
||||
width:147.465
|
||||
height:12
|
||||
color:"#ff000000"
|
||||
wrapMode: TextEdit.WordWrap
|
||||
text:"Расположение"
|
||||
font.family: "Tahoma"
|
||||
font.italic: false
|
||||
font.letterSpacing: 0
|
||||
font.pixelSize: 10
|
||||
font.weight: Font.DemiBold
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
verticalAlignment: Text.AlignTop
|
||||
}
|
||||
Text {
|
||||
// component (Instance) level: 0 ProjectPathLabel
|
||||
id: figma_701_324
|
||||
// # "ProjectPathLabel"
|
||||
objectName:"ProjectPathLabel"
|
||||
x:1
|
||||
y:46
|
||||
width:147
|
||||
height:75
|
||||
color:"#ff000000"
|
||||
wrapMode: TextEdit.WordWrap
|
||||
text:"D:\fsdfsfsdfsfsfsfsfsdfdsfsfsdfsdfsdfsdfdsfsdfsfsdf\Projects\Qt\dfsfssdfsfsfsdfsdfsfsfsdfsfsdfdsfsdfs"
|
||||
font.family: "Tahoma"
|
||||
font.italic: false
|
||||
font.letterSpacing: 0
|
||||
font.pixelSize: 12
|
||||
font.weight: Font.Normal
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
verticalAlignment: Text.AlignTop
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Rectangle {
|
||||
// component (Instance) level: 0 ContentResultsOfSearch
|
||||
id: figma_701_325
|
||||
// # "ContentResultsOfSearch"
|
||||
objectName:"ContentResultsOfSearch"
|
||||
x:10
|
||||
y:38
|
||||
width:408
|
||||
height:367
|
||||
color: "transparent"
|
||||
clip: false
|
||||
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,221 @@
|
||||
//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 SelectFilesStage
|
||||
id: figma_701_506
|
||||
// # "SelectFilesStage"
|
||||
objectName:"SelectFilesStage"
|
||||
x:0
|
||||
y:0
|
||||
width:419
|
||||
height:341
|
||||
color:"#fff0f0f0"
|
||||
clip: false
|
||||
|
||||
Text {
|
||||
// component (Instance) level: 0 Выберите файлы для конвертации.
|
||||
id: figma_701_507
|
||||
// # "Выберите файлы для конвертации."
|
||||
objectName:"Выберите файлы для конвертации."
|
||||
x:11
|
||||
y:13
|
||||
width:210
|
||||
height:15
|
||||
color:"#ff000000"
|
||||
wrapMode: TextEdit.WordWrap
|
||||
text:"Выберите файлы для конвертации."
|
||||
font.family: "Tahoma"
|
||||
font.italic: false
|
||||
font.letterSpacing: 0
|
||||
font.pixelSize: 12
|
||||
font.weight: Font.Normal
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
verticalAlignment: Text.AlignTop
|
||||
}
|
||||
Rectangle {
|
||||
// component (Instance) level: 0 Frame 868
|
||||
id: figma_701_508
|
||||
// # "Frame 868"
|
||||
objectName:"Frame 868"
|
||||
x:298
|
||||
y:317
|
||||
width:110
|
||||
height:19
|
||||
color: "transparent"
|
||||
clip: false
|
||||
|
||||
ProgressTranslateCancelButton38_figma {
|
||||
// component (Instance) level: 0 CancelButton
|
||||
id: figma_701_509
|
||||
// # "CancelButton"
|
||||
objectName:"CancelButton"
|
||||
x:0
|
||||
y:0
|
||||
width:52
|
||||
height:19
|
||||
color: "transparent"
|
||||
Text {
|
||||
// component (Instance) level: 1 CancelLabel
|
||||
id: figma_i701_509_652_314
|
||||
// # "CancelLabel"
|
||||
objectName:"CancelLabel"
|
||||
x:7
|
||||
y:3
|
||||
width:38
|
||||
height:12
|
||||
color:"#ff110202"
|
||||
wrapMode: TextEdit.WordWrap
|
||||
text:"Отмена"
|
||||
font.family: "Tahoma"
|
||||
font.italic: false
|
||||
font.letterSpacing: 0
|
||||
font.pixelSize: 10
|
||||
font.weight: Font.Normal
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
verticalAlignment: Text.AlignTop
|
||||
}
|
||||
}
|
||||
ProgressTranslateCancelButton38_figma {
|
||||
// component (Instance) level: 0 NextButton
|
||||
id: figma_701_511
|
||||
// # "NextButton"
|
||||
objectName:"NextButton"
|
||||
x:61
|
||||
y:0
|
||||
width:49
|
||||
height:17.3023
|
||||
color:"#ff0a5bff"
|
||||
Text {
|
||||
// component (Instance) level: 1 NextLabel
|
||||
id: figma_i701_511_652_314
|
||||
// # "NextLabel"
|
||||
objectName:"NextLabel"
|
||||
x:9
|
||||
y:2
|
||||
width:31
|
||||
height:12
|
||||
color:"#ffffffff"
|
||||
wrapMode: TextEdit.WordWrap
|
||||
text:"Далее"
|
||||
font.family: "Tahoma"
|
||||
font.italic: false
|
||||
font.letterSpacing: 0
|
||||
font.pixelSize: 10
|
||||
font.weight: Font.Normal
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
verticalAlignment: Text.AlignTop
|
||||
}
|
||||
}
|
||||
}
|
||||
Rectangle {
|
||||
// component (Instance) level: 0 ButtonChooseFiles
|
||||
id: figma_701_512
|
||||
// # "ButtonChooseFiles"
|
||||
objectName:"ButtonChooseFiles"
|
||||
x: (figma_701_506.width - width) / 2
|
||||
y: (figma_701_506.height - height) / 2 - 114.991
|
||||
width:187
|
||||
height:33.0182
|
||||
color:"#ff0a5bff"
|
||||
radius:9.25743
|
||||
clip: true
|
||||
|
||||
Text {
|
||||
// component (Instance) level: 0 ButtomChooseFilesLabel
|
||||
id: figma_701_513
|
||||
// # "ButtomChooseFilesLabel"
|
||||
objectName:"ButtomChooseFilesLabel"
|
||||
x: (figma_701_512.width - width) / 2 - 0.5
|
||||
y: (figma_701_512.height - height) / 2 - 0.509077
|
||||
width:76
|
||||
height:12
|
||||
color:"#ffffffff"
|
||||
wrapMode: TextEdit.WordWrap
|
||||
text:"Выбрать файлы"
|
||||
font.family: "Tahoma"
|
||||
font.italic: false
|
||||
font.letterSpacing: 0
|
||||
font.pixelSize: 9
|
||||
font.weight: Font.Normal
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
verticalAlignment: Text.AlignTop
|
||||
}
|
||||
}
|
||||
Rectangle {
|
||||
// component (Instance) level: 0 ListSelectedFiles
|
||||
id: figma_701_514
|
||||
// # "ListSelectedFiles"
|
||||
objectName:"ListSelectedFiles"
|
||||
x:11
|
||||
y:80
|
||||
width:397
|
||||
height:231
|
||||
color: "transparent"
|
||||
radius:9.26
|
||||
clip: false
|
||||
|
||||
Rectangle {
|
||||
// component (Instance) level: 0 Frame 870
|
||||
id: figma_701_515
|
||||
// # "Frame 870"
|
||||
objectName:"Frame 870"
|
||||
x:0
|
||||
y:0
|
||||
width:120
|
||||
height:19
|
||||
color: "transparent"
|
||||
clip: false
|
||||
|
||||
LabelComponent24_figma {
|
||||
// component (Instance) level: 0 16
|
||||
id: figma_701_516
|
||||
// # "16"
|
||||
objectName:"16"
|
||||
x:0
|
||||
y:3
|
||||
width:120
|
||||
height:13
|
||||
Text {
|
||||
// component (Instance) level: 1 Label
|
||||
id: figma_i701_516_613_450
|
||||
// # "Label"
|
||||
objectName:"Label"
|
||||
x:0
|
||||
y:-1
|
||||
width:120
|
||||
height:15
|
||||
color:"#ff000000"
|
||||
wrapMode: TextEdit.WordWrap
|
||||
text:"Выбрано файлов: 10"
|
||||
font.family: "Tahoma"
|
||||
font.italic: false
|
||||
font.letterSpacing: 0
|
||||
font.pixelSize: 12
|
||||
font.weight: Font.Normal
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
verticalAlignment: Text.AlignTop
|
||||
}
|
||||
}
|
||||
}
|
||||
Rectangle {
|
||||
// component (Instance) level: 0 ColumnLeft
|
||||
id: figma_701_517
|
||||
// # "ColumnLeft"
|
||||
objectName:"ColumnLeft"
|
||||
x:0
|
||||
y:19
|
||||
width:397
|
||||
height:212
|
||||
color:"#ffffffff"
|
||||
radius:9.26
|
||||
clip: true
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
174
Quartz/pages/FigmaQmlInterface/qml/TestPage_SerchItem2_figma.qml
Normal file
@ -0,0 +1,174 @@
|
||||
//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 SerchItem
|
||||
id: figma_696_233
|
||||
// # "SerchItem"
|
||||
objectName:"SerchItem"
|
||||
x: (figma_696_233.width - width) / 2
|
||||
y: (figma_696_233.height - height) / 2
|
||||
width:408
|
||||
height:20
|
||||
color:"#ffffffff"
|
||||
radius:8
|
||||
clip: true
|
||||
Shape {
|
||||
anchors.fill: parent
|
||||
ShapePath {
|
||||
strokeColor: Qt.rgba(0.0392157, 0.356863, 1, 1)
|
||||
strokeWidth: 1
|
||||
fillColor: "transparent"
|
||||
PathMove { x: 8; y: 0 }
|
||||
PathLine { x: 8; y: 0.5 }
|
||||
PathLine { x: 400; y: 0.5 }
|
||||
PathLine { x: 400; y: 0 }
|
||||
PathLine { x: 400; y: -0.5 }
|
||||
PathLine { x: 8; y: -0.5 }
|
||||
PathLine { x: 8; y: 0 }
|
||||
PathMove { x: 408; y: 8 }
|
||||
PathLine { x: 407.5; y: 8 }
|
||||
PathLine { x: 407.5; y: 12 }
|
||||
PathLine { x: 408; y: 12 }
|
||||
PathLine { x: 408.5; y: 12 }
|
||||
PathLine { x: 408.5; y: 8 }
|
||||
PathLine { x: 408; y: 8 }
|
||||
PathMove { x: 400; y: 20 }
|
||||
PathLine { x: 400; y: 19.5 }
|
||||
PathLine { x: 8; y: 19.5 }
|
||||
PathLine { x: 8; y: 20 }
|
||||
PathLine { x: 8; y: 20.5 }
|
||||
PathLine { x: 400; y: 20.5 }
|
||||
PathLine { x: 400; y: 20 }
|
||||
PathMove { x: 0; y: 12 }
|
||||
PathLine { x: 0.5; y: 12 }
|
||||
PathLine { x: 0.5; y: 8 }
|
||||
PathLine { x: 0; y: 8 }
|
||||
PathLine { x: -0.5; y: 8 }
|
||||
PathLine { x: -0.5; y: 12 }
|
||||
PathLine { x: 0; y: 12 }
|
||||
PathMove { x: 8; y: 20 }
|
||||
PathLine { x: 8; y: 19.5 }
|
||||
PathCubic { control1X: 3.85786; control1Y: 19.5; control2X: 0.5; control2Y: 16.1421; x: 0.5; y: 12 }
|
||||
PathLine { x: 0; y: 12 }
|
||||
PathLine { x: -0.5; y: 12 }
|
||||
PathCubic { control1X: -0.5; control1Y: 16.6944; control2X: 3.30558; control2Y: 20.5; x: 8; y: 20.5 }
|
||||
PathLine { x: 8; y: 20 }
|
||||
PathMove { x: 408; y: 12 }
|
||||
PathLine { x: 407.5; y: 12 }
|
||||
PathCubic { control1X: 407.5; control1Y: 16.1421; control2X: 404.142; control2Y: 19.5; x: 400; y: 19.5 }
|
||||
PathLine { x: 400; y: 20 }
|
||||
PathLine { x: 400; y: 20.5 }
|
||||
PathCubic { control1X: 404.694; control1Y: 20.5; control2X: 408.5; control2Y: 16.6944; x: 408.5; y: 12 }
|
||||
PathLine { x: 408; y: 12 }
|
||||
PathMove { x: 400; y: 0 }
|
||||
PathLine { x: 400; y: 0.5 }
|
||||
PathCubic { control1X: 404.142; control1Y: 0.5; control2X: 407.5; control2Y: 3.85786; x: 407.5; y: 8 }
|
||||
PathLine { x: 408; y: 8 }
|
||||
PathLine { x: 408.5; y: 8 }
|
||||
PathCubic { control1X: 408.5; control1Y: 3.30558; control2X: 404.694; control2Y: -0.5; x: 400; y: -0.5 }
|
||||
PathLine { x: 400; y: 0 }
|
||||
PathMove { x: 8; y: 0 }
|
||||
PathLine { x: 8; y: -0.5 }
|
||||
PathCubic { control1X: 3.30558; control1Y: -0.5; control2X: -0.5; control2Y: 3.30558; x: -0.5; y: 8 }
|
||||
PathLine { x: 0; y: 8 }
|
||||
PathLine { x: 0.5; y: 8 }
|
||||
PathCubic { control1X: 0.5; control1Y: 3.85786; control2X: 3.85786; control2Y: 0.5; x: 8; y: 0.5 }
|
||||
PathLine { x: 8; y: 0 }
|
||||
}}
|
||||
Text {
|
||||
// component (Instance) level: 0 Поиск....
|
||||
id: figma_696_234
|
||||
// # "Поиск...."
|
||||
objectName:"Поиск...."
|
||||
x:10
|
||||
y:3
|
||||
width:375
|
||||
height:17
|
||||
color:"#ff00133b"
|
||||
wrapMode: TextEdit.WordWrap
|
||||
text:"Поиск...."
|
||||
font.family: "Tahoma"
|
||||
font.italic: false
|
||||
font.letterSpacing: 0
|
||||
font.pixelSize: 12
|
||||
font.weight: Font.Normal
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
verticalAlignment: Text.AlignTop
|
||||
}
|
||||
Rectangle {
|
||||
// component (Instance) level: 0 Frame 828
|
||||
id: figma_696_235
|
||||
// # "Frame 828"
|
||||
objectName:"Frame 828"
|
||||
x:385
|
||||
y:0
|
||||
width:21
|
||||
height:20
|
||||
color:"#ffffffff"
|
||||
radius:400
|
||||
clip: false
|
||||
|
||||
Item {
|
||||
// component (Instance) level: 0 Search
|
||||
id: figma_696_236
|
||||
// # "Search"
|
||||
objectName:"Search"
|
||||
x: (figma_696_235.width - width) / 2 + 0.833008
|
||||
y: (figma_696_235.height - height) / 2 + 0.333008
|
||||
width:14.666
|
||||
height:14.666
|
||||
MultiEffect {
|
||||
maskEnabled: true
|
||||
anchors.fill:parent
|
||||
source: source_figma_696_236
|
||||
maskSource: maskSource_figma_696_236
|
||||
}
|
||||
Image {
|
||||
id: source_figma_696_236
|
||||
layer.enabled: true
|
||||
fillMode: Image.PreserveAspectCrop
|
||||
visible: false
|
||||
mipmap: true
|
||||
anchors.fill:parent
|
||||
source: "images/8c9d53cbdf8ebb4f44c3bbf62a2ced4162dc01e3.png"
|
||||
}
|
||||
Shape {
|
||||
id: maskSource_figma_696_236
|
||||
anchors.fill: parent
|
||||
layer.enabled: true
|
||||
visible: false
|
||||
ShapePath {
|
||||
strokeColor: "transparent"
|
||||
strokeWidth:0.14666
|
||||
fillColor:"black"
|
||||
fillRule: ShapePath.WindingFill
|
||||
PathSvg {
|
||||
path: "M0 0L14.666 0L14.666 14.666L0 14.666L0 0Z"
|
||||
}
|
||||
}
|
||||
}
|
||||
Shape {
|
||||
anchors.fill: parent
|
||||
ShapePath {
|
||||
strokeColor: "transparent"
|
||||
strokeWidth:0.14666
|
||||
fillColor:"#00000000"
|
||||
// component (shapeFill) level: 0
|
||||
id: svgpath_figma_696_236
|
||||
fillRule: ShapePath.WindingFill
|
||||
PathSvg {
|
||||
id: path_0_figma_696_236
|
||||
path: "M0 0L14.666 0L14.666 14.666L0 14.666L0 0Z"
|
||||
}
|
||||
}
|
||||
}
|
||||
property alias path: path_0_figma_696_236.path
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,813 @@
|
||||
//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_701_334
|
||||
// # "SettingsPage"
|
||||
objectName:"SettingsPage"
|
||||
x:0
|
||||
y:0
|
||||
width:573
|
||||
height:407
|
||||
color:"#ffffffff"
|
||||
clip: true
|
||||
|
||||
LabelHeaderComponentH2_bold40_figma {
|
||||
// component (Instance) level: 0 LabelHeaderComponentH2-bold
|
||||
id: figma_701_335
|
||||
// # "LabelHeaderComponentH2-bold"
|
||||
objectName:"LabelHeaderComponentH2-bold"
|
||||
x:8
|
||||
y:17
|
||||
width:510
|
||||
height:19
|
||||
color: "transparent"
|
||||
Text {
|
||||
// component (Instance) level: 1 Label
|
||||
id: figma_i701_335_269_148
|
||||
// # "Label"
|
||||
objectName:"Label"
|
||||
x:0
|
||||
y:0
|
||||
width:95
|
||||
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
|
||||
}
|
||||
}
|
||||
InputComponent42_figma {
|
||||
// component (Instance) level: 0 InputComponent
|
||||
id: figma_701_336
|
||||
// # "InputComponent"
|
||||
objectName:"InputComponent"
|
||||
x: (figma_701_334.width - width) / 2 - 17
|
||||
y:114
|
||||
width:533
|
||||
height:40
|
||||
Text {
|
||||
// component (Instance) level: 1 ProjectLabel
|
||||
id: figma_i701_336_219_73
|
||||
// # "ProjectLabel"
|
||||
objectName:"ProjectLabel"
|
||||
x:0
|
||||
y:0
|
||||
width:533
|
||||
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
|
||||
}
|
||||
Rectangle {
|
||||
// component (Instance) level: 1 StrokeElement
|
||||
id: figma_i701_336_219_155
|
||||
// # "StrokeElement"
|
||||
objectName:"StrokeElement"
|
||||
x:0
|
||||
y:17
|
||||
width:533
|
||||
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: 528; y: 0.5 }
|
||||
PathLine { x: 528; y: 0 }
|
||||
PathLine { x: 528; y: -0.5 }
|
||||
PathLine { x: 5; y: -0.5 }
|
||||
PathLine { x: 5; y: 0 }
|
||||
PathMove { x: 533; y: 5 }
|
||||
PathLine { x: 532.5; y: 5 }
|
||||
PathLine { x: 532.5; y: 18 }
|
||||
PathLine { x: 533; y: 18 }
|
||||
PathLine { x: 533.5; y: 18 }
|
||||
PathLine { x: 533.5; y: 5 }
|
||||
PathLine { x: 533; y: 5 }
|
||||
PathMove { x: 528; y: 23 }
|
||||
PathLine { x: 528; y: 22.5 }
|
||||
PathLine { x: 5.00001; y: 22.5 }
|
||||
PathLine { x: 5.00001; y: 23 }
|
||||
PathLine { x: 5.00001; y: 23.5 }
|
||||
PathLine { x: 528; y: 23.5 }
|
||||
PathLine { x: 528; 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.00001; y: 23 }
|
||||
PathLine { x: 5.00001; y: 22.5 }
|
||||
PathCubic { control1X: 2.51473; 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.96244; control2Y: 23.5; x: 5.00001; y: 23.5 }
|
||||
PathLine { x: 5.00001; y: 23 }
|
||||
PathMove { x: 533; y: 18 }
|
||||
PathLine { x: 532.5; y: 18 }
|
||||
PathCubic { control1X: 532.5; control1Y: 20.4853; control2X: 530.485; control2Y: 22.5; x: 528; y: 22.5 }
|
||||
PathLine { x: 528; y: 23 }
|
||||
PathLine { x: 528; y: 23.5 }
|
||||
PathCubic { control1X: 531.038; control1Y: 23.5; control2X: 533.5; control2Y: 21.0376; x: 533.5; y: 18 }
|
||||
PathLine { x: 533; y: 18 }
|
||||
PathMove { x: 528; y: 0 }
|
||||
PathLine { x: 528; y: 0.5 }
|
||||
PathCubic { control1X: 530.485; control1Y: 0.5; control2X: 532.5; control2Y: 2.51472; x: 532.5; y: 5 }
|
||||
PathLine { x: 533; y: 5 }
|
||||
PathLine { x: 533.5; y: 5 }
|
||||
PathCubic { control1X: 533.5; control1Y: 1.96243; control2X: 531.038; control2Y: -0.5; x: 528; y: -0.5 }
|
||||
PathLine { x: 528; 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_i701_336_219_74
|
||||
// # "RemoteAddressLabelField"
|
||||
objectName:"RemoteAddressLabelField"
|
||||
x:3
|
||||
y:0
|
||||
width:527
|
||||
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
|
||||
}
|
||||
}
|
||||
}
|
||||
InputComponent42_figma {
|
||||
// component (Instance) level: 0 InputComponent
|
||||
id: figma_701_337
|
||||
// # "InputComponent"
|
||||
objectName:"InputComponent"
|
||||
x: (figma_701_334.width - width) / 2 - 17
|
||||
y:199
|
||||
width:533
|
||||
height:40
|
||||
Text {
|
||||
// component (Instance) level: 1 PortLabel
|
||||
id: figma_i701_337_219_73
|
||||
// # "PortLabel"
|
||||
objectName:"PortLabel"
|
||||
x:0
|
||||
y:0
|
||||
width:533
|
||||
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
|
||||
}
|
||||
Rectangle {
|
||||
// component (Instance) level: 1 StrokeElement
|
||||
id: figma_i701_337_219_155
|
||||
// # "StrokeElement"
|
||||
objectName:"StrokeElement"
|
||||
x:0
|
||||
y:17
|
||||
width:533
|
||||
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: 528; y: 0.5 }
|
||||
PathLine { x: 528; y: 0 }
|
||||
PathLine { x: 528; y: -0.5 }
|
||||
PathLine { x: 5; y: -0.5 }
|
||||
PathLine { x: 5; y: 0 }
|
||||
PathMove { x: 533; y: 5 }
|
||||
PathLine { x: 532.5; y: 5 }
|
||||
PathLine { x: 532.5; y: 18 }
|
||||
PathLine { x: 533; y: 18 }
|
||||
PathLine { x: 533.5; y: 18 }
|
||||
PathLine { x: 533.5; y: 5 }
|
||||
PathLine { x: 533; y: 5 }
|
||||
PathMove { x: 528; y: 23 }
|
||||
PathLine { x: 528; y: 22.5 }
|
||||
PathLine { x: 5.00001; y: 22.5 }
|
||||
PathLine { x: 5.00001; y: 23 }
|
||||
PathLine { x: 5.00001; y: 23.5 }
|
||||
PathLine { x: 528; y: 23.5 }
|
||||
PathLine { x: 528; 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.00001; y: 23 }
|
||||
PathLine { x: 5.00001; y: 22.5 }
|
||||
PathCubic { control1X: 2.51473; 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.96244; control2Y: 23.5; x: 5.00001; y: 23.5 }
|
||||
PathLine { x: 5.00001; y: 23 }
|
||||
PathMove { x: 533; y: 18 }
|
||||
PathLine { x: 532.5; y: 18 }
|
||||
PathCubic { control1X: 532.5; control1Y: 20.4853; control2X: 530.485; control2Y: 22.5; x: 528; y: 22.5 }
|
||||
PathLine { x: 528; y: 23 }
|
||||
PathLine { x: 528; y: 23.5 }
|
||||
PathCubic { control1X: 531.038; control1Y: 23.5; control2X: 533.5; control2Y: 21.0376; x: 533.5; y: 18 }
|
||||
PathLine { x: 533; y: 18 }
|
||||
PathMove { x: 528; y: 0 }
|
||||
PathLine { x: 528; y: 0.5 }
|
||||
PathCubic { control1X: 530.485; control1Y: 0.5; control2X: 532.5; control2Y: 2.51472; x: 532.5; y: 5 }
|
||||
PathLine { x: 533; y: 5 }
|
||||
PathLine { x: 533.5; y: 5 }
|
||||
PathCubic { control1X: 533.5; control1Y: 1.96243; control2X: 531.038; control2Y: -0.5; x: 528; y: -0.5 }
|
||||
PathLine { x: 528; 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 LocalServerPortField
|
||||
id: figma_i701_337_219_74
|
||||
// # "LocalServerPortField"
|
||||
objectName:"LocalServerPortField"
|
||||
x:3
|
||||
y:0
|
||||
width:527
|
||||
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
|
||||
}
|
||||
}
|
||||
}
|
||||
InputComponent42_figma {
|
||||
// component (Instance) level: 0 InputComponent
|
||||
id: figma_701_338
|
||||
// # "InputComponent"
|
||||
objectName:"InputComponent"
|
||||
x: (figma_701_334.width - width) / 2 - 17
|
||||
y:244
|
||||
width:533
|
||||
height:40
|
||||
Text {
|
||||
// component (Instance) level: 1 ProjectLabel
|
||||
id: figma_i701_338_219_73
|
||||
// # "ProjectLabel"
|
||||
objectName:"ProjectLabel"
|
||||
x:0
|
||||
y:0
|
||||
width:533
|
||||
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
|
||||
}
|
||||
Rectangle {
|
||||
// component (Instance) level: 1 StrokeElement
|
||||
id: figma_i701_338_219_155
|
||||
// # "StrokeElement"
|
||||
objectName:"StrokeElement"
|
||||
x:0
|
||||
y:17
|
||||
width:533
|
||||
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: 528; y: 0.5 }
|
||||
PathLine { x: 528; y: 0 }
|
||||
PathLine { x: 528; y: -0.5 }
|
||||
PathLine { x: 5; y: -0.5 }
|
||||
PathLine { x: 5; y: 0 }
|
||||
PathMove { x: 533; y: 5 }
|
||||
PathLine { x: 532.5; y: 5 }
|
||||
PathLine { x: 532.5; y: 18 }
|
||||
PathLine { x: 533; y: 18 }
|
||||
PathLine { x: 533.5; y: 18 }
|
||||
PathLine { x: 533.5; y: 5 }
|
||||
PathLine { x: 533; y: 5 }
|
||||
PathMove { x: 528; y: 23 }
|
||||
PathLine { x: 528; y: 22.5 }
|
||||
PathLine { x: 5.00001; y: 22.5 }
|
||||
PathLine { x: 5.00001; y: 23 }
|
||||
PathLine { x: 5.00001; y: 23.5 }
|
||||
PathLine { x: 528; y: 23.5 }
|
||||
PathLine { x: 528; 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.00001; y: 23 }
|
||||
PathLine { x: 5.00001; y: 22.5 }
|
||||
PathCubic { control1X: 2.51473; 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.96244; control2Y: 23.5; x: 5.00001; y: 23.5 }
|
||||
PathLine { x: 5.00001; y: 23 }
|
||||
PathMove { x: 533; y: 18 }
|
||||
PathLine { x: 532.5; y: 18 }
|
||||
PathCubic { control1X: 532.5; control1Y: 20.4853; control2X: 530.485; control2Y: 22.5; x: 528; y: 22.5 }
|
||||
PathLine { x: 528; y: 23 }
|
||||
PathLine { x: 528; y: 23.5 }
|
||||
PathCubic { control1X: 531.038; control1Y: 23.5; control2X: 533.5; control2Y: 21.0376; x: 533.5; y: 18 }
|
||||
PathLine { x: 533; y: 18 }
|
||||
PathMove { x: 528; y: 0 }
|
||||
PathLine { x: 528; y: 0.5 }
|
||||
PathCubic { control1X: 530.485; control1Y: 0.5; control2X: 532.5; control2Y: 2.51472; x: 532.5; y: 5 }
|
||||
PathLine { x: 533; y: 5 }
|
||||
PathLine { x: 533.5; y: 5 }
|
||||
PathCubic { control1X: 533.5; control1Y: 1.96243; control2X: 531.038; control2Y: -0.5; x: 528; y: -0.5 }
|
||||
PathLine { x: 528; 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_i701_338_219_74
|
||||
// # "RemoteServerLoginField"
|
||||
objectName:"RemoteServerLoginField"
|
||||
x:3
|
||||
y:0
|
||||
width:527
|
||||
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
|
||||
}
|
||||
}
|
||||
}
|
||||
InputComponent42_figma {
|
||||
// component (Instance) level: 0 InputComponent
|
||||
id: figma_701_339
|
||||
// # "InputComponent"
|
||||
objectName:"InputComponent"
|
||||
x: (figma_701_334.width - width) / 2 - 17
|
||||
y:284
|
||||
width:533
|
||||
height:40
|
||||
Text {
|
||||
// component (Instance) level: 1 ProjectLabel
|
||||
id: figma_i701_339_219_73
|
||||
// # "ProjectLabel"
|
||||
objectName:"ProjectLabel"
|
||||
x:0
|
||||
y:0
|
||||
width:533
|
||||
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
|
||||
}
|
||||
Rectangle {
|
||||
// component (Instance) level: 1 StrokeElement
|
||||
id: figma_i701_339_219_155
|
||||
// # "StrokeElement"
|
||||
objectName:"StrokeElement"
|
||||
x:0
|
||||
y:17
|
||||
width:533
|
||||
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: 528; y: 0.5 }
|
||||
PathLine { x: 528; y: 0 }
|
||||
PathLine { x: 528; y: -0.5 }
|
||||
PathLine { x: 5; y: -0.5 }
|
||||
PathLine { x: 5; y: 0 }
|
||||
PathMove { x: 533; y: 5 }
|
||||
PathLine { x: 532.5; y: 5 }
|
||||
PathLine { x: 532.5; y: 18 }
|
||||
PathLine { x: 533; y: 18 }
|
||||
PathLine { x: 533.5; y: 18 }
|
||||
PathLine { x: 533.5; y: 5 }
|
||||
PathLine { x: 533; y: 5 }
|
||||
PathMove { x: 528; y: 23 }
|
||||
PathLine { x: 528; y: 22.5 }
|
||||
PathLine { x: 5.00001; y: 22.5 }
|
||||
PathLine { x: 5.00001; y: 23 }
|
||||
PathLine { x: 5.00001; y: 23.5 }
|
||||
PathLine { x: 528; y: 23.5 }
|
||||
PathLine { x: 528; 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.00001; y: 23 }
|
||||
PathLine { x: 5.00001; y: 22.5 }
|
||||
PathCubic { control1X: 2.51473; 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.96244; control2Y: 23.5; x: 5.00001; y: 23.5 }
|
||||
PathLine { x: 5.00001; y: 23 }
|
||||
PathMove { x: 533; y: 18 }
|
||||
PathLine { x: 532.5; y: 18 }
|
||||
PathCubic { control1X: 532.5; control1Y: 20.4853; control2X: 530.485; control2Y: 22.5; x: 528; y: 22.5 }
|
||||
PathLine { x: 528; y: 23 }
|
||||
PathLine { x: 528; y: 23.5 }
|
||||
PathCubic { control1X: 531.038; control1Y: 23.5; control2X: 533.5; control2Y: 21.0376; x: 533.5; y: 18 }
|
||||
PathLine { x: 533; y: 18 }
|
||||
PathMove { x: 528; y: 0 }
|
||||
PathLine { x: 528; y: 0.5 }
|
||||
PathCubic { control1X: 530.485; control1Y: 0.5; control2X: 532.5; control2Y: 2.51472; x: 532.5; y: 5 }
|
||||
PathLine { x: 533; y: 5 }
|
||||
PathLine { x: 533.5; y: 5 }
|
||||
PathCubic { control1X: 533.5; control1Y: 1.96243; control2X: 531.038; control2Y: -0.5; x: 528; y: -0.5 }
|
||||
PathLine { x: 528; 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_i701_339_219_74
|
||||
// # "RemoteServerPasswordField"
|
||||
objectName:"RemoteServerPasswordField"
|
||||
x:3
|
||||
y:0
|
||||
width:527
|
||||
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_bold40_figma {
|
||||
// component (Instance) level: 0 LabelHeaderComponentH2-bold
|
||||
id: figma_701_340
|
||||
// # "LabelHeaderComponentH2-bold"
|
||||
objectName:"LabelHeaderComponentH2-bold"
|
||||
x:8
|
||||
y:95
|
||||
width:518
|
||||
height:19
|
||||
color: "transparent"
|
||||
Text {
|
||||
// component (Instance) level: 1 Label
|
||||
id: figma_i701_340_269_148
|
||||
// # "Label"
|
||||
objectName:"Label"
|
||||
x:0
|
||||
y:0
|
||||
width:154
|
||||
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
|
||||
}
|
||||
}
|
||||
LabelHeaderComponentH2_bold40_figma {
|
||||
// component (Instance) level: 0 LabelHeaderComponentH2-bold
|
||||
id: figma_701_341
|
||||
// # "LabelHeaderComponentH2-bold"
|
||||
objectName:"LabelHeaderComponentH2-bold"
|
||||
x:6
|
||||
y:180
|
||||
width:512
|
||||
height:19
|
||||
color: "transparent"
|
||||
Text {
|
||||
// component (Instance) level: 1 Label
|
||||
id: figma_i701_341_269_148
|
||||
// # "Label"
|
||||
objectName:"Label"
|
||||
x:0
|
||||
y:0
|
||||
width:215
|
||||
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 Frame 877
|
||||
id: figma_701_342
|
||||
// # "Frame 877"
|
||||
objectName:"Frame 877"
|
||||
x:6
|
||||
y:36
|
||||
width:560
|
||||
height:40
|
||||
color: "transparent"
|
||||
clip: false
|
||||
|
||||
InputComponent42_figma {
|
||||
// component (Instance) level: 0 InputComponent
|
||||
id: figma_701_343
|
||||
// # "InputComponent"
|
||||
objectName:"InputComponent"
|
||||
x: (figma_701_342.width - width) / 2 - 15
|
||||
y: (figma_701_342.height - height) / 2
|
||||
width:536
|
||||
height:40
|
||||
Text {
|
||||
// component (Instance) level: 1 ProjectLabel
|
||||
id: figma_i701_343_219_73
|
||||
// # "ProjectLabel"
|
||||
objectName:"ProjectLabel"
|
||||
x:0
|
||||
y:0
|
||||
width:536
|
||||
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
|
||||
}
|
||||
Rectangle {
|
||||
// component (Instance) level: 1 StrokeElement
|
||||
id: figma_i701_343_219_155
|
||||
// # "StrokeElement"
|
||||
objectName:"StrokeElement"
|
||||
x:0
|
||||
y:17
|
||||
width:536
|
||||
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: 531; y: 0.5 }
|
||||
PathLine { x: 531; y: 0 }
|
||||
PathLine { x: 531; y: -0.5 }
|
||||
PathLine { x: 5; y: -0.5 }
|
||||
PathLine { x: 5; y: 0 }
|
||||
PathMove { x: 536; y: 5 }
|
||||
PathLine { x: 535.5; y: 5 }
|
||||
PathLine { x: 535.5; y: 18 }
|
||||
PathLine { x: 536; y: 18 }
|
||||
PathLine { x: 536.5; y: 18 }
|
||||
PathLine { x: 536.5; y: 5 }
|
||||
PathLine { x: 536; y: 5 }
|
||||
PathMove { x: 531; y: 23 }
|
||||
PathLine { x: 531; y: 22.5 }
|
||||
PathLine { x: 5; y: 22.5 }
|
||||
PathLine { x: 5; y: 23 }
|
||||
PathLine { x: 5; y: 23.5 }
|
||||
PathLine { x: 531; y: 23.5 }
|
||||
PathLine { x: 531; 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.96244; control2Y: 23.5; x: 5; y: 23.5 }
|
||||
PathLine { x: 5; y: 23 }
|
||||
PathMove { x: 536; y: 18 }
|
||||
PathLine { x: 535.5; y: 18 }
|
||||
PathCubic { control1X: 535.5; control1Y: 20.4853; control2X: 533.485; control2Y: 22.5; x: 531; y: 22.5 }
|
||||
PathLine { x: 531; y: 23 }
|
||||
PathLine { x: 531; y: 23.5 }
|
||||
PathCubic { control1X: 534.038; control1Y: 23.5; control2X: 536.5; control2Y: 21.0376; x: 536.5; y: 18 }
|
||||
PathLine { x: 536; y: 18 }
|
||||
PathMove { x: 531; y: 0 }
|
||||
PathLine { x: 531; y: 0.5 }
|
||||
PathCubic { control1X: 533.485; control1Y: 0.5; control2X: 535.5; control2Y: 2.51472; x: 535.5; y: 5 }
|
||||
PathLine { x: 536; y: 5 }
|
||||
PathLine { x: 536.5; y: 5 }
|
||||
PathCubic { control1X: 536.5; control1Y: 1.96243; control2X: 534.038; control2Y: -0.5; x: 531; y: -0.5 }
|
||||
PathLine { x: 531; 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_i701_343_219_74
|
||||
// # "ProjectsPathLabelField"
|
||||
objectName:"ProjectsPathLabelField"
|
||||
x:3
|
||||
y:0
|
||||
width:530
|
||||
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
|
||||
}
|
||||
}
|
||||
}
|
||||
Item {
|
||||
// component (Instance) level: 0 DefaultPathFolderIcon
|
||||
id: figma_701_344
|
||||
// # "DefaultPathFolderIcon"
|
||||
objectName:"DefaultPathFolderIcon"
|
||||
x:537
|
||||
y: (figma_701_342.height - height) / 2 + 9.5
|
||||
width:23
|
||||
height:23
|
||||
MultiEffect {
|
||||
maskEnabled: true
|
||||
anchors.fill:parent
|
||||
source: source_figma_701_344
|
||||
maskSource: maskSource_figma_701_344
|
||||
}
|
||||
Image {
|
||||
id: source_figma_701_344
|
||||
layer.enabled: true
|
||||
fillMode: Image.PreserveAspectCrop
|
||||
visible: false
|
||||
mipmap: true
|
||||
anchors.fill:parent
|
||||
source: "images/3bfa83926f7ea5f5794c8a36f75a8e04438c335d.png"
|
||||
}
|
||||
Shape {
|
||||
id: maskSource_figma_701_344
|
||||
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_701_344
|
||||
fillRule: ShapePath.WindingFill
|
||||
PathSvg {
|
||||
id: path_0_figma_701_344
|
||||
path: "M0 0L23 0L23 23L0 23L0 0Z"
|
||||
}
|
||||
}
|
||||
}
|
||||
property alias path: path_0_figma_701_344.path
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,273 @@
|
||||
//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 SetupParamsStage
|
||||
id: figma_701_535
|
||||
// # "SetupParamsStage"
|
||||
objectName:"SetupParamsStage"
|
||||
x:0
|
||||
y:0
|
||||
width:419
|
||||
height:341
|
||||
color:"#fff0f0f0"
|
||||
clip: false
|
||||
|
||||
Rectangle {
|
||||
// component (Instance) level: 0 Frame 868
|
||||
id: figma_701_536
|
||||
// # "Frame 868"
|
||||
objectName:"Frame 868"
|
||||
x:241
|
||||
y:317
|
||||
width:167
|
||||
height:19
|
||||
color: "transparent"
|
||||
clip: false
|
||||
|
||||
ProgressTranslateCancelButton38_figma {
|
||||
// component (Instance) level: 0 DeleteProjectButton
|
||||
id: figma_701_537
|
||||
// # "DeleteProjectButton"
|
||||
objectName:"DeleteProjectButton"
|
||||
x:0
|
||||
y:0
|
||||
width:52
|
||||
height:19
|
||||
color: "transparent"
|
||||
Text {
|
||||
// component (Instance) level: 1 RemoveLabel
|
||||
id: figma_i701_537_652_314
|
||||
// # "RemoveLabel"
|
||||
objectName:"RemoveLabel"
|
||||
x:7
|
||||
y:3
|
||||
width:38
|
||||
height:12
|
||||
color:"#ff110202"
|
||||
wrapMode: TextEdit.WordWrap
|
||||
text:"Отмена"
|
||||
font.family: "Tahoma"
|
||||
font.italic: false
|
||||
font.letterSpacing: 0
|
||||
font.pixelSize: 10
|
||||
font.weight: Font.Normal
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
verticalAlignment: Text.AlignTop
|
||||
}
|
||||
}
|
||||
ProgressTranslateCancelButton38_figma {
|
||||
// component (Instance) level: 0 BackButton
|
||||
id: figma_701_538
|
||||
// # "BackButton"
|
||||
objectName:"BackButton"
|
||||
x:61
|
||||
y:0
|
||||
width:48
|
||||
height:19
|
||||
color: "transparent"
|
||||
Text {
|
||||
// component (Instance) level: 1 BackLabel
|
||||
id: figma_i701_538_652_314
|
||||
// # "BackLabel"
|
||||
objectName:"BackLabel"
|
||||
x:9
|
||||
y:3
|
||||
width:30
|
||||
height:12
|
||||
color:"#ff110202"
|
||||
wrapMode: TextEdit.WordWrap
|
||||
text:"Назад"
|
||||
font.family: "Tahoma"
|
||||
font.italic: false
|
||||
font.letterSpacing: 0
|
||||
font.pixelSize: 10
|
||||
font.weight: Font.Normal
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
verticalAlignment: Text.AlignTop
|
||||
}
|
||||
}
|
||||
ProgressTranslateCancelButton38_figma {
|
||||
// component (Instance) level: 0 NextButton
|
||||
id: figma_701_539
|
||||
// # "NextButton"
|
||||
objectName:"NextButton"
|
||||
x:118
|
||||
y:0
|
||||
width:49
|
||||
height:19
|
||||
color:"#ff0a5bff"
|
||||
Text {
|
||||
// component (Instance) level: 1 NextLabel
|
||||
id: figma_i701_539_652_314
|
||||
// # "NextLabel"
|
||||
objectName:"NextLabel"
|
||||
x:9
|
||||
y:3
|
||||
width:31
|
||||
height:12
|
||||
color:"#ffffffff"
|
||||
wrapMode: TextEdit.WordWrap
|
||||
text:"Далее"
|
||||
font.family: "Tahoma"
|
||||
font.italic: false
|
||||
font.letterSpacing: 0
|
||||
font.pixelSize: 10
|
||||
font.weight: Font.Normal
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
verticalAlignment: Text.AlignTop
|
||||
}
|
||||
}
|
||||
}
|
||||
Text {
|
||||
// component (Instance) level: 0 Задайте параметры для проекта.
|
||||
id: figma_701_540
|
||||
// # "Задайте параметры для проекта."
|
||||
objectName:"Задайте параметры для проекта."
|
||||
x:11
|
||||
y:13
|
||||
width:200
|
||||
height:15
|
||||
color:"#ff000000"
|
||||
wrapMode: TextEdit.WordWrap
|
||||
text:"Задайте параметры для проекта."
|
||||
font.family: "Tahoma"
|
||||
font.italic: false
|
||||
font.letterSpacing: 0
|
||||
font.pixelSize: 12
|
||||
font.weight: Font.Normal
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
verticalAlignment: Text.AlignTop
|
||||
}
|
||||
InputComponent42_figma {
|
||||
// component (Instance) level: 0 InputComponent
|
||||
id: figma_701_541
|
||||
// # "InputComponent"
|
||||
objectName:"InputComponent"
|
||||
x:11
|
||||
y:44
|
||||
width:397
|
||||
height:40
|
||||
Text {
|
||||
// component (Instance) level: 1 ProjectLabel
|
||||
id: figma_i701_541_219_73
|
||||
// # "ProjectLabel"
|
||||
objectName:"ProjectLabel"
|
||||
x:0
|
||||
y:0
|
||||
width:397
|
||||
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
|
||||
}
|
||||
Rectangle {
|
||||
// component (Instance) level: 1 StrokeElement
|
||||
id: figma_i701_541_219_155
|
||||
// # "StrokeElement"
|
||||
objectName:"StrokeElement"
|
||||
x:0
|
||||
y:17
|
||||
width:397
|
||||
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: 392; y: 0.5 }
|
||||
PathLine { x: 392; y: 0 }
|
||||
PathLine { x: 392; y: -0.5 }
|
||||
PathLine { x: 5; y: -0.5 }
|
||||
PathLine { x: 5; y: 0 }
|
||||
PathMove { x: 397; y: 5 }
|
||||
PathLine { x: 396.5; y: 5 }
|
||||
PathLine { x: 396.5; y: 18 }
|
||||
PathLine { x: 397; y: 18 }
|
||||
PathLine { x: 397.5; y: 18 }
|
||||
PathLine { x: 397.5; y: 5 }
|
||||
PathLine { x: 397; y: 5 }
|
||||
PathMove { x: 392; y: 23 }
|
||||
PathLine { x: 392; y: 22.5 }
|
||||
PathLine { x: 5; y: 22.5 }
|
||||
PathLine { x: 5; y: 23 }
|
||||
PathLine { x: 5; y: 23.5 }
|
||||
PathLine { x: 392; y: 23.5 }
|
||||
PathLine { x: 392; 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.96244; control2Y: 23.5; x: 5; y: 23.5 }
|
||||
PathLine { x: 5; y: 23 }
|
||||
PathMove { x: 397; y: 18 }
|
||||
PathLine { x: 396.5; y: 18 }
|
||||
PathCubic { control1X: 396.5; control1Y: 20.4853; control2X: 394.485; control2Y: 22.5; x: 392; y: 22.5 }
|
||||
PathLine { x: 392; y: 23 }
|
||||
PathLine { x: 392; y: 23.5 }
|
||||
PathCubic { control1X: 395.038; control1Y: 23.5; control2X: 397.5; control2Y: 21.0376; x: 397.5; y: 18 }
|
||||
PathLine { x: 397; y: 18 }
|
||||
PathMove { x: 392; y: 0 }
|
||||
PathLine { x: 392; y: 0.5 }
|
||||
PathCubic { control1X: 394.485; control1Y: 0.5; control2X: 396.5; control2Y: 2.51472; x: 396.5; y: 5 }
|
||||
PathLine { x: 397; y: 5 }
|
||||
PathLine { x: 397.5; y: 5 }
|
||||
PathCubic { control1X: 397.5; control1Y: 1.96243; control2X: 395.038; control2Y: -0.5; x: 392; y: -0.5 }
|
||||
PathLine { x: 392; 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_i701_541_219_74
|
||||
// # "ProjectTextField"
|
||||
objectName:"ProjectTextField"
|
||||
x:3
|
||||
y:0
|
||||
width:391
|
||||
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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
233
Quartz/pages/FigmaQmlInterface/qml/TestPage_ShowStage1_figma.qml
Normal file
@ -0,0 +1,233 @@
|
||||
//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 ShowStage
|
||||
id: figma_701_591
|
||||
// # "ShowStage"
|
||||
objectName:"ShowStage"
|
||||
x:0
|
||||
y:0
|
||||
width:419
|
||||
height:341
|
||||
color:"#fff0f0f0"
|
||||
clip: false
|
||||
|
||||
Rectangle {
|
||||
// component (Instance) level: 0 Frame 876
|
||||
id: figma_701_592
|
||||
// # "Frame 876"
|
||||
objectName:"Frame 876"
|
||||
x:8
|
||||
y:6
|
||||
width:403
|
||||
height:330
|
||||
color: "transparent"
|
||||
clip: false
|
||||
|
||||
Rectangle {
|
||||
// component (Instance) level: 0 Frame 803
|
||||
id: figma_701_593
|
||||
// # "Frame 803"
|
||||
objectName:"Frame 803"
|
||||
x:0
|
||||
y:0
|
||||
width:403
|
||||
height:311
|
||||
color: "transparent"
|
||||
clip: false
|
||||
|
||||
Text {
|
||||
// component (Instance) level: 0 Label
|
||||
id: figma_701_594
|
||||
// # "Label"
|
||||
objectName:"Label"
|
||||
x:1
|
||||
y:0
|
||||
width:55.2326
|
||||
height:12
|
||||
color:"#ff000000"
|
||||
wrapMode: TextEdit.WordWrap
|
||||
text:"Проект"
|
||||
font.family: "Tahoma"
|
||||
font.italic: false
|
||||
font.letterSpacing: 0
|
||||
font.pixelSize: 10
|
||||
font.weight: Font.DemiBold
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
verticalAlignment: Text.AlignTop
|
||||
}
|
||||
Text {
|
||||
// component (Instance) level: 0 ProjecNameLabel
|
||||
id: figma_701_595
|
||||
// # "ProjecNameLabel"
|
||||
objectName:"ProjecNameLabel"
|
||||
x:1
|
||||
y:14
|
||||
width:389
|
||||
height:15
|
||||
color:"#ff000000"
|
||||
wrapMode: TextEdit.WordWrap
|
||||
text:"Краснокаменская"
|
||||
font.family: "Tahoma"
|
||||
font.italic: false
|
||||
font.letterSpacing: 0
|
||||
font.pixelSize: 12
|
||||
font.weight: Font.Normal
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
verticalAlignment: Text.AlignTop
|
||||
}
|
||||
Text {
|
||||
// component (Instance) level: 0 Label
|
||||
id: figma_701_596
|
||||
// # "Label"
|
||||
objectName:"Label"
|
||||
x:1
|
||||
y:32
|
||||
width:399.465
|
||||
height:12
|
||||
color:"#ff000000"
|
||||
wrapMode: TextEdit.WordWrap
|
||||
text:"Расположение"
|
||||
font.family: "Tahoma"
|
||||
font.italic: false
|
||||
font.letterSpacing: 0
|
||||
font.pixelSize: 10
|
||||
font.weight: Font.DemiBold
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
verticalAlignment: Text.AlignTop
|
||||
}
|
||||
Text {
|
||||
// component (Instance) level: 0 ProjectPathLabel
|
||||
id: figma_701_597
|
||||
// # "ProjectPathLabel"
|
||||
objectName:"ProjectPathLabel"
|
||||
x:1
|
||||
y:46
|
||||
width:391
|
||||
height:45
|
||||
color:"#ff000000"
|
||||
wrapMode: TextEdit.WordWrap
|
||||
text:"D:\fsdfsfsdfsfsfsfsfsdfdsfsfsdfsdfsdfsdfdsfsdfsfsdf\Projects\Qt\dfsfssdfsfsfsdfsdfsfsfsdfsfsdfdsfsdfs"
|
||||
font.family: "Tahoma"
|
||||
font.italic: false
|
||||
font.letterSpacing: 0
|
||||
font.pixelSize: 12
|
||||
font.weight: Font.Normal
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
verticalAlignment: Text.AlignTop
|
||||
}
|
||||
}
|
||||
Rectangle {
|
||||
// component (Instance) level: 0 Frame 875
|
||||
id: figma_701_598
|
||||
// # "Frame 875"
|
||||
objectName:"Frame 875"
|
||||
x:9
|
||||
y:311
|
||||
width:385
|
||||
height:19
|
||||
color: "transparent"
|
||||
clip: false
|
||||
|
||||
ProgressTranslateCancelButton38_figma {
|
||||
// component (Instance) level: 0 DeleteProjectButton
|
||||
id: figma_701_599
|
||||
// # "DeleteProjectButton"
|
||||
objectName:"DeleteProjectButton"
|
||||
x:0
|
||||
y:0
|
||||
width:146
|
||||
height:19
|
||||
color: "transparent"
|
||||
Text {
|
||||
// component (Instance) level: 1 RemoveLabel
|
||||
id: figma_i701_599_652_314
|
||||
// # "RemoveLabel"
|
||||
objectName:"RemoveLabel"
|
||||
x:52
|
||||
y:3
|
||||
width:41
|
||||
height:12
|
||||
color:"#ff110202"
|
||||
wrapMode: TextEdit.WordWrap
|
||||
text:"Удалить"
|
||||
font.family: "Tahoma"
|
||||
font.italic: false
|
||||
font.letterSpacing: 0
|
||||
font.pixelSize: 10
|
||||
font.weight: Font.Normal
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
verticalAlignment: Text.AlignTop
|
||||
}
|
||||
}
|
||||
ProgressTranslateCancelButton38_figma {
|
||||
// component (Instance) level: 0 ShowProjectButton
|
||||
id: figma_701_600
|
||||
// # "ShowProjectButton"
|
||||
objectName:"ShowProjectButton"
|
||||
x:158
|
||||
y:0
|
||||
width:148
|
||||
height:19
|
||||
color:"#ff0a5bff"
|
||||
Text {
|
||||
// component (Instance) level: 1 ShowLabel
|
||||
id: figma_i701_600_652_314
|
||||
// # "ShowLabel"
|
||||
objectName:"ShowLabel"
|
||||
x:41
|
||||
y:3
|
||||
width:66
|
||||
height:12
|
||||
color:"#ffffffff"
|
||||
wrapMode: TextEdit.WordWrap
|
||||
text:"Просмотреть"
|
||||
font.family: "Tahoma"
|
||||
font.italic: false
|
||||
font.letterSpacing: 0
|
||||
font.pixelSize: 10
|
||||
font.weight: Font.Normal
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
verticalAlignment: Text.AlignTop
|
||||
}
|
||||
}
|
||||
ProgressTranslateCancelButton38_figma {
|
||||
// component (Instance) level: 0 FinishButton
|
||||
id: figma_701_601
|
||||
// # "FinishButton"
|
||||
objectName:"FinishButton"
|
||||
x:318
|
||||
y:0
|
||||
width:67
|
||||
height:19
|
||||
color: "transparent"
|
||||
Text {
|
||||
// component (Instance) level: 1 FinishLabel
|
||||
id: figma_i701_601_652_314
|
||||
// # "FinishLabel"
|
||||
objectName:"FinishLabel"
|
||||
x:16
|
||||
y:3
|
||||
width:34
|
||||
height:12
|
||||
color:"#ff110202"
|
||||
wrapMode: TextEdit.WordWrap
|
||||
text:"Готово"
|
||||
font.family: "Tahoma"
|
||||
font.italic: false
|
||||
font.letterSpacing: 0
|
||||
font.pixelSize: 10
|
||||
font.weight: Font.Normal
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
verticalAlignment: Text.AlignTop
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,253 @@
|
||||
//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 TranslatingStage
|
||||
id: figma_701_549
|
||||
// # "TranslatingStage"
|
||||
objectName:"TranslatingStage"
|
||||
x:0
|
||||
y:0
|
||||
width:419
|
||||
height:341
|
||||
color:"#fff0f0f0"
|
||||
clip: false
|
||||
|
||||
Rectangle {
|
||||
// component (Instance) level: 0 Frame 868
|
||||
id: figma_701_550
|
||||
// # "Frame 868"
|
||||
objectName:"Frame 868"
|
||||
x:302
|
||||
y:317
|
||||
width:106
|
||||
height:19
|
||||
color: "transparent"
|
||||
clip: false
|
||||
|
||||
ProgressTranslateCancelButton38_figma {
|
||||
// component (Instance) level: 0 BackButton
|
||||
id: figma_701_551
|
||||
// # "BackButton"
|
||||
objectName:"BackButton"
|
||||
x:0
|
||||
y:0
|
||||
width:48
|
||||
height:19
|
||||
color: "transparent"
|
||||
Text {
|
||||
// component (Instance) level: 1 BackLabel
|
||||
id: figma_i701_551_652_314
|
||||
// # "BackLabel"
|
||||
objectName:"BackLabel"
|
||||
x:9
|
||||
y:3
|
||||
width:30
|
||||
height:12
|
||||
color:"#ff110202"
|
||||
wrapMode: TextEdit.WordWrap
|
||||
text:"Назад"
|
||||
font.family: "Tahoma"
|
||||
font.italic: false
|
||||
font.letterSpacing: 0
|
||||
font.pixelSize: 10
|
||||
font.weight: Font.Normal
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
verticalAlignment: Text.AlignTop
|
||||
}
|
||||
}
|
||||
ProgressTranslateCancelButton38_figma {
|
||||
// component (Instance) level: 0 NextButton
|
||||
id: figma_701_552
|
||||
// # "NextButton"
|
||||
objectName:"NextButton"
|
||||
x:57
|
||||
y:0
|
||||
width:49
|
||||
height:19
|
||||
color:"#ff0a5bff"
|
||||
Text {
|
||||
// component (Instance) level: 1 NextLabel
|
||||
id: figma_i701_552_652_314
|
||||
// # "NextLabel"
|
||||
objectName:"NextLabel"
|
||||
x:9
|
||||
y:3
|
||||
width:31
|
||||
height:12
|
||||
color:"#ffffffff"
|
||||
wrapMode: TextEdit.WordWrap
|
||||
text:"Далее"
|
||||
font.family: "Tahoma"
|
||||
font.italic: false
|
||||
font.letterSpacing: 0
|
||||
font.pixelSize: 10
|
||||
font.weight: Font.Normal
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
verticalAlignment: Text.AlignTop
|
||||
}
|
||||
}
|
||||
}
|
||||
Rectangle {
|
||||
// component (Instance) level: 0 Frame 873
|
||||
id: figma_701_553
|
||||
// # "Frame 873"
|
||||
objectName:"Frame 873"
|
||||
x:120
|
||||
y:130
|
||||
width:191
|
||||
height:67.232
|
||||
color: "transparent"
|
||||
clip: false
|
||||
|
||||
LabelComponent24_figma {
|
||||
// component (Instance) level: 0 ProgressTransformLabelItem
|
||||
id: figma_701_554
|
||||
// # "ProgressTransformLabelItem"
|
||||
objectName:"ProgressTransformLabelItem"
|
||||
x:0
|
||||
y:0
|
||||
width:111
|
||||
height:15
|
||||
Text {
|
||||
// component (Instance) level: 1 ProgressTransformLabel
|
||||
id: figma_i701_554_613_450
|
||||
// # "ProgressTransformLabel"
|
||||
objectName:"ProgressTransformLabel"
|
||||
x:0
|
||||
y:0
|
||||
width:111
|
||||
height:15
|
||||
color:"#ff000000"
|
||||
wrapMode: TextEdit.WordWrap
|
||||
text:"Преобразование..."
|
||||
font.family: "Tahoma"
|
||||
font.italic: false
|
||||
font.letterSpacing: 0
|
||||
font.pixelSize: 12
|
||||
font.weight: Font.Normal
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
verticalAlignment: Text.AlignTop
|
||||
}
|
||||
}
|
||||
Rectangle {
|
||||
// component (Instance) level: 0 TranslateProgressBar
|
||||
id: figma_701_555
|
||||
// # "TranslateProgressBar"
|
||||
objectName:"TranslateProgressBar"
|
||||
x:0
|
||||
y:20
|
||||
width:190.236
|
||||
height:16.808
|
||||
color: "transparent"
|
||||
clip: true
|
||||
Shape {
|
||||
anchors.fill: parent
|
||||
ShapePath {
|
||||
strokeColor: Qt.rgba(0.0392157, 0.356863, 1, 1)
|
||||
strokeWidth: 1.528
|
||||
fillColor: "transparent"
|
||||
PathMove { x: 0; y: 0 }
|
||||
PathLine { x: 0; y: -0.764 }
|
||||
PathLine { x: -0.764; y: -0.764 }
|
||||
PathLine { x: -0.764; y: 0 }
|
||||
PathLine { x: 0; y: 0 }
|
||||
PathMove { x: 190.236; y: 0 }
|
||||
PathLine { x: 191; y: 0 }
|
||||
PathLine { x: 191; y: -0.764 }
|
||||
PathLine { x: 190.236; y: -0.764 }
|
||||
PathLine { x: 190.236; y: 0 }
|
||||
PathMove { x: 190.236; y: 16.808 }
|
||||
PathLine { x: 190.236; y: 17.572 }
|
||||
PathLine { x: 191; y: 17.572 }
|
||||
PathLine { x: 191; y: 16.808 }
|
||||
PathLine { x: 190.236; y: 16.808 }
|
||||
PathMove { x: 0; y: 16.808 }
|
||||
PathLine { x: -0.764; y: 16.808 }
|
||||
PathLine { x: -0.764; y: 17.572 }
|
||||
PathLine { x: 0; y: 17.572 }
|
||||
PathLine { x: 0; y: 16.808 }
|
||||
PathMove { x: 0; y: 0 }
|
||||
PathLine { x: 0; y: 0.764 }
|
||||
PathLine { x: 190.236; y: 0.764 }
|
||||
PathLine { x: 190.236; y: 0 }
|
||||
PathLine { x: 190.236; y: -0.764 }
|
||||
PathLine { x: 0; y: -0.764 }
|
||||
PathLine { x: 0; y: 0 }
|
||||
PathMove { x: 190.236; y: 0 }
|
||||
PathLine { x: 189.472; y: 0 }
|
||||
PathLine { x: 189.472; y: 16.808 }
|
||||
PathLine { x: 190.236; y: 16.808 }
|
||||
PathLine { x: 191; y: 16.808 }
|
||||
PathLine { x: 191; y: 0 }
|
||||
PathLine { x: 190.236; y: 0 }
|
||||
PathMove { x: 190.236; y: 16.808 }
|
||||
PathLine { x: 190.236; y: 16.044 }
|
||||
PathLine { x: 0; y: 16.044 }
|
||||
PathLine { x: 0; y: 16.808 }
|
||||
PathLine { x: 0; y: 17.572 }
|
||||
PathLine { x: 190.236; y: 17.572 }
|
||||
PathLine { x: 190.236; y: 16.808 }
|
||||
PathMove { x: 0; y: 16.808 }
|
||||
PathLine { x: 0.764; y: 16.808 }
|
||||
PathLine { x: 0.764; y: 0 }
|
||||
PathLine { x: 0; y: 0 }
|
||||
PathLine { x: -0.764; y: 0 }
|
||||
PathLine { x: -0.764; y: 16.808 }
|
||||
PathLine { x: 0; y: 16.808 }
|
||||
}}
|
||||
Rectangle {
|
||||
// component (Instance) level: 0 TranslateProgressBarFilled
|
||||
id: figma_701_556
|
||||
// # "TranslateProgressBarFilled"
|
||||
objectName:"TranslateProgressBarFilled"
|
||||
x:0
|
||||
y:0
|
||||
width:30.56
|
||||
height:16.808
|
||||
color:"#ff0a5bff"
|
||||
clip: true
|
||||
|
||||
}
|
||||
}
|
||||
Rectangle {
|
||||
// component (Instance) level: 0 ProgressTranslateCancelButton
|
||||
id: figma_701_557
|
||||
// # "ProgressTranslateCancelButton"
|
||||
objectName:"ProgressTranslateCancelButton"
|
||||
x:3
|
||||
y:43
|
||||
width:186.416
|
||||
height:23.684
|
||||
color:"#ff0a5bff"
|
||||
radius:22.92
|
||||
clip: true
|
||||
|
||||
Text {
|
||||
// component (Instance) level: 0 CancelLabel
|
||||
id: figma_701_558
|
||||
// # "CancelLabel"
|
||||
objectName:"CancelLabel"
|
||||
x: (figma_701_557.width - width) / 2 - 0.208008
|
||||
y: (figma_701_557.height - height) / 2 - 0.342
|
||||
width:60
|
||||
height:15
|
||||
color:"#ffffffff"
|
||||
wrapMode: TextEdit.WordWrap
|
||||
text:"Отменить"
|
||||
font.family: "Tahoma"
|
||||
font.italic: false
|
||||
font.letterSpacing: 0
|
||||
font.pixelSize: 12
|
||||
font.weight: Font.Normal
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
verticalAlignment: Text.AlignTop
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 8.8 KiB |
|
After Width: | Height: | Size: 8.8 KiB |
|
Before Width: | Height: | Size: 95 KiB |
|
After Width: | Height: | Size: 9.7 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 994 B |
|
After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 7.3 KiB |
27
Quartz/selectfilesstageactivity.cpp
Normal file
@ -0,0 +1,27 @@
|
||||
#include "selectfilesstageactivity.h"
|
||||
#include "QDebug"
|
||||
|
||||
SelectFilesStageActivity::SelectFilesStageActivity(QQuickItem * item, QObject *parent)
|
||||
: QObject{parent}, root(item)
|
||||
{
|
||||
if (!item) {
|
||||
qWarning() << "[C++] Root object is null";
|
||||
return;
|
||||
}
|
||||
|
||||
init();
|
||||
}
|
||||
|
||||
void SelectFilesStageActivity::pageChanged()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void SelectFilesStageActivity::isAllowChangePage(const std::function<void ()> &continueChange, const std::function<void ()> &blockChange)
|
||||
{
|
||||
continueChange();
|
||||
}
|
||||
|
||||
void SelectFilesStageActivity::init()
|
||||
{
|
||||
}
|
||||
26
Quartz/selectfilesstageactivity.h
Normal file
@ -0,0 +1,26 @@
|
||||
#ifndef SELECTFILESSTAGEACTIVITY_H
|
||||
#define SELECTFILESSTAGEACTIVITY_H
|
||||
|
||||
#include <QObject>
|
||||
#include "interfaces/IPageActivity.h"
|
||||
|
||||
class QQuickItem;
|
||||
class DynamicLoader;
|
||||
class QQmlEngine;
|
||||
|
||||
class SelectFilesStageActivity : public QObject, public IPageActivity
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit SelectFilesStageActivity(QQuickItem * item, QObject *parent = nullptr);
|
||||
|
||||
void pageChanged() override final;
|
||||
void isAllowChangePage(const std::function<void()> &continueChange, const std::function<void()> &blockChange) override final;
|
||||
|
||||
signals:
|
||||
|
||||
private:
|
||||
QQuickItem * root;
|
||||
void init();
|
||||
};
|
||||
#endif // SELECTFILESSTAGEACTIVITY_H
|
||||
@ -110,7 +110,7 @@ public:
|
||||
private:
|
||||
explicit SettingsRepository(QObject* parent = nullptr)
|
||||
: QObject(parent)
|
||||
, m_settings(QSettings::IniFormat, QSettings::UserScope, "CyberCode", "Pretvorenit")
|
||||
, m_settings(QSettings::IniFormat, QSettings::UserScope, "CyberCode", "Quartz")
|
||||
{
|
||||
qDebug() << m_settings.fileName();
|
||||
|
||||
|
||||
28
Quartz/setupparamsstageactivity.cpp
Normal file
@ -0,0 +1,28 @@
|
||||
#include "setupparamsstageactivity.h"
|
||||
#include "QDebug"
|
||||
|
||||
SetupParamsStageActivity::SetupParamsStageActivity(QQuickItem * item, QObject *parent)
|
||||
: QObject{parent}, root(item)
|
||||
{
|
||||
if (!item) {
|
||||
qWarning() << "[C++] Root object is null";
|
||||
return;
|
||||
}
|
||||
|
||||
init();
|
||||
}
|
||||
|
||||
void SetupParamsStageActivity::pageChanged()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void SetupParamsStageActivity::isAllowChangePage(const std::function<void ()> &continueChange, const std::function<void ()> &blockChange)
|
||||
{
|
||||
continueChange();
|
||||
}
|
||||
|
||||
void SetupParamsStageActivity::init()
|
||||
{
|
||||
|
||||
}
|
||||
28
Quartz/setupparamsstageactivity.h
Normal file
@ -0,0 +1,28 @@
|
||||
#ifndef SETUPPARAMSSTAGEACTIVITY_H
|
||||
#define SETUPPARAMSSTAGEACTIVITY_H
|
||||
|
||||
#include <QObject>
|
||||
#include "interfaces/IPageActivity.h"
|
||||
|
||||
class QQuickItem;
|
||||
class DynamicLoader;
|
||||
class QQmlEngine;
|
||||
|
||||
|
||||
class SetupParamsStageActivity : public QObject, public IPageActivity
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit SetupParamsStageActivity(QQuickItem * item, QObject *parent = nullptr);
|
||||
|
||||
void pageChanged() override final;
|
||||
void isAllowChangePage(const std::function<void()> &continueChange, const std::function<void()> &blockChange) override final;
|
||||
|
||||
signals:
|
||||
|
||||
private:
|
||||
QQuickItem * root;
|
||||
void init();
|
||||
};
|
||||
|
||||
#endif // SETUPPARAMSSTAGEACTIVITY_H
|
||||
28
Quartz/showstageactivity.cpp
Normal file
@ -0,0 +1,28 @@
|
||||
#include "showstageactivity.h"
|
||||
#include "QDebug"
|
||||
|
||||
ShowStageActivity::ShowStageActivity(QQuickItem * item, QObject *parent)
|
||||
: QObject{parent}, root(item)
|
||||
{
|
||||
if (!item) {
|
||||
qWarning() << "[C++] Root object is null";
|
||||
return;
|
||||
}
|
||||
|
||||
init();
|
||||
}
|
||||
|
||||
void ShowStageActivity::pageChanged()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void ShowStageActivity::isAllowChangePage(const std::function<void ()> &continueChange, const std::function<void ()> &blockChange)
|
||||
{
|
||||
continueChange();
|
||||
}
|
||||
|
||||
void ShowStageActivity::init()
|
||||
{
|
||||
|
||||
}
|
||||
28
Quartz/showstageactivity.h
Normal file
@ -0,0 +1,28 @@
|
||||
#ifndef SHOWSTAGEACTIVITY_H
|
||||
#define SHOWSTAGEACTIVITY_H
|
||||
|
||||
#include <QObject>
|
||||
#include "interfaces/IPageActivity.h"
|
||||
|
||||
class QQuickItem;
|
||||
class DynamicLoader;
|
||||
class QQmlEngine;
|
||||
|
||||
|
||||
class ShowStageActivity : public QObject, public IPageActivity
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit ShowStageActivity(QQuickItem * item, QObject *parent = nullptr);
|
||||
|
||||
void pageChanged() override final;
|
||||
void isAllowChangePage(const std::function<void()> &continueChange, const std::function<void()> &blockChange) override final;
|
||||
|
||||
signals:
|
||||
|
||||
private:
|
||||
QQuickItem * root;
|
||||
void init();
|
||||
};
|
||||
|
||||
#endif // SHOWSTAGEACTIVITY_H
|
||||
28
Quartz/translatingstageactivity.cpp
Normal file
@ -0,0 +1,28 @@
|
||||
#include "translatingstageactivity.h"
|
||||
#include "QDebug"
|
||||
|
||||
TranslatingStageActivity::TranslatingStageActivity(QQuickItem * item, QObject *parent)
|
||||
: QObject{parent}, root(item)
|
||||
{
|
||||
if (!item) {
|
||||
qWarning() << "[C++] Root object is null";
|
||||
return;
|
||||
}
|
||||
|
||||
init();
|
||||
}
|
||||
|
||||
void TranslatingStageActivity::pageChanged()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void TranslatingStageActivity::isAllowChangePage(const std::function<void ()> &continueChange, const std::function<void ()> &blockChange)
|
||||
{
|
||||
continueChange();
|
||||
}
|
||||
|
||||
void TranslatingStageActivity::init()
|
||||
{
|
||||
|
||||
}
|
||||
27
Quartz/translatingstageactivity.h
Normal file
@ -0,0 +1,27 @@
|
||||
#ifndef TRANSLATINGSTAGEACTIVITY_H
|
||||
#define TRANSLATINGSTAGEACTIVITY_H
|
||||
|
||||
#include <QObject>
|
||||
#include "interfaces/IPageActivity.h"
|
||||
|
||||
class QQuickItem;
|
||||
class DynamicLoader;
|
||||
class QQmlEngine;
|
||||
|
||||
class TranslatingStageActivity : public QObject, public IPageActivity
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit TranslatingStageActivity(QQuickItem * item, QObject *parent = nullptr);
|
||||
|
||||
void pageChanged() override final;
|
||||
void isAllowChangePage(const std::function<void()> &continueChange, const std::function<void()> &blockChange) override final;
|
||||
|
||||
signals:
|
||||
|
||||
private:
|
||||
QQuickItem * root;
|
||||
void init();
|
||||
};
|
||||
|
||||
#endif // TRANSLATINGSTAGEACTIVITY_H
|
||||