diff --git a/ui/StatusQ/src/StatusQ/Core/StatusCenteredFlow.qml b/ui/StatusQ/src/StatusQ/Core/StatusCenteredFlow.qml index bd329978fc..017a928efa 100644 --- a/ui/StatusQ/src/StatusQ/Core/StatusCenteredFlow.qml +++ b/ui/StatusQ/src/StatusQ/Core/StatusCenteredFlow.qml @@ -1,4 +1,4 @@ -import QtQuick 2.14 +import QtQuick 2.15 /*! \qmltype StatusCenteredFlow diff --git a/ui/imports/shared/controls/FormGroup.qml b/ui/imports/shared/controls/FormGroup.qml deleted file mode 100644 index a8625a351c..0000000000 --- a/ui/imports/shared/controls/FormGroup.qml +++ /dev/null @@ -1,58 +0,0 @@ -import QtQuick 2.13 -import QtQuick.Controls 2.13 - -import utils 1.0 - -Rectangle { - id: root - property var isValid: true - property var isPending: false - property var validate: function() { - let isValid = true - for (let i=0; i scrollView.availableHeight - ? ScrollBar.AlwaysOn : ScrollBar.AlwaysOff - - StatusBaseText { - id: bioText - text: root.bio.trim() - wrapMode: Text.Wrap - font.weight: Font.Medium - lineHeight: 1.2 - width: scrollView.availableWidth - } - } - - StatusCenteredFlow { - Layout.fillWidth: true - Layout.fillHeight: true - - spacing: Style.current.halfPadding - visible: repeater.count > 0 - - Repeater { - id: repeater - - model: sortedSocialLinksModel - delegate: SocialLinkPreview { - height: 32 - text: model.text - url: model.url - icon: model.icon - } - } - } - } -} diff --git a/ui/imports/shared/panels/SeparatorWithIcon.qml b/ui/imports/shared/panels/SeparatorWithIcon.qml deleted file mode 100644 index f8bb72f946..0000000000 --- a/ui/imports/shared/panels/SeparatorWithIcon.qml +++ /dev/null @@ -1,49 +0,0 @@ -import QtQuick 2.13 -import QtGraphicalEffects 1.13 - -import utils 1.0 - -import "." - -Item { - property int iconMargin: Style.current.padding - property alias icon: icon - readonly property int separatorWidth: (parent.width / 2) - (icon.height / 2) - iconMargin - width: parent.width - height: icon.height - - - Separator { - id: separatorLeft - width: separatorWidth - anchors.verticalCenter: parent.verticalCenter - anchors.left: parent.left - anchors.topMargin: undefined - } - - SVGImage { - id: icon - height: 14 - width: 18 - anchors.horizontalCenter: parent.horizontalCenter - anchors.verticalCenter: parent.verticalCenter - fillMode: Image.PreserveAspectFit - source: Style.svg("arrow-right") - rotation: 90 - - ColorOverlay { - anchors.fill: parent - source: parent - color: Style.current.textColor - antialiasing: true - } - } - - Separator { - id: separatorRight - width: separatorWidth - anchors.right: parent.right - anchors.verticalCenter: parent.verticalCenter - anchors.topMargin: undefined - } -} diff --git a/ui/imports/shared/panels/SplitViewHandle.qml b/ui/imports/shared/panels/SplitViewHandle.qml deleted file mode 100644 index 40d0925470..0000000000 --- a/ui/imports/shared/panels/SplitViewHandle.qml +++ /dev/null @@ -1,10 +0,0 @@ -import QtQuick 2.13 -import QtQuick.Controls 2.13 - -import utils 1.0 - -Rectangle { - implicitWidth: 0 - color: SplitHandle.pressed ? Style.current.darkGrey - : (SplitHandle.hovered ? Qt.darker(Style.current.border, 1.1) : Style.current.transparent) -} diff --git a/ui/imports/shared/panels/qmldir b/ui/imports/shared/panels/qmldir index 26c4a8434e..103232066a 100644 --- a/ui/imports/shared/panels/qmldir +++ b/ui/imports/shared/panels/qmldir @@ -1,28 +1,21 @@ AcceptRejectOptionsButtonsPanel 1.0 AcceptRejectOptionsButtonsPanel.qml Address 1.0 Address.qml -AddressRequiredValidator 1.0 AddressRequiredValidator.qml ChatsLoadingPanel 1.0 ChatsLoadingPanel.qml ConnectionWarnings 1.0 ConnectionWarnings.qml DidYouKnowSplashScreen 1.0 DidYouKnowSplashScreen.qml +DropAndEditImagePanel 1.0 DropAndEditImagePanel.qml EditCroppedImagePanel 1.0 EditCroppedImagePanel.qml EnterSeedPhrase 1.0 EnterSeedPhrase.qml -GlossaryEntry 1.0 GlossaryEntry.qml -GlossaryLetter 1.0 GlossaryLetter.qml ImageLoader 1.0 ImageLoader.qml -LabelValueRow 1.0 LabelValueRow.qml +MockedKeycardLibControllerWindow 1.0 MockedKeycardLibControllerWindow.qml ModuleWarning 1.0 ModuleWarning.qml NoImageUploadedPanel 1.0 NoImageUploadedPanel.qml -ProfileBioSocialsPanel 1.0 ProfileBioSocialsPanel.qml RoundedIcon 1.0 RoundedIcon.qml RoundedImage 1.0 RoundedImage.qml SVGImage 1.0 SVGImage.qml SeedPhrase 1.0 SeedPhrase.qml Separator 1.0 Separator.qml -SeparatorWithIcon 1.0 SeparatorWithIcon.qml SequenceColumnLayout 1.0 SequenceColumnLayout.qml -SplitViewHandle 1.0 SplitViewHandle.qml StatusAssetSelector 1.0 StatusAssetSelector.qml StyledText 1.0 StyledText.qml TextWithLabel 1.0 TextWithLabel.qml -DropAndEditImagePanel 1.0 DropAndEditImagePanel.qml -MockedKeycardLibControllerWindow 1.0 MockedKeycardLibControllerWindow.qml diff --git a/ui/imports/utils/SelectedMessage.qml b/ui/imports/utils/SelectedMessage.qml deleted file mode 100644 index e9ad39f8f4..0000000000 --- a/ui/imports/utils/SelectedMessage.qml +++ /dev/null @@ -1,18 +0,0 @@ -pragma Singleton - -import QtQuick 2.13 - -QtObject { - property string messageId: "" - property string author: "" - - function reset(){ - messageId = ""; - author = ""; - } - - function set(_messageId, _author){ - messageId = _messageId; - author = _author; - } -} diff --git a/ui/imports/utils/qmldir b/ui/imports/utils/qmldir index 9534d59464..796fd94ac4 100644 --- a/ui/imports/utils/qmldir +++ b/ui/imports/utils/qmldir @@ -2,7 +2,6 @@ Audio 1.0 Audio.qml Tracer 1.0 Tracer.qml singleton Constants 1.0 Constants.qml singleton Global 1.0 Global.qml -singleton SelectedMessage 1.0 SelectedMessage.qml +singleton ProfileUtils 1.0 ProfileUtils.qml singleton Style 1.0 Style.qml singleton Utils 1.0 Utils.qml -singleton ProfileUtils 1.0 ProfileUtils.qml