diff options
author | Roeland Jago Douma <unix@rullzer.com> | 2015-01-12 23:18:57 +0300 |
---|---|---|
committer | Roeland Jago Douma <unix@rullzer.com> | 2015-01-14 15:39:06 +0300 |
commit | 9a35b5670e09b8ca14597df0b8c1061f40b2a51a (patch) | |
tree | 82461adb00b24e3235e51a6022ddbcecb4709531 /src/gui/sharedialog.ui | |
parent | 017b54f9a8ff159eb425e2a6af8c4a89f9ab8957 (diff) |
ShareDialog: Allow sharing with users
This commit needs a lot of cleaning up. And a lot of error checking needs to be
added. However it is now possible to change and add new shares with users.
Sharing with groups should be just copy paste.
Also the UI needs some love.
Diffstat (limited to 'src/gui/sharedialog.ui')
-rw-r--r-- | src/gui/sharedialog.ui | 51 |
1 files changed, 43 insertions, 8 deletions
diff --git a/src/gui/sharedialog.ui b/src/gui/sharedialog.ui index 3fbe0035e..d633d4366 100644 --- a/src/gui/sharedialog.ui +++ b/src/gui/sharedialog.ui @@ -7,7 +7,7 @@ <x>0</x> <y>0</y> <width>500</width> - <height>535</height> + <height>540</height> </rect> </property> <property name="windowTitle"> @@ -36,9 +36,18 @@ </widget> </item> <item row="2" column="1"> + <widget class="QTreeWidget" name="treeWidget_shareUser"> + <column> + <property name="text"> + <string notr="true">1</string> + </property> + </column> + </widget> + </item> + <item row="4" column="1"> <widget class="QLineEdit" name="lineEdit_shareGroup"/> </item> - <item row="2" column="0"> + <item row="4" column="0"> <widget class="QLabel" name="groupLabel"> <property name="text"> <string>Group</string> @@ -46,12 +55,38 @@ </widget> </item> <item row="1" column="1"> - <widget class="QTreeWidget" name="treeWidget_shareUser"> - <column> - <property name="text"> - <string notr="true">1</string> - </property> - </column> + <layout class="QHBoxLayout" name="horizontalLayout_6"> + <item> + <widget class="QCheckBox" name="checkBox_user_edit"> + <property name="text"> + <string>Edit</string> + </property> + </widget> + </item> + <item> + <widget class="QCheckBox" name="checkBox_user_reshare"> + <property name="text"> + <string>Reshare</string> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="pushButton_shareUser"> + <property name="text"> + <string>Share</string> + </property> + <property name="autoDefault"> + <bool>false</bool> + </property> + </widget> + </item> + </layout> + </item> + <item row="3" column="1"> + <widget class="QPushButton" name="pushButton_user_deleteShare"> + <property name="text"> + <string>Delete</string> + </property> </widget> </item> </layout> |