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