1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00
Commit Graph

447 Commits

Author SHA1 Message Date
krepa098
1e2f801dfe Spinner: lowered rotational speed 2015-02-05 10:13:37 +01:00
krepa098
f5cf9677ae FTW: don't display "Location not writable" if path is empty 2015-02-05 09:59:47 +01:00
krepa098
5e4e56778b FTW: color animation 2015-02-04 17:21:56 +01:00
krepa098
633ca9c3ac cleanup 2015-02-04 15:36:45 +01:00
krepa098
6cf3f9e1c2 fix bbox calculation 2015-02-04 15:36:26 +01:00
krepa098
09291bad52 fix crash on exit 2015-02-04 09:52:55 +01:00
krepa098
7321127794 set the correct wrap mode 2015-02-03 22:06:31 +01:00
krepa098
bc21af4fa2 ChatLog: don't start the resize worker if the width doesn't change 2015-02-03 17:28:42 +01:00
krepa098
e4c52e6118 use QPainter::setClipRect 2015-02-03 16:17:37 +01:00
krepa098
5c01f1585b change color for precise selection on focus-in/out 2015-02-03 10:33:46 +01:00
krepa098
8d7a32f4ec selection rect: change color on focus-in/out, action cleanup 2015-02-02 18:11:29 +01:00
krepa098
39b2771b8d tweaked ChatLog::getSelectedText 2015-02-02 15:05:27 +01:00
krepa098
e67db1575d fixup! Merge branch 'master' into chatlog_v3_1 2015-02-02 14:50:06 +01:00
krepa098
53ba982203 optimizations and tweaks 2015-02-02 11:11:09 +01:00
krepa098
f15b9da1e1 fix a render artifact 2015-01-31 19:19:13 +01:00
krepa098
f288fe5c1e tweaks 2015-01-31 18:37:20 +01:00
krepa098
740d62ec49 change ChatLine::isVisible to false, rename Text::isVisible to
Text::keepInMemory
2015-01-31 18:12:51 +01:00
krepa098
2206db1406 comparators should be public 2015-01-31 17:50:35 +01:00
krepa098
1d6f3858d9 renamed ChatLine::boundingSceneRect to ChatLine::sceneBoundingRect 2015-01-31 17:49:19 +01:00
krepa098
6a50add547 ChatLineContent: removed boundingSceneRect() 2015-01-31 17:46:25 +01:00
krepa098
5668606159 Speed-up rendering 2015-01-31 17:39:25 +01:00
krepa098
7ec54c972c set ChatLine::isVisible to true 2015-01-31 17:32:41 +01:00
krepa098
ebebde1b09 use QSize instead of QSizeF, cleanup 2015-01-27 11:20:35 +01:00
krepa098
cfe4458d37 Moved status messages back to the left 2015-01-27 10:52:23 +01:00
krepa098
ce486eb1b3 FileTransferWidget: visual tweaks 2015-01-27 10:49:18 +01:00
krepa098
57485368cb fix showEvent calling centerOn 2015-01-27 09:58:08 +01:00
krepa098
f509e07c45 make use of EmojiFontPointSize (fix #1026) 2015-01-26 23:19:18 +01:00
krepa098
a558733507 ChatLog::selectAll, refactoring of actions (issue #808) 2015-01-26 19:32:33 +01:00
krepa098
ecf15a6ca3 fix regression: chatlog didn't scroll to bottom on startup 2015-01-26 19:15:29 +01:00
krepa098
0442db2bae reposition busy notification *after* resize 2015-01-26 19:01:18 +01:00
krepa098
bbd20496fd specify background brush 2015-01-26 17:12:22 +01:00
krepa098
5be6caca68 [HiDPI] ChatLog: replaced all .png by .svg, FTW custom paintEvent
This does not enable HiDPI support!

issue #975
2015-01-26 14:01:42 +01:00
krepa098
a418ae3df6 use html <center> instead of ColumnFormat::Center 2015-01-25 15:59:44 +01:00
krepa098
cae965e750 ChatMessage::createChatInfoMessage: use toHtmlChars 2015-01-25 15:53:13 +01:00
krepa098
6719ebebae Added Timestamp class, moved output generation while saving to
GenericChatForm and changed the generated layout
2015-01-25 14:34:36 +01:00
krepa098
6e05782fb7 ChatLog: busy-screen during resize
Gets rid of most ugly hacks
2015-01-25 14:06:06 +01:00
krepa098
9cb7ba06ed cleanup 2015-01-21 15:58:43 +01:00
krepa098
ad39251166 typo 2015-01-20 11:51:34 +01:00
krepa098
d0bd6e9dca show 2 decimals starting from MiB 2015-01-20 11:08:40 +01:00
krepa098
2fa2fc1df5 fix divide by zero 2015-01-20 11:07:40 +01:00
krepa098
13e0a8a292 cleanup 2015-01-20 10:55:51 +01:00
krepa098
5d5a0903f7 renamed get/setRowIndex to get/setRow 2015-01-20 10:31:50 +01:00
krepa098
bb29536df1 NotificationIcon 2015-01-19 19:04:19 +01:00
krepa098
b5b6ae99c0 Text: extractSanitizedText, hookup double-click selection 2015-01-19 17:56:37 +01:00
krepa098
1fd456833c Merge pull request #3 from dubslow/chatlog_v3_1
minor code cleanup
2015-01-19 15:25:22 +01:00
krepa098
34c7c7250b double-click selection 2015-01-19 15:19:54 +01:00
krepa098
a6e3fc671e removed selectAll() 2015-01-19 15:07:15 +01:00
krepa098
85764d5973 Text: Do not rely on QTextCursor for selection 2015-01-19 15:04:11 +01:00
krepa098
f17ffdc491 cleanup 2015-01-19 11:14:53 +01:00
krepa098
2c8e7c638d nice! 2015-01-19 10:08:43 +01:00
krepa098
691a8b0b71 fixed potential null deref. & memory leak 2015-01-19 10:07:51 +01:00
Dubslow
44921db440
minor code cleanup 2015-01-18 13:57:51 -06:00
krepa098
2914a9883c ChatMessage::createTypingNotification, resized images to 18x18, new
(spinning) notification icon
2015-01-18 12:20:13 +01:00
krepa098
16812633cb extended spinner class 2015-01-18 12:17:21 +01:00
krepa098
9df5200fc9 update typing notification on resize 2015-01-18 12:15:02 +01:00
krepa098
b4f53944cc FileTransferWidget: calculate mean 2015-01-18 11:51:48 +01:00
krepa098
4d5470710a createChatInfoMessage: increase icon size from 16 to 20 px 2015-01-17 12:09:13 +01:00
krepa098
ee902ee1b0 don't forget to reposition the typingNotification on insertChatline* 2015-01-17 11:35:09 +01:00
krepa098
e85ff58223 refactoring 2015-01-17 11:31:57 +01:00
krepa098
b4fa8323af refactoring, reverted ChatLog::getVisibleRect 2015-01-15 11:48:41 +01:00
krepa098
1ae3999576 FileTransferWidget::acceptTransfer: Regression - check whether the path
is NOT writable
2015-01-15 10:14:26 +01:00
krepa098
a0693c2fc9 tweaked ChatLog::getSelectedText
*Actions are copied as "*name action*"
*SystemInfoMessages are not copied
2015-01-14 20:31:40 +01:00
krepa098
3478a5c794 refactoring 2015-01-14 20:13:41 +01:00
krepa098
13746f5c38 More pleasant multi-line selection, refactoring 2015-01-14 20:10:17 +01:00
krepa098
3be99ae663 comments 2015-01-14 18:22:42 +01:00
krepa098
437282b80c Don't stick to bottom if the user scrolls while the worker is still
running
2015-01-14 11:27:52 +01:00
krepa098
4930b32641 fixed chatlog not scrolling to bottom after resize 2015-01-14 10:56:44 +01:00
krepa098
bde32d2171 cleanup 2015-01-14 10:34:52 +01:00
krepa098
fb0c372c81 cleanup 2015-01-13 23:59:38 +01:00
krepa098
29fc6ab03f FileTransferWidget: use baseName instead of completeBaseName + tweaked
autoAccept
2015-01-13 21:52:19 +01:00
krepa098
62b4b83106 tweaked FileTransferWidget min size 2015-01-11 12:04:35 +01:00
krepa098
85568337e3 cleanup 2015-01-11 12:02:24 +01:00
krepa098
f574a43581 FileTransferWidget: fixed autoaccept 2015-01-11 11:57:33 +01:00
krepa098
3bb52e5538 tweaks, colorize the blue * in /me 2015-01-10 22:21:33 +01:00
krepa098
904627e50a moved typing notifications to ChatLog 2015-01-10 11:57:46 +01:00
krepa098
95dca34865 cleanup 2015-01-09 15:50:23 +01:00
krepa098
ed65261e37 Text: copy image keys 2015-01-09 15:50:13 +01:00
krepa098
d21a00e8d5 cleanup 2015-01-09 15:48:58 +01:00
krepa098
39d2bbb341 towards better scrolling
Experimental changes!
Known bug: Scrolling gets extremly slow while the cursor is inside
qTox's main window.
Cause: Unknown.
2015-01-07 15:03:02 +01:00
krepa098
debe6903a3 faster scrolling, more cheating 2015-01-07 13:05:28 +01:00
krepa098
1274c213d0 Revert "[test] use BspTreeIndex (might be slower?)"
This reverts commit b92d4f3d2f.
2015-01-06 20:22:30 +01:00
krepa098
1bf0898121 optimized ChatLog::getContentFromPos 2015-01-06 17:47:57 +01:00
krepa098
b92d4f3d2f [test] use BspTreeIndex (might be slower?) 2015-01-06 15:38:05 +01:00
krepa098
e2d7dd815b [test] use std::vector rather than QVector
might be faster because std::vector doesn't do implicit sharing
2015-01-06 15:10:37 +01:00
krepa098
0a6bd85308 speed up ChatLine::moveBy 2015-01-06 14:58:50 +01:00
krepa098
b82c5835ce error symbol 2015-01-06 14:30:24 +01:00
krepa098
e365b0eb2d FileTransferWidget: limit browse to pics and archives 2015-01-06 13:58:42 +01:00
krepa098
9793ebd094 renamed deltaRepos to deltaY 2015-01-06 10:37:07 +01:00
krepa098
af575c09e6 cache innerStyle as it gets used frequently 2015-01-06 10:28:15 +01:00
krepa098
82746dc050 fixed first message not getting displayed properly 2015-01-06 10:27:03 +01:00
krepa098
4f01f5ec0e refactoring 2015-01-05 14:06:14 +01:00
krepa098
960ebecc4e hopefully less noticeably partial updates 2015-01-05 10:59:56 +01:00
krepa098
77fe3f7256 ChatLog::insertChatlineOnTop: overload taking a list 2015-01-05 10:51:01 +01:00
krepa098
bc97948be7 changed output of ChatLog::toPlainText 2015-01-04 20:24:56 +01:00
krepa098
27e967b67e cleanup 2015-01-04 19:58:14 +01:00
krepa098
12a1fa1549 ChatLog: insertChatlineAtBottom, refactoring 2015-01-04 19:28:27 +01:00
krepa098
b09805f9bf refactoring 2015-01-04 18:21:35 +01:00
krepa098
a74b9ce11c ChatLog: Autoscroll while selecting 2015-01-04 15:18:23 +01:00
krepa098
64024c77a6 Moved the context menu to GenericChatForm 2015-01-04 14:21:05 +01:00
krepa098
03ea61079b ChatLine/ChatMessage: use shared_ptr 2015-01-04 13:29:14 +01:00
krepa098
ea467152aa filetransferwidget: fixed pause button, ETA, font size, resource usage 2015-01-04 12:04:30 +01:00
krepa098
f630583e59 cleanup 2015-01-03 21:20:51 +01:00
krepa098
b3507152eb fixed eliding (ie. invisible nicknames) 2015-01-03 21:19:28 +01:00
krepa098
d04a79a599 ChatLine: cell spacing 2015-01-03 20:37:40 +01:00
krepa098
99a230ccf5 cleanup 2015-01-03 19:06:10 +01:00
krepa098
698fcb70f0 check "use emoticons" 2015-01-03 19:05:38 +01:00
krepa098
a0a56e32a0 fix no visible line case 2015-01-03 15:32:12 +01:00
krepa098
2938702c1e refactoring, fixes 2015-01-03 15:03:33 +01:00
krepa098
d7f5068fbf quoting support, toHtmlChars, fixes 2015-01-03 13:52:56 +01:00
krepa098
f3d5b4bb57 fixed anchors 2015-01-03 13:20:53 +01:00
krepa098
2ee1363be5 don't set cache mode 2015-01-03 10:24:12 +01:00
krepa098
1945bcc1f6 don't use DesignMetrics 2015-01-03 10:24:04 +01:00
krepa098
40cc14bd44 respect time format 2015-01-03 10:21:50 +01:00
krepa098
96789182cf chatlog: Don't accept drops 2015-01-03 10:21:05 +01:00
krepa098
5ae111e7c4 chatline: set row and col number 2015-01-03 10:20:53 +01:00
krepa098
b0c3b4032f chatlog: save chat log 2015-01-03 10:20:40 +01:00
krepa098
1c653c5f65 filetransferwidget: use CroppingLabel 2015-01-03 10:20:29 +01:00
krepa098
3c9e071a39 chatlinecontentproxy: scaling behaviour 2015-01-03 10:20:05 +01:00
krepa098
4997788b13 fix selection 2015-01-03 10:19:54 +01:00
krepa098
eecd886745 filetransferwidget layout changes 2015-01-03 10:19:41 +01:00
krepa098
f1f42fc237 innerStyle, groupchats 2014-12-31 13:42:06 +01:00
krepa098
7a4af239b0 Text: toHtmlChars 2014-12-31 09:59:35 +01:00
krepa098
3190530686 filling the gaps 2014-12-13 21:11:03 +01:00
krepa098
380d7b9a07 Text: detect anchors 2014-12-10 19:56:08 +01:00
krepa098
170e2e6e29 Text: selection use fuzzy hit 2014-12-10 19:31:27 +01:00
krepa098
fd7fe15e31 renamed firstLineVOffset to getAscent 2014-12-10 16:45:12 +01:00
krepa098
0692c484f0 adjusted Image, Spinner, ChatLineContentProxy vOffset 2014-12-10 16:42:12 +01:00
krepa098
2003f7c5aa Text: use ascent rather than height 2014-12-10 16:35:07 +01:00
krepa098
26718f7147 cleanup 2014-12-10 10:59:10 +01:00
krepa098
ba24da3184 filetransferwidget.ui: reverted margins. chatlinecontentproxy: calculate
firstLineVOffset
2014-12-10 10:57:09 +01:00
krepa098
b6fd9ed02e chatline: fixed bbox height calculation 2014-12-10 10:41:22 +01:00
krepa098
5ae506fe3b filetransferwidget: added open (browse?) button, fixed layout 2014-12-10 10:35:56 +01:00
krepa098
0f2a339a98 margins, update selection rect during resize 2014-12-09 21:47:25 +01:00
krepa098
2b20a23c3d changed color of selGraphItem 2014-12-09 19:24:01 +01:00
krepa098
661a8c4da4 revisited selection 2014-12-09 13:17:08 +01:00
krepa098
c91b7cb03c don't depend on valid cursur 2014-12-09 13:11:42 +01:00
krepa098
a1cfbeffcb removed ChatLine vAlignCol 2014-12-08 22:08:23 +01:00
krepa098
fdee08df32 ui tweaks 2014-12-07 20:52:01 +01:00
krepa098
3a567d962e more work on filetransferwidget 2014-11-17 20:08:55 +01:00
krepa098
27cb075dbb hooked up filetransferwidget 2014-11-17 16:05:14 +01:00
krepa098
1cf9fe3474 filetransferwidget: first steps 2014-11-16 20:01:37 +01:00
krepa098
4ea21c2d19 (c) 2014-11-16 12:58:43 +01:00
krepa098
fd1063eb2c bye bye base64 emoticons 2014-11-16 12:52:53 +01:00
krepa098
74bd802863 progress 2014-11-16 12:40:44 +01:00
krepa098
808f8b1cc5 progress 2014-11-13 18:27:32 +01:00
krepa098
3a34678900 progress 2014-11-12 16:45:24 +01:00
krepa098
de52bad1db initial commit 2014-11-12 14:11:25 +01:00