Commit Graph

42 Commits

Author SHA1 Message Date
thunder2
6dbcc3e99b Code maintenance for Qt 5:
- Added new options to retroshare-gui.pro for Qt 5
- Added new file QtVersion.h with macros to compile with Qt 4 and Qt 5
  - QHeaderView::setResizeMode -> QHeaderView::setSectionResizeMode
  - QHeaderView::setMovable -> QHeaderView::setSectionsMovable

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6849 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-19 13:25:06 +00:00
csoler
6e60be0ef7 fixed bug in ShareManager causing directory flags to be set on wrong directory after sorting
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5955 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-12-09 15:00:50 +00:00
defnax
bf70038ad2 - Fixed HeaderFrame icon to use correct one (Share Dialog)
- Change Header Text/ Window Title when Share Dialog is in Edit mode.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5943 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-12-05 10:27:54 +00:00
csoler
e6563eba52 removed debug output
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5846 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-19 21:28:12 +00:00
csoler
14a8bb8283 fixed bug preventing share manager to modify more than one directory at once
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5845 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-19 21:19:44 +00:00
csoler
4e2f454907 reduced calls to flags/group update code to the minimum, to avoid sending file lists except when the share manager / share dialog gets closed
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5822 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-14 22:56:25 +00:00
thunder2
59ed165c81 Saved group ids instead of group names for the group-based file permissions.
Translated group names in Share Manager.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5796 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-09 00:46:41 +00:00
csoler
6edb9eb4f8 Merged branch that provide group-based file permissions.
Now users can sort peers into groups in the friend list, and attribute flags and parent groups to the
directories in the share manager.

Flags are B-B-N, meaning in order:
- browsable for peers in the parent groups
- browsable for everyone
- network wide for everyone
Backward compatibility makes previously BN flags been interpreted as -BN, meaning browsable/network wide for everyone.

Be careful with this new feature. It has been tested, but it's a bit early to rely on it for highly sensitive data.

The merge also includes a significant improvement of the naming of flags with incompatible types
which should sort out some existing bugs as well, since inconsistencies in flag usage have been
found during the process.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5787 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-07 20:03:16 +00:00
thunder2
9b5ee85fd0 Removed context help button from the dialogs (currently not used) and added minimize/maximize buttons to the "floating" dialogs.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5786 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-06 23:26:47 +00:00
csoler
d77c73adf4 loading/saving parent groups for directories.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-FileSharingPermissions@5770 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-03 15:25:25 +00:00
csoler
e753f22909 fixed flags conflicts
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-FileSharingPermissions@5758 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-02 13:52:29 +00:00
csoler
03d4936b12 improved display in share manager. Updated RemoteDirModel to show groups.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-FileSharingPermissions@5706 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-10-21 19:39:56 +00:00
csoler
56e26ba00a First bit of group sharing permissions
- Added icons for share flags
- added new class to handle sharing permission widget
- Updated share manager
to be continued...



git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-FileSharingPermissions@5701 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-10-21 14:06:33 +00:00
defnax
f9d911fdfb Added 64 size icons
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5483 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-29 16:19:27 +00:00
thunder2
3f2ab9259d Added new base class HeaderFrame - image and text at top of the windows.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5464 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-24 10:49:08 +00:00
thunder2
f952bc267b Beautified RsCollectionDialog.
Fixed german language.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4670 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-11-13 13:58:39 +00:00
thunder2
0f51b7d72f Set inititial sizes of the splitter and columns in FriendsDialog and SearchDialog.
Fixed height of the MainWindow when GetStartedDialog is visible.
Fixed the initial size of the ShareManger and show the checkboxes for the share mode centered.
Fixed german language.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4569 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-08-15 23:42:07 +00:00
thunder2
70d02c718d Removed unused parameter warnings in retroshare-gui.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4559 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-08-12 14:06:29 +00:00
thunder2
f29b41f303 Enabled drag and drop in ShareManager to add folders to the share.
Fixed german language.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4172 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-26 23:38:29 +00:00
defnax
2ef645b6a5 Added a icon for Edit Action in ShareManager
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3528 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-23 21:08:22 +00:00
thunder2
831c73dd9d Added edit of shared folders. The change of the virtual name results in a rehash of the shared folder.
Save and restore the position of the ShareManager window.
Fixed german translation.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3513 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-18 16:05:32 +00:00
thunder2
ed737e2c9f Fixed umlauts (utf8) in Windows. Changed some parameters to reference pointer. Added virtual folders to the lib.
Recompile needed.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3509 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-17 18:27:30 +00:00
leander-256
4bb4fc11e2 This intimidating patch renames libretroshare/src/rsiface/ to
libretroshare/src/retroshare/

All the relevant headers have been modified to reflect that change.

This allows installation of libretroshare on a system, headers will
be put in $WHEREVER/retroshare/ and we keep the ability to compile
against them, be it on the system or in the SVN tree.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3342 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-06 09:40:23 +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
defnax
e5667a915d fixed bug with ShareDialog loading
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2894 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-13 12:11:03 +00:00
csoler
0773e92f85 Ported patch from thunder2 (http://sourceforge.net/tracker/index.php?func=detail&aid=2991827&group_id=178712&atid=886241)
- Bug fix: Checkbox for automatic share of the incoming directory doesn't correctly set with setDown, use setChecked
- ShareManager and RSettingsWin doesn't need to be created all the time
- RSettingsWin: Save the last active page for the current runtime
- ShareManager and DirectoryPage: Show changed shared directories direct after the change




git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2777 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-04-24 22:09:47 +00:00
defnax
92df7037b2 Added ShareDialog for ShareManager
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2693 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-04-08 16:33:10 +00:00
csoler
b000245ef5 merged branch 0.5.0 commits 2576, 2579, 2581-2583 into trunk
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2592 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-21 21:07:12 +00:00
defnax
f400d8f4cc fixed sharemanager closing
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2508 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-09 22:42:39 +00:00
defnax
d0a772f5d9 use QPushButton for some dialogs fixes translation problems, QButtonBox default translations are only available for few languages.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2506 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-09 20:56:57 +00:00
defnax
af2705893d setWindowIcon for a QMessageBox in ShareManager
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2433 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-26 13:32:55 +00:00
defnax
e919981e00 * added a about dialog
* quit RetroShare with rApp not more use qApp for quit, shutdown is now faster.
* added first retranslateUi for MainWindow
* changend Add Share string.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1944 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-12-31 02:23:02 +00:00
csoler
792ddf1d25 Share Flags
- own directory browsing is now done through FileIndexMonitor. This allows:
	- to browse shared directories independently of their flags
	- to update files as they get hashed (yeah!)
- still to do:
	- turtle requests should respect the share flags



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1507 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-09 20:00:25 +00:00
defnax
0924fa49c2 fixed to not stretch last section for Browsable column
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1500 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-08 11:17:49 +00:00
defnax
d5581629ef set header size for first column and enabled again contextmenu for ShareManager
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1491 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-04 20:46:26 +00:00
csoler
f9dc3b223b Started implementing flags to handle the sharing mode.
What works:
- the gui shows the flags in ShareManager
- the flags are loaded/saved to ft_shared.cfg and passed on to FileIndexMonitor
What does not work yet:
- the flags are not accounted for yet by FileIndexMonitor

In addition:
- simplified the directories dialog in Preferences, so that it calls the ShareManager instead of dupplicating the directories management 
code that becomes larger.
- setup the ShareManager to be a singleton, so as to coherently call it from different places.




git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1486 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-03 19:43:52 +00:00
alexandrut
fe2934f6db proper update of shared list when list is modiffied from a different place
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1363 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-07-12 21:03:26 +00:00
defnax
33146cc7dc enabled strings translation, used tr for some strings
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1129 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-04-14 22:57:53 +00:00
defnax
b57cdeb4fc * Added QMessagesBox feature for the ShareManager's Add/Remove
* Fixed DirectoriesDialogs's Add Folder method.
* Set ToolTips for The DirectoriesDialogs's Buttons

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@916 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-01-06 22:35:22 +00:00
defnax
8ba3c2de28 * added context menu for Share Manager to can remove a Shared Directory
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@900 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-01-01 17:47:35 +00:00
defnax
e5b7ad1a1b * Fixed Share Manager to load Shared Directorys when call Share Manager Dialog.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@887 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-12-11 10:14:35 +00:00
defnax
5459a536be * Added a Basic Share Manager for the replacement "Add Share" on MainWindow
* Fixed SharedFilesDialog columns

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@883 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-12-11 01:19:34 +00:00