aboutsummaryrefslogtreecommitdiff
path: root/qml/ComposePane.qml
Commit message (Collapse)AuthorAgeFilesLines
* revert shortcut to action due to bugMiquel Lionel2021-11-031-26/+31
| | | | | | | | - ComposePane.qml shortcut for attaching a file or sending a message stops working once you switch accounts, so for the moment we switch to "action: Action" blocks for Button controls. I still need to figure out why the numbers of presses needed to trigger the shortcut increments each time I switch accounts.
* Videochat message displayed, rm actions dupsMiquel Lionel2021-11-021-16/+2
| | | | | | | | - message.*, qml/Message.qml: Videochat invitation message send from the original DeltaChat app are displayed. Currently, it's best if the chat instance use http or https scheme, since it'll normally open in a browser - qml/ComposePane.qml : We made Shorcuts and actions are needed anymore, no need for duplicates - qml/main.qml: Fix shortcut help for opening Settings page, it's Shift+Tab not Shift+S.
* GIFs, display names on every message and morelink2xt2021-10-311-0/+22
| | | | | | | | | | | | | | | | | | | - now we can view animated gifs ! - name are displayed on top of every message type (not just text messages and audio messages) This avoids some confusion in whether a message has been sent by us or not. - we fix the warnings of NON-NOTIFYABLE properties being used by adding one Q_PROPERTY: fileReadOnly, so we can use it to get the filename and not be bothered by console warnings. - we add some variables in Message.qml because some values were repeated and made more sense to put in a readonly var (maxH and maxW). - make scrollbar visible on hover. # Conflicts: # qml/ComposePane.qml
* We add a bunch of keyboard shortcuts. F1 to show.Miquel Lionel2021-10-311-0/+22
| | | | | | - Also, the play, pause and "save attachment" button have a little emoji before them - Tooltip show for buttons with shorcuts
* qmlformatHEADmasterlink2xt2021-10-271-19/+14
|
* Change "Attach" button to "Detach" when file is attachedlink2xt1-2/+8
| | | | | As a side effect, this adds a visual cue that a file will be sent. There is no file preview yet, so at least some indicator is needed.
* Add Message.setFile methodlink2xt1-6/+5
| | | | | This allows setting file from JavaScript, so C++ remains a thin wrapper to Delta Chat core API. sendMessage only calls dc_send_msg, and all the attachment logic goes to the JavaScript code.
* Make attachment button functionalMiquel Lionel1-5/+16
|
* ComposePane: "attach" buttonlink2xt1-0/+27
|
* Fix QML code stylelink2xt2021-10-021-26/+21
| | | | Mostly qmlformat, also rename root "id"s.
* Accept and reject contact requests in the compose panelink2xt2021-08-281-0/+26
|
* ComposePane: move message creation to a separate functionlink2xt2021-08-071-6/+11
|
* Use `dc_send_msg` to send messageslink2xt2021-08-071-1/+6
| | | | `dc_send_text_msg` is too limited as it can only send text without attachments.
* ComposePane: set `id` to `root`link2xt2021-08-071-5/+7
|
* Reset draft after sending a messagelink2xt2021-05-311-0/+1
|
* Implement message draftslink2xt2021-05-291-0/+15
|
* Move fillWidth from ComposePane to it's instance at ChatPagelink2xt2021-03-221-3/+2
| | | | ComposePane is not necessarily placed into Layout.
* Align Send button to the bottomlink2xt2021-03-221-0/+2
| | | | This keeps the button at the bottom of the window when multi-line message is entered.
* Move ComposePane to separate QML filelink2xt2021-03-201-0/+38