2010-09-17 14:27:30 -04:00
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>ShareManager</class>
<widget class="QDialog" name="ShareManager">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
2013-09-25 11:58:01 -04:00
<width>741</width>
<height>334</height>
2010-09-17 14:27:30 -04:00
</rect>
</property>
<property name="windowTitle">
<string>RetroShare Share Manager</string>
</property>
<property name="windowIcon">
<iconset resource="images.qrc">
<normaloff>:/images/rstray3.png</normaloff>:/images/rstray3.png</iconset>
</property>
<layout class="QGridLayout" name="gridLayout_3">
<property name="margin">
<number>0</number>
</property>
<property name="spacing">
<number>0</number>
</property>
<item row="0" column="0">
2012-08-24 06:49:08 -04:00
<widget class="HeaderFrame" name="headerFrame">
2010-09-17 14:27:30 -04:00
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<property name="lineWidth">
<number>1</number>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QFrame" name="frame_2">
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<property name="topMargin">
<number>6</number>
</property>
2013-09-25 11:58:01 -04:00
<item row="1" column="0" colspan="6">
2010-09-17 14:27:30 -04:00
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>Shared Folder Manager</string>
</property>
<layout class="QGridLayout" name="gridLayout_4">
<property name="topMargin">
<number>2</number>
</property>
2013-09-25 11:58:01 -04:00
<item row="2" column="0">
2010-09-17 14:27:30 -04:00
<widget class="QTableWidget" name="shareddirList">
<property name="contextMenuPolicy">
<enum>Qt::CustomContextMenu</enum>
</property>
<property name="editTriggers">
<set>QAbstractItemView::NoEditTriggers</set>
</property>
2012-10-21 15:39:56 -04:00
<property name="alternatingRowColors">
<bool>true</bool>
</property>
2010-09-17 14:27:30 -04:00
<property name="selectionMode">
<enum>QAbstractItemView::SingleSelection</enum>
</property>
<property name="selectionBehavior">
<enum>QAbstractItemView::SelectRows</enum>
</property>
2012-10-21 15:39:56 -04:00
<property name="showGrid">
<bool>false</bool>
</property>
<property name="sortingEnabled">
<bool>true</bool>
</property>
2010-09-17 14:27:30 -04:00
<attribute name="horizontalHeaderMinimumSectionSize">
2012-10-21 15:39:56 -04:00
<number>128</number>
2010-09-17 14:27:30 -04:00
</attribute>
<attribute name="verticalHeaderVisible">
<bool>false</bool>
</attribute>
<attribute name="verticalHeaderDefaultSectionSize">
<number>22</number>
</attribute>
<column>
<property name="text">
<string>Directory</string>
</property>
</column>
<column>
<property name="text">
<string>Virtual Folder</string>
</property>
</column>
<column>
<property name="text">
2012-10-21 10:06:33 -04:00
<string>Share flags</string>
2010-09-17 14:27:30 -04:00
</property>
<property name="toolTip">
<string comment="If activated, the share is anonymously accessible to anybody"/>
</property>
</column>
<column>
<property name="text">
2013-02-27 05:00:35 -05:00
<string>Groups</string>
2010-09-17 14:27:30 -04:00
</property>
<property name="toolTip">
<string comment="If checked, the share is browsable by your friends"/>
</property>
</column>
</widget>
</item>
</layout>
</widget>
</item>
2013-09-25 11:58:01 -04:00
<item row="2" column="0">
2010-09-17 14:27:30 -04:00
<widget class="QPushButton" name="addButton">
<property name="minimumSize">
<size>
2010-11-30 10:21:03 -05:00
<width>0</width>
2010-09-17 14:27:30 -04:00
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>200</width>
<height>200</height>
</size>
</property>
2010-09-18 12:05:32 -04:00
<property name="toolTip">
<string>Add a Share Directory</string>
</property>
2010-09-17 14:27:30 -04:00
<property name="text">
<string>Add</string>
</property>
<property name="iconSize">
<size>
<width>24</width>
<height>24</height>
</size>
</property>
</widget>
</item>
2013-09-25 11:58:01 -04:00
<item row="2" column="2">
2010-09-17 14:27:30 -04:00
<widget class="QPushButton" name="removeButton">
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>200</width>
<height>200</height>
</size>
</property>
2010-09-18 12:05:32 -04:00
<property name="toolTip">
<string>Stop sharing selected Directory</string>
</property>
2010-09-17 14:27:30 -04:00
<property name="text">
<string>Remove</string>
</property>
<property name="iconSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
</widget>
</item>
2013-09-25 11:58:01 -04:00
<item row="2" column="3">
2010-09-17 14:27:30 -04:00
<spacer>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>191</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
2013-09-25 11:58:01 -04:00
<item row="2" column="4">
2010-09-17 14:27:30 -04:00
<widget class="QPushButton" name="closeButton">
<property name="text">
2012-11-14 17:56:25 -05:00
<string>Apply and close</string>
2010-09-17 14:27:30 -04:00
</property>
</widget>
</item>
2013-09-25 11:58:01 -04:00
<item row="2" column="1">
2010-09-18 12:05:32 -04:00
<widget class="QPushButton" name="editButton">
<property name="toolTip">
<string>Edit selected Shared Directory</string>
</property>
<property name="text">
<string>Edit</string>
</property>
</widget>
</item>
2013-09-25 11:58:01 -04:00
<item row="0" column="0" colspan="5">
<widget class="QLabel" name="labelInstructions">
<property name="font">
<font>
<family>Tahoma</family>
<pointsize>11</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true"> border: 1px solid #DCDC41;
border-radius: 6px;
background: #FFFFD7;
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #FFFFD7, stop:1 #FFFFB2);</string>
</property>
<property name="text">
<string>This is a list of shared folders. You can add and remove folders using the buttons at the bottom. When you add a new folder, intially all files in that folder are shared. You can separately setup share flags for each shared directory.</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
2010-09-17 14:27:30 -04:00
</layout>
</widget>
</item>
</layout>
</widget>
2012-08-24 06:49:08 -04:00
<customwidgets>
<customwidget>
<class>HeaderFrame</class>
<extends>QFrame</extends>
<header>gui/common/HeaderFrame.h</header>
<container>1</container>
</customwidget>
</customwidgets>
2010-09-17 14:27:30 -04:00
<resources>
<include location="images.qrc"/>
</resources>
<connections/>
</ui>