Commit Graph

86 Commits

Author SHA1 Message Date
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
defnax
b7cd4c0627 connect PrintButton when not use the menu
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2437 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-26 16:59:24 +00:00
csoler
7691f8aee9 added missing NetworkWide flag to download from recommendation
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2415 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-24 14:27:12 +00:00
csoler
92dbbe8f99 corrected bug in MessageDialog: friendly size was could not be properly converted into a real file size. We should not use it.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2414 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-24 14:25:23 +00:00
defnax
4a5a281424 added clear Filter Button
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2315 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-14 12:29:50 +00:00
defnax
23b2a9cce0 fixed able again hide/show the Messages Filelist, used now signal/slots in ui.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2307 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-14 00:38:03 +00:00
defnax
6c7ce4f3e2 fixed items not editable and added again a splitter
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2302 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-13 22:13:13 +00:00
nishant
5e9e342bc9 tree widget converted to tree view in MessageDiwalogue and other fixes
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2300 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-13 18:49:56 +00:00
defnax
d40983109b changed the Date Format to dd.MM.yyyy for Messages
changed font for Subject Label

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2144 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-28 12:56:17 +00:00
defnax
e42bea40cf Display From Label as Link
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2136 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-26 23:41:02 +00:00
defnax
d8a8f041ce changed Column order ,set Subject Label bold
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2129 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-25 23:58:48 +00:00
defnax
c86196e8fa save and load ToolButtonStyles
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2122 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-25 12:44:12 +00:00