Changeset View
Changeset View
Standalone View
Standalone View
src/apps/qml/qml/MainComponent.qml
Show First 20 Lines • Show All 862 Lines • ▼ Show 20 Line(s) | 862 | QQC2.Label { | |||
---|---|---|---|---|---|
863 | id: typingInfo | 863 | id: typingInfo | ||
864 | Layout.leftMargin: Kirigami.Units.smallSpacing | 864 | Layout.leftMargin: Kirigami.Units.smallSpacing | ||
865 | visible: text.length > 0 | 865 | visible: text.length > 0 | ||
866 | } | 866 | } | ||
867 | 867 | | |||
868 | UserInput { | 868 | UserInput { | ||
869 | id: userInputMessage | 869 | id: userInputMessage | ||
870 | rcAccount: appid.rocketChatAccount | 870 | rcAccount: appid.rocketChatAccount | ||
871 | inputCompleterModel: rcAccount.inputCompleterModel | 871 | inputTextManager: rcAccount.inputTextManager | ||
872 | visible: appid.selectedRoom && (appid.selectedRoom.roomMessageInfo.length === 0) | 872 | visible: appid.selectedRoom && (appid.selectedRoom.roomMessageInfo.length === 0) | ||
873 | messageLineText: rcAccount.getUserCurrentMessage(appid.selectedRoomID) | 873 | messageLineText: rcAccount.getUserCurrentMessage(appid.selectedRoomID) | ||
874 | selectedRoomId: appid.selectedRoomID | 874 | selectedRoomId: appid.selectedRoomID | ||
875 | onTextEditing: { | 875 | onTextEditing: { | ||
876 | rcAccount.textEditing(appid.selectedRoomID, str.length == 0) | 876 | rcAccount.textEditing(appid.selectedRoomID, str.length == 0) | ||
877 | appid.userInputMessageText = str; | 877 | appid.userInputMessageText = str; | ||
878 | } | 878 | } | ||
879 | onClearUnreadMessages: { | 879 | onClearUnreadMessages: { | ||
Show All 27 Lines |