Commit graph

19 commits

Author SHA1 Message Date
Nicolas Werner
61404641d9
Update year in copyright notice to shut up lint job 2022-01-01 04:57:53 +01:00
Nicolas Werner
d8ead9573b
Reduce allocations using QStringLiteral 2021-12-29 04:52:52 +01:00
Nicolas Werner
bb290f9fec
Fix more warnings and remove dead code 2021-12-28 22:30:12 +01:00
Nicolas Werner
5ca98829f7
Some qt6 prep 2021-12-28 20:09:08 +01:00
Thulinma
94441e68fd Support pasting image/svg+xml format straight from supporting applications 2021-09-28 01:42:35 +02:00
Nicolas Werner
cfca7157b9
Change indentation to 4 spaces 2021-09-18 00:45:50 +02:00
salahmak
2108d98c6d Pressing escape hides PreviewUploadOverlay 2021-03-20 21:09:04 +01:00
salahmak
21a649492f Pressing escape hides PreviewUploadOverlay 2021-03-20 11:18:16 +01:00
salahmak
aa0223c041 Pressing return on image upload dialog sends the message 2021-03-15 12:42:17 +01:00
Nicolas Werner
a6f0d2ea7d
Update license headers 2021-03-05 01:04:07 +01:00
Nicolas Werner
c2eea5cb55 Fix mimetype of media messages 2020-11-25 19:05:12 +01:00
Nicolas Werner
a31d3d0816 Add file uploading 2020-11-25 19:05:12 +01:00
Nicolas Werner
bdf1147a80 add a bit of additional logging to image paste 2020-05-18 14:02:54 +02:00
Nicolas Werner
63f3071445 Remove more unneeded headers 2020-01-31 16:25:43 +01:00
Nicolas Werner
cefe5fe719 Fix copy and pasting image from clipboard
If the QMimeData contains an image, it actually has a mime type of
application/x-qt-image. At least in some cases accessing the image/*
data returns a 0 length array. Accessing the data via ->imageData works
however. So we use that as our accessor and pass it to the preview
dialog.
2019-07-22 02:38:44 +02:00
Konstantinos Sideris
adf2019c56 Use QPushButton on the preview modal 2018-09-25 14:41:47 +03:00
Konstantinos Sideris
b5b5faa5ec Consider the scale ratio when scaling down images
fixes #393
2018-08-01 21:10:03 +03:00
Konstantinos Sideris
3d2e29bfa0 Remove pixel values from modals, use pointSize instead 2018-07-22 18:03:12 +03:00
Konstantinos Sideris
0e814da91c Move all files under src/ 2018-07-17 16:37:25 +03:00
Renamed from src/dialogs/PreviewUploadOverlay.cc (Browse further)