refactor: move `CopyToClipboardButton` to ui/shared/controls
This commit is contained in:
parent
1f8b4563e5
commit
dc81cda66c
|
@ -9,6 +9,7 @@ import "../../../../shared/controls"
|
|||
import "../../Wallet/views"
|
||||
import "../stores"
|
||||
|
||||
// TODO: replace with StatusPopupMenu
|
||||
Popup {
|
||||
id: popup
|
||||
modal: false
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue