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

205 Commits

Author SHA1 Message Date
krepa098
887f021323 FTW: Slightly increased height 2015-02-07 14:38:56 +01:00
krepa098
a8acb05c52 FTW: Don't fire an animation if start- and endcolor are the same 2015-02-07 14:38:12 +01:00
krepa098
d008b53c6f FTW: Use KeepAspectRatioByExpanding 2015-02-07 14:33:45 +01:00
krepa098
6b605fbdc3 FTW: Replaced QPropertyAnimation by QVariantAnimation 2015-02-07 14:02:40 +01:00
krepa098
b9dcb3bd9b cleanup 2015-02-06 16:12:24 +01:00
krepa098
f525fa83f3 Spinner: fade in 2015-02-06 14:04:15 +01:00
krepa098
3c349e29ad cleanup 2015-02-06 14:04:15 +01:00
krepa098
c2ddc91d58 faster, synchronized spinners 2015-02-06 14:04:15 +01:00
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