Commit Graph

97 Commits

Author SHA1 Message Date
thunder2
5b1fae0123 all messages in MessagesDialog are now editable from context menu or with double click
changes from defnax with some corrections from me

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3135 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-14 18:16:32 +00:00
defnax
1d4a02141f Added to use only one Label for Total Count, count selected Box on Total Label
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3114 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-12 15:11:42 +00:00
thunder2
342768e626 improvements messages:
- save msgId in configuration file
- enable previous improvements read/unread state and tags

new function for creating backups of a file
bool createBackup (std::string sFilename, unsigned int nCount = 5);

currently its only available for windows compile. maybe there is a linux developer who change it for linux.


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3064 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-04 23:39:33 +00:00
defnax
dd7e074791 added TabWidget to Messages
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3058 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-03 23:41:46 +00:00
thunder2
08ea7232f7 bugfix in MessageDialog, rs could crash when removing two or more messages at once
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3057 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-03 22:12:07 +00:00
thunder2
f06ed5fbed the default tags can be reset to standard in the settings
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3053 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-02 12:11:09 +00:00
defnax
141fdbe6fe reorder the default tags
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3052 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-02 00:26:15 +00:00
defnax
d7816689e4 added for tag list items default folder icon
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3051 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-01 23:27:34 +00:00
thunder2
7c73ecef47 improvements MessagesDialog:
- filled tag list and filter the messages after the selected tag
- state of tag list is saved in settings

bugfix MessagesDialog:
- remove tag with uncheck of menu item

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3048 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-01 22:14:52 +00:00
defnax
647c08c8da Added Folders and Tags Header Buttons, and moved "Total Inbox" and "Total Sent" to the Bottom into a QLabel.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3043 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-31 21:27:57 +00:00
thunder2
3fdd570f62 the tags are colored in the menu with style cleanlooks
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3033 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-30 00:00:15 +00:00
defnax
6dd4e0e617 fixed wrong spelling
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3021 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-28 17:29:21 +00:00
thunder2
c8a805b8e7 added trash in msgservice and trash folder in MessagesDialog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3020 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-28 14:42:54 +00:00
thunder2
5b4985e3d3 tag feature in MessagesDialog
its disabled until the msgId is static

uncomment the define STATIC_MSGID in MessagesDialog.h for testing 

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3010 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-27 19:48:52 +00:00
defnax
79688674ec changed Messages Context menu order
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3006 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-26 15:20:31 +00:00
thunder2
12af62d54f disabled the new read/unread state in MessagesDialog
reason: the member msgId is not static yet

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2996 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-25 12:05:14 +00:00
thunder2
b0c1467abe improvement MessagesDialog:
- enabled draft box

bugfix MessagesDialog:
- correct from and to in list and message header

changes MessageComposer:
- cleaned channel part


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2994 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-25 09:32:14 +00:00
defnax
1fb7fb005c rename class and source ChanMsgDialog to MessageComposer
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2978 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-23 19:13:41 +00:00
defnax
75349f4fe8 fixed to use ", " instead ";" to for distance to next peer name
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2977 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-23 18:31:40 +00:00
defnax
718ed562ca set for Attachments column to display a icon and fixed size
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2976 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-23 18:17:08 +00:00
thunder2
cef2c1218f improvements MessagesDialog:
- new read/unread state - stored locally
- show all recipients in Outbox, Sentbox and Draftbox


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2975 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-23 17:21:30 +00:00
thunder2
6baf56285b reworked settings
now there is only one global object for loading and saving settings

RshareSettings *Settings;

the class RSettings can be used too, but it is not prefered, because the default settings has no affect

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2964 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-20 21:53:27 +00:00
thunder2
8673924374 removed unnecessary method
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2950 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-19 19:44:06 +00:00
thunder2
4cf10ee99a fixed compiling error, damn case sensitive file names
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2947 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-18 22:41:44 +00:00
thunder2
71b3783a9a improved MessagesDialog:
- saved state of files view, filter column, state of message tree and splitter position
- initial selection of inbox
- new filter mode: content

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2946 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-18 22:37:18 +00:00
thunder2
c3c6480f4b changed the usage of "QMenu*" to a local "QMenu"
removed usage of "new QMouseEvent", it was a memory leak
cleaned some includes

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2910 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-14 20:55:44 +00:00
thunder2
84a87fa11b New methods for calculating the count of peers and messages. It should be faster than getting all data in std::list.
Now used in MainWindow.cpp, MessagesDialog.cpp and peerstatus.cpp

void p3Peers::getPeerCount (unsigned int *pnFriendCount, unsigned int *pnOnlineCount);
void p3Msgs::getMessageCount(unsigned int *pnInbox, unsigned int *pnInboxNew, unsigned int *pnOutbox, unsigned int *pnDraftbox, unsigned int *pnSentbox);


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2898 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-13 19:20:40 +00:00
thunder2
0c46da0dd2 Changed settings to local variable, no more as pointer on all classes.
RshareSettings settings;
settings.value(...);

It should lower memory usage and removes memory leaks.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2886 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-11 20:02:52 +00:00
thunder2
c5cebce587 MessagesDialog:
- columns in messages list in MessagesDialog changed to defines
- fixed sort of a non date column with same id, date is used as second compare

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2884 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-10 19:55:59 +00:00
thunder2
f239e7e4d4 Improved MessagesDialog:
- corrected calculation of message counts
- p3MsgService::checkOutgoingMessages -> notify when message was sent
- refill of message list without clear, selected messages and scroll position are not changed
- corrected sorting of date with only time for today
- changed context menu in message list

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2863 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-07 22:23:38 +00:00
thunder2
aae947ecd8 Workaround for erroneously accept of Qt::Key_Delete on QAbstractItemView
see http://bugreports.qt.nokia.com/browse/QTBUG-8270

solved for PeersDialog, MessagesDialog and TransfersDialog


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2858 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-06 14:39:50 +00:00
thunder2
fb58beef4f Source code maintenance
Memory leaks:
- PeersDialog::insertPeers -> takeTopLevelItem, takeChild

- activate correct page on creating a new forum or channel from PeersDialog (problems with RS_RELEASE_VERSION)
  new static method to activate a page MainWindow::activatePage

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2842 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-03 00:09:55 +00:00
defnax
caaf7884f8 When QutBox is selected then Display header item "Recipient" instead of "From"
Added to Count Total Inbox and Total Sent on Messages.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2813 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-04-28 21:05:11 +00:00
thunder2
9d5db08b7a MessagesDialog:
- enabled navigation through the messages with cursor keys
- used timer for better handling after keypress

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2804 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-04-27 21:46:28 +00:00
thunder2
906cca8012 Forwarding a message keep the attached recommended files.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2788 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-04-26 21:11:19 +00:00
defnax
a79c5eca10 Fixed to display when Peer name is not avaible with a default string.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2663 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-29 15:27:37 +00:00
defnax
128f3dd454 removed comma display on To Label, wont work properly
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2662 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-29 13:39:23 +00:00
nishant
12536efd16 sorting on date in messages and showing time only for same day messages
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2659 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-28 19:48:32 +00:00
defnax
8971102bde Fixed some labels font display problem
Improved Display Messages Labels: From,Date,Subject,To, redesign the To Label to display it more user friendly

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2653 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-28 15:56:38 +00:00
nishant
27c2382d8c bug fixed for deleting selected messages
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2652 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-28 15:03:20 +00:00
defnax
904ecffe1f Count unsend Messages
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2649 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-27 18:08:43 +00:00
defnax
a58d8aa5f6 Fixed: enabled translation for Hide/Expand Button in Messages
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2628 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-24 23:40:46 +00:00
defnax
11a8a71204 restored wrong changes
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2617 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-24 13:05:57 +00:00
defnax
210a9e9c0c fixed frame header stretching in Messages
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2615 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-24 10:52:52 +00:00
defnax
8a5863af1d fixed to display filesize formated in Messages
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2613 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-23 13:27:36 +00:00
csoler
a657def956 cleaned the RS link code, factorized the parsing into a single class. Still missing: copy/paste of multiple links
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2514 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-10 21:38:26 +00:00
defnax
759ae94033 set a item foreground color for Inbox when get a new message, set gridsize for listwidget to 18
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2475 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-03 16:22:32 +00:00
defnax
c18196ec3d fixed timestamp
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2452 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-27 18:51:59 +00:00
defnax
34735c9668 when message timestamp is less then 24 hours then use this format "hh:mm:ss" else "dd.MM.yyyy hh:mm:ss"
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2451 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-27 18:40:16 +00:00
defnax
1fd4bfd342 update script and added a spacer when counting Messages
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2448 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-27 12:45:09 +00:00