refactor: move `CopyToClipboardButton` to ui/shared/controls

This commit is contained in:
Pascal Precht 2021-10-14 12:24:37 +02:00 committed by Iuri Matias
parent 1f8b4563e5
commit dc81cda66c
7 changed files with 15 additions and 4 deletions

View File

@ -9,6 +9,7 @@ import "../../../../shared/controls"
import "../../Wallet/views"
import "../stores"
// TODO: replace with StatusPopupMenu
Popup {
id: popup
modal: false

View File

@ -2,8 +2,10 @@ import QtQuick 2.12
import QtQuick.Controls 2.3
import utils 1.0
import "./controls"
import "."
// TODO: replace with StatusModal
ModalPopup {
id: popup
//% "Get Status at https://status.im"

View File

@ -4,6 +4,9 @@ import QtQuick.Layouts 1.13
import utils 1.0
import "./controls"
// TODO: replace with StatusQ components
Item {
property string text: "My Text"
property string label: "My Label"

View File

@ -3,8 +3,10 @@ import QtQuick.Controls 2.13
import QtGraphicalEffects 1.13
import utils 1.0
import "../shared/status"
import "../"
import "../status"
// TODO: Replace with StatusQ components
Rectangle {
id: copyToClipboardButton
height: 32

View File

@ -15,7 +15,6 @@ StyledTextEdit 1.0 StyledTextEdit.qml
Identicon 1.0 Identicon.qml
RoundedImage 1.0 RoundedImage.qml
SplitViewHandle 1.0 SplitViewHandle.qml
CopyToClipBoardButton 1.0 CopyToClipBoardButton.qml
NotificationWindow 1.0 NotificationWindow.qml
BlockContactConfirmationDialog 1.0 BlockContactConfirmationDialog.qml
ConfirmationDialog 1.0 ConfirmationDialog.qml

View File

@ -2,8 +2,10 @@ import QtQuick 2.13
import QtQuick.Controls 2.13
import utils 1.0
import "../../shared"
import "../"
import "../controls"
// TODO: replace with StatusQ components
Item {
id: root
height: control.height

View File

@ -4,8 +4,10 @@ import QtQuick.Layouts 1.13
import QtGraphicalEffects 1.13
import utils 1.0
import "../../shared"
import "../"
import "../controls"
// TODO: replace with StatusQ component
Item {
property string name
property string description