~nicohman/signal-rs

ref: f0e05ca99d0ee6e29c5ae6b2861065856a0ee523 signal-rs/src/qrc.rs -rw-r--r-- 1.0 KiB
f0e05ca9 — nicohman Reorganize QML 8 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
use qmetaobject::qrc;
qrc!(qml_resources,
    "/" {
        "qml/main.qml",
        "qml/messages/MessageUI.qml" as "qml/MessageUI.qml",
        "qml/messages/ChatHistory.qml" as "qml/ChatHistory.qml",
        "qml/chats/ChatList.qml" as "qml/ChatList.qml",
        "qml/loading.qml",
        "qml/Settings.qml",
        "qml/SignalState.qml",
        "qml/contacts/CreateContact.qml" as "qml/CreateContact.qml",
        "qml/contacts/EditContact.qml" as "qml/EditContact.qml",
        "qml/Theme.qml",
        "qml/Avatar.qml",
        "qml/chats/CreateChat.qml" as "qml/CreateChat.qml",
        "qml/messages/PictureOverlay.qml" as "qml/PictureOverlay.qml",
        "qml/messages/MessageImage.qml" as "qml/MessageImage.qml",
        "qml/chats/EditGroup.qml" as "qml/EditGroup.qml",
        "qml/registration/Registration.qml" as "qml/Registration.qml",
        "qml/registration/RegistrationLink.qml" as "qml/RegistrationLink.qml",
        "qml/registration/RegistrationNew.qml" as "qml/RegistrationNew.qml"
    },
);

pub fn load() {
    qml_resources();
}