diff options
author | Camila San <hello@camila.codes> | 2018-08-02 17:42:06 +0300 |
---|---|---|
committer | Camila San <hello@camila.codes> | 2018-08-02 20:57:17 +0300 |
commit | c2c2fe3ce3358aefe03a25a25c00f15d7698fed7 (patch) | |
tree | 1a01d8186841552a7ab7fc91912f887724f866d6 /src/gui/shareusergroupwidget.ui | |
parent | 25ff932a0b3d091ac07cb19a799a64f22424ef72 (diff) |
Changes Share User/Group widget UI to match the server share UI.
- Display list of permissions in the tool button menu.
Signed-off-by: Camila San <hello@camila.codes>
Diffstat (limited to 'src/gui/shareusergroupwidget.ui')
-rw-r--r-- | src/gui/shareusergroupwidget.ui | 36 |
1 files changed, 15 insertions, 21 deletions
diff --git a/src/gui/shareusergroupwidget.ui b/src/gui/shareusergroupwidget.ui index 0ca85c7c9..3a0d01f1a 100644 --- a/src/gui/shareusergroupwidget.ui +++ b/src/gui/shareusergroupwidget.ui @@ -80,7 +80,7 @@ </property> <property name="minimumSize"> <size> - <width>250</width> + <width>330</width> <height>26</height> </size> </property> @@ -99,7 +99,7 @@ </widget> </item> <item> - <widget class="QToolButton" name="permissionToolButton"> + <widget class="QPushButton" name="confirmShare"> <property name="sizePolicy"> <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> <horstretch>0</horstretch> @@ -108,30 +108,22 @@ </property> <property name="minimumSize"> <size> - <width>98</width> - <height>26</height> - </size> - </property> - <property name="maximumSize"> - <size> - <width>16777215</width> - <height>16777215</height> + <width>20</width> + <height>0</height> </size> </property> - <property name="layoutDirection"> - <enum>Qt::LeftToRight</enum> + <property name="styleSheet"> + <string notr="true">background-color: rgb(255, 255, 255);</string> </property> <property name="text"> - <string>can edit</string> - </property> - <property name="popupMode"> - <enum>QToolButton::MenuButtonPopup</enum> + <string/> </property> - <property name="toolButtonStyle"> - <enum>Qt::ToolButtonTextOnly</enum> + <property name="icon"> + <iconset resource="../../client.qrc"> + <normaloff>:/client/resources/confirm.svg</normaloff>:/client/resources/confirm.svg</iconset> </property> - <property name="arrowType"> - <enum>Qt::DownArrow</enum> + <property name="flat"> + <bool>true</bool> </property> </widget> </item> @@ -217,6 +209,8 @@ </layout> </widget> <layoutdefault spacing="6" margin="11"/> - <resources/> + <resources> + <include location="../../client.qrc"/> + </resources> <connections/> </ui> |