Commit Graph

820 Commits

Author SHA1 Message Date
Phenom
a0bf49448d Add GroupTreeWidget show header action.
It's not possible to resize them.
Friend's posts column can be shown too to understand sort.
Menu to show column is visible for all type of item.
2021-01-21 15:09:43 +01:00
defnax
55d8ff7b6d Added scrollarea for the avatar/sticker widget to avoid to stretch dialog 2021-01-20 22:25:57 +01:00
defnax
53ab47cf4a Added to use on AvatarWidget on click the Avatar Dialog
* Added to use the Avatar Dialog for the AvatarWidget too
* Fixed the info text
* Update stylesheet for the info frame
2021-01-19 22:30:35 +01:00
Phenom
24ab1d6929 Fix for running with Self-Built Qt
beginRemoveRows(QModelIndex(),0,-1);
Failed because:
void QAbstractItemModel::beginRemoveRows(const QModelIndex &parent, int
first, int last)
{
    Q_ASSERT(first >= 0);
    Q_ASSERT(last >= first);
    Q_ASSERT(last < rowCount(parent));

Last assert is important too.
So prefer use beginResetModel().
2021-01-19 14:25:35 +01:00
defnax
ed228485d0 Added Stickers to load in Avatars Dialog to use a Avatar
* Added function to load stickers in Avatars Dialog to use a Avatars
* Added ZoomableLabel with crop image feature from PR #2236
2021-01-18 23:39:00 +01:00
defnax
17f32db687 Added Dark theme for the graphframe
* Added Dark theme for the graphframe
* Added Combobox for switch
* Added for other graphs the settings
* Added fix by phenom for get stored the configs for the statistics pages
* Removed uneeded line from the toolbar
* New icon for Identities stats page
2021-01-16 12:42:33 +01:00
Phenom
bfb1159ca0 Fix RSElidedItemDelegate 2021-01-15 12:04:02 +01:00
Phenom
480a99b9bb Fix Distant Chat Avatar Status Update 2021-01-14 12:41:02 +01:00
csoler
41a263eccc removed std::unique_ptr in a few places where it made code far too complicated and less easy to debug 2020-12-24 00:45:19 +01:00
csoler
f2b1cccf42 added missing delete in NewFriendList destructor 2020-12-22 22:51:35 +01:00
csoler
1a5a99f076 show last contact and IP on closed profiles to be the data of the most recent node 2020-12-17 21:17:17 +01:00
csoler
733b059571
Merge pull request #2161 from csoler/v0.6-BugFixing_5
V0.6 bug fixing 5
2020-12-15 20:50:14 +01:00
csoler
aad27ff94b renamed "count" to "size" in DirDetails 2020-12-13 20:03:21 +01:00
csoler
d5d0314940 always show empty groups in FriendList so that they still can be deleted 2020-12-05 20:50:36 +01:00
Phenom
457206272c Add Remove Only Selected in Network Keyring. 2020-11-24 15:51:39 +01:00
csoler
24735c2235 fixed keeping sort order in any case in network friend list 2020-11-12 23:44:12 +01:00
csoler
f8721ad60f Merge remote-tracking branch 'upstream/master' into v0.6-BugFixing_2 2020-11-12 23:17:55 +01:00
Phenom
f8d7bd5d74 Fix Save Network Friends Headers Size 2020-11-12 19:02:40 +01:00
Phenom
9dcb4af645 Add View Source in RSTextBrowser 2020-11-10 16:28:15 +01:00
csoler
9a2749dbe5 added flags to invite system to unify the different variables and made sure the HomePage contains at least current IP (not fully tested) 2020-11-09 22:42:28 +01:00
Phenom
bfbee1bdec Add View Source in RSTextBrowser 2020-11-09 15:26:08 +01:00
csoler
d2bd947252 fixed bug due to passing shared_ptr to RsThread::async() without making an explicit copy before 2020-11-08 18:25:20 +01:00
Phenom
47a2a78350 Fix RSTreeView Header first Painting 2020-11-06 11:05:08 +01:00
Phenom
d1c10d3c0e Fix Forum Post Resize
[ ] forums: Clicking on diffent forum items causes changing of the width
of the left pane.
2020-11-04 12:09:50 +01:00
csoler
ca94fba8e3 removed deprecated Send message to whole group feature from FriendList 2020-11-02 20:17:23 +01:00
csoler
a59a9c2650 changed display menu icon to something more appropriate 2020-10-22 22:09:25 +02:00
csoler
c6b6a148ef limit the size of group description in GroupTreeWidget tooltip 2020-10-14 20:44:54 +02:00
csoler
fa627e6347
Merge pull request #2069 from csoler/v0.6-ChannelsGUI
Fixes for channels GUI
2020-10-03 21:09:38 +02:00
csoler
c640fd779d fixed comflicts with upstream 2020-09-27 20:51:05 +02:00
csoler
56f3df6737 removed "0 files" mention 2020-09-26 17:47:09 +02:00
defnax
b84e58aa9a cleanup old icons 2020-09-14 20:53:16 +02:00
csoler
315e7e0b0e
Merge pull request #2025 from chelovechishko/forums_gui
Forums gui
2020-09-11 21:53:52 +02:00
csoler
2e6a87a2ea merged upstream/master 2020-09-11 21:36:45 +02:00
csoler
deaba61eec
Merge pull request #2044 from csoler/v0.6-BugFixing
Fix for crashes in FriendList and FileLists
2020-08-22 21:50:37 +02:00
csoler
daf92ce62c save both column width and column visibility in friend list 2020-08-22 20:46:39 +02:00
csoler
44444207f7 save/restore hidden columns when switching which column is visible in FriendList 2020-08-22 20:23:42 +02:00
csoler
da21a40eda keep expand state when showing/hiding IPs and last connection state 2020-08-22 19:14:46 +02:00
csoler
335cd9a7c2 hack to fix crashes in network list 2020-08-21 18:42:12 +02:00
csoler
7c5bf22931 improved safety of underlying data update for FriendListModel 2020-08-20 18:34:10 +02:00
csoler
76511479af switched all explicit pixmap from files to shared FilesDefs::getPixmapFromQtResourcePath() 2020-08-19 16:19:42 +02:00
csoler
a7db89a9ef
Merge pull request #2042 from csoler/v0.6-ImprovedGUI
V0.6 improved gui
2020-08-18 23:25:51 +02:00
drbob
09c7fdee4b Add proper header path for 'retroshare-gui/' headers
This is simplifies the include directories needed for plugins.
2020-08-18 22:43:45 +10:00
csoler
3b7734c934 uniformise calls to [begin/end]ResetModel() and removed calls to layoutAboutToBeChanged() as it may cause some SIGSEGV 2020-08-16 22:17:54 +02:00
csoler
209355b9a5 converted all calls to QIcon("somefile.png") into FilesDefs::getIconFromQtResourcePath("somefile.png") to save memory duplicated by Qt 2020-08-15 22:17:52 +02:00
csoler
243ba595f0 added missing virtual destructors possibly causing memory leaks 2020-08-15 13:41:21 +02:00
chelovechishko
ee967c2bc0 gxsforums: add id to forum's popup 2020-07-06 13:27:06 +09:00
csoler
07655e287e
fixed cleaning up of search results 2020-07-04 00:05:29 +02:00
csoler
c58aa688d1
fixed proper display of group for context strings 2020-06-25 21:25:22 +02:00
csoler
ba486a0029
multiple improvements in distant channel search and general display of distant search results 2020-06-25 21:15:37 +02:00
csoler
500f572b98
merged with master 2020-06-25 16:53:18 +02:00
G10h4ck
638ef80788
Merge pull request #2018 from G10h4ck/memory_optimization
Reduce memory usage due to copying in RsQThreadUtils::postToObject
2020-06-25 11:30:06 +02:00
Gioacchino Mazzurco
3b37c1e9ad
Remove more copying of big structures in RsQThreadUtils::postToObject 2020-06-24 00:57:16 +02:00
csoler
d39b09c5bc
added zoom of thumbnails on control+wheel 2020-06-23 20:24:14 +02:00
csoler
33da5c06b8
removed multi-callback based distant search result handling, and use rsEvents instead 2020-06-16 21:13:55 +02:00
csoler
baf7b06e4c
fixed double click problem on files 2020-06-06 21:51:40 +02:00
csoler
129ffdd6c5
fixed auto-layout of thumbnails 2020-06-06 19:07:03 +02:00
Phenom
70e2a1a801 Fix qss StyleSheet dark theme item color for gtk users
gtk users can't set Qt system theme.
2020-05-30 12:40:42 +02:00
defnax
180a43150b Fixing Group Tree item text color 2020-05-21 21:58:23 +02:00
defnax
fd6b69bcac
Merge pull request #1943 from PhenomRetroShare/Fix_RsElidedItemDelegateStyleSheet
Fix RSElidedItemDelegate to use StyleSheet as default but defined colors
2020-05-19 19:28:52 +02:00
csoler
d52d9c909b
Merge pull request #1875 from csoler/v0.6-GxsGroup
Add group change notifications (e.g. circle invites, forum moderation, etc)
2020-05-17 22:37:03 +02:00
Phenom
384ae46706 Fix RSElidedItemDelegate to use StyleSheet as default but defined colors
if they are.

If none, use Base Delegate.
2020-05-17 13:27:35 +02:00
csoler
2ad9d86385
Merge pull request #1933 from PhenomRetroShare/Fix_RsElidedItemDelegateAbs
Fix RSElidedItemDelegate abs to use std one.
2020-05-12 23:07:08 +02:00
csoler
e6edae27be
Merge pull request #1922 from PhenomRetroShare/Fix_SomeWarnings
Fix some warnings
2020-05-12 23:05:34 +02:00
Phenom
ba7a4db934 Fix RSElidedItemDelegate abs to use std one. 2020-05-12 19:56:11 +02:00
Phenom
e492945612 Add more color for quotted text. 2020-05-12 03:06:01 +02:00
Phenom
c6350ff044 Fix GroupTreeWidget with RSElidedItemDelegate for StyleSheet. 2020-05-10 18:42:24 +02:00
csoler
8f12dd6322
fixed bug in chat room notify 2020-05-10 13:33:20 +02:00
csoler
6f6e0de5f1
merged with upstreamm/master 2020-05-09 22:33:27 +02:00
csoler
df92000147
Revert "Fix GroupTreeWidget with RSElidedItemDelegate for StyleSheet." 2020-05-09 21:49:13 +02:00
Phenom
826e969fae Fix GroupTreeWidget with RSElidedItemDelegate for StyleSheet. 2020-05-09 14:43:45 +02:00
Phenom
e3846f981c Fix warning: control reaches end of non-void function
../../../trunk/retroshare-gui/src/gui/common/FriendListModel.cpp: In
member function ‘QVariant RsFriendListModel::displayRole(const
RsFriendListModel::EntryIndex&, int) const’:
../../../trunk/retroshare-gui/src/gui/common/FriendListModel.cpp:716:1:
warning: control reaches end of non-void function [-Wreturn-type]
  716 | }
      | ^
2020-05-09 14:34:48 +02:00
Phenom
0eaa121457 Fix RsElidedItemDelegate for StyleSheet
Now StyleSheet is applied well.
2020-05-04 11:35:33 +02:00
Phenom
b6b581f4b0 Fix NewFriendList delete by Keyboard 2020-04-30 10:29:15 +02:00
csoler
f5af7dfeb3
fixed up top bar tooltips to display what the numbers actually mean 2020-04-27 21:56:43 +02:00
csoler
80b7f2a3cd
fixed loading of already selected ids in FriendSelectionDialog and automatically display existing GxsGroupDialog moderators 2020-04-27 17:00:13 +02:00
csoler
5120f693be
Merge pull request #1859 from csoler/v0.6-ImprovedGUI_4
Making channels faster to load
2020-04-21 19:30:49 +02:00
csoler
5b761c72ba
removed debug info 2020-04-19 21:07:53 +02:00
csoler
02e939ac8f
replaced a bunch of explicit icons, mostly in abstract items models, by cached ones 2020-04-19 17:41:13 +02:00
csoler
c84016c3b0
force Qt to use implicit data sharing in icons and pixmaps by using our own cache, and apply this to GxsChannelPostItem 2020-04-19 13:10:30 +02:00
Gioacchino Mazzurco
37854c8f23
Fix compiler error on 32bit platforms 2020-04-14 12:26:21 +02:00
Gioacchino Mazzurco
4c0baa1ec3
Fix JSON API event handler registering behavior
As a bonus the behaviour is now homogeneous between C++ API and JSON API
Fix a bunch of compiler warning
RsEvents implementation is now safer
mHandlerMaps size is known at compile time, so use an std::array instead
  of vector
2020-04-14 12:24:57 +02:00
Gioacchino Mazzurco
55d466f79b
Initial work on RsFiles links support in libretroshare 2020-04-14 12:17:01 +02:00
defnax
eb96350a5f cleanup & remove old icons with new one 2020-03-03 16:26:47 +01:00
csoler
5ccc59e2ea
removed TokenQueue from FriendSelectionWidget 2020-02-29 23:07:01 +01:00
csoler
737b846e23
Merge branch 'master' into v0.6-FT4 2020-02-22 21:11:00 +01:00
csoler
bb498c3dc0
Merge pull request #1803 from defnax/removed-old-unused-icons
Removed old unused icons
2020-02-22 17:47:32 +01:00
csoler
0f045b4f6b
Merge pull request #1800 from cyisfor/master
Increase maximum avatar size to 96 to avoid blurriness in chats
2020-02-22 17:26:06 +01:00
defnax
bb22b03b62 removed old icons & restored few back 2020-02-22 15:41:34 +01:00
csoler
61083ff77a
fixed elided label when size is too small to draw anything 2020-02-18 11:07:41 +01:00
csoler
09c5d93631
moved elided label paint method to static so that it can be used by other item delegates 2020-02-18 10:50:55 +01:00
Cy
718ad1c531
Increase maximum avatar size to 96 to avoid blurriness in chats 2020-02-17 22:13:38 +00:00
csoler
8e153b4acc
started removal of GxsBroadcastBase class 2020-02-06 19:57:23 +01:00
csoler
0cdce37af4
added proper unregister calls in destructors of classes that register a event handler 2020-01-31 22:37:21 +01:00
csoler
c75d372f24
merged upstream/master 2020-01-17 22:16:24 +01:00
csoler
5df7f7667f
fixed crash in NewFeed when attempting to find a widget using its identifier 2020-01-16 20:33:34 +01:00
csoler
c552890459
attempt to sort out the mess in item deletion in FeedHolder widgets 2020-01-14 21:43:29 +01:00
csoler
2bd5bb5a3e
fixed merge with master 2020-01-11 00:08:36 +01:00
Gioacchino Mazzurco
c96223a2a8
Merge "Switched security items to new notification system #1735" csoler-v0.6-SecNotification 2020-01-06 15:09:06 +01:00
csoler
c544b1da7c
changed RsEvents so that it takes event types when registering handlers, which limits the number of handlers called for each event 2019-12-29 13:50:54 +01:00
hunbernd
15ac7eecc8 Cache sticker icons 2019-12-26 00:01:14 +01:00