2020-05-28 14:58:25 +00:00
|
|
|
pragma Singleton
|
|
|
|
|
2020-06-17 19:18:31 +00:00
|
|
|
import QtQuick 2.13
|
2020-05-28 14:58:25 +00:00
|
|
|
|
|
|
|
QtObject {
|
2020-06-04 18:56:04 +00:00
|
|
|
readonly property int chatTypeOneToOne: 1
|
|
|
|
readonly property int chatTypePublic: 2
|
|
|
|
readonly property int chatTypePrivateGroupChat: 3
|
2020-05-28 21:34:04 +00:00
|
|
|
|
2020-09-25 19:44:40 +00:00
|
|
|
readonly property int limitLongChatText: 500
|
|
|
|
readonly property int limitLongChatTextCompactMode: 1000
|
|
|
|
|
2020-09-04 11:55:24 +00:00
|
|
|
readonly property int fetchMoreMessagesButton: -2
|
2020-06-08 17:29:28 +00:00
|
|
|
readonly property int chatIdentifier: -1
|
2020-06-10 15:14:12 +00:00
|
|
|
readonly property int unknownContentType: 0
|
2020-06-04 18:56:04 +00:00
|
|
|
readonly property int messageType: 1
|
|
|
|
readonly property int stickerType: 2
|
2020-06-10 15:14:12 +00:00
|
|
|
readonly property int statusType: 3
|
|
|
|
readonly property int emojiType: 4
|
|
|
|
readonly property int transactionType: 5
|
|
|
|
readonly property int systemMessagePrivateGroupType: 6
|
2020-07-17 19:44:25 +00:00
|
|
|
readonly property int imageType: 7
|
2020-07-30 16:07:41 +00:00
|
|
|
readonly property int audioType: 8
|
2020-06-04 18:56:04 +00:00
|
|
|
|
2020-06-10 15:55:24 +00:00
|
|
|
readonly property string watchWalletType: "watch"
|
|
|
|
readonly property string keyWalletType: "key"
|
|
|
|
readonly property string seedWalletType: "seed"
|
|
|
|
readonly property string generatedWalletType: "generated"
|
|
|
|
|
2020-08-25 18:44:29 +00:00
|
|
|
// Transaction states
|
2020-09-03 20:43:08 +00:00
|
|
|
readonly property int addressRequested: 1
|
|
|
|
readonly property int declined: 2
|
|
|
|
readonly property int addressReceived: 3
|
|
|
|
readonly property int transactionRequested: 4
|
|
|
|
readonly property int transactionDeclined: 5
|
|
|
|
readonly property int pending: 6
|
|
|
|
readonly property int confirmed: 7
|
2020-08-25 18:44:29 +00:00
|
|
|
|
2020-09-25 16:52:06 +00:00
|
|
|
readonly property int maxTokens: 200
|
|
|
|
|
2020-09-03 20:14:44 +00:00
|
|
|
readonly property string zeroAddress: "0x0000000000000000000000000000000000000000"
|
|
|
|
|
2020-06-04 18:56:04 +00:00
|
|
|
readonly property var accountColors: [
|
|
|
|
"#9B832F",
|
|
|
|
"#D37EF4",
|
|
|
|
"#1D806F",
|
|
|
|
"#FA6565",
|
|
|
|
"#7CDA00",
|
|
|
|
"#887af9",
|
|
|
|
"#8B3131"
|
|
|
|
]
|
|
|
|
}
|