mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
3f2ab9259d
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5464 b45a01b8-16f6-495d-af2f-9b41ad6348cc
323 lines
9.4 KiB
XML
323 lines
9.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>ProfileManager</class>
|
|
<widget class="QDialog" name="ProfileManager">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>625</width>
|
|
<height>402</height>
|
|
</rect>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="contextMenuPolicy">
|
|
<enum>Qt::NoContextMenu</enum>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Profile Manager</string>
|
|
</property>
|
|
<property name="windowIcon">
|
|
<iconset resource="../images.qrc">
|
|
<normaloff>:/images/rstray3.png</normaloff>:/images/rstray3.png</iconset>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QToolButton, QPushButton, QComboBox {
|
|
border-image: url(:/images/btn_26.png) 4;
|
|
border-width: 4;
|
|
padding: 0px 6px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
QComboBox QAbstractItemView {
|
|
background-color:white;
|
|
}
|
|
|
|
QComboBox::down-arrow {
|
|
image: url(:/images/combobox_arrow.png);
|
|
}
|
|
|
|
QComboBox:drop-down
|
|
{
|
|
subcontrol-origin: padding;
|
|
subcontrol-position: top right;
|
|
border-left-style: none;
|
|
border-top-right-radius: 1px;
|
|
border-bottom-right-radius: 1px;
|
|
}
|
|
|
|
QToolButton:hover, QPushButton:hover, QComboBox:hover {
|
|
border-image: url(:/images/btn_26_hover.png) 4;
|
|
}
|
|
|
|
QToolButton:disabled, QPushButton:disabled, QComboBox::disabled {
|
|
color:gray;
|
|
}
|
|
|
|
QToolButton:pressed, QPushButton:pressed{
|
|
border-image: url(:/images/btn_26_pressed.png) 4;
|
|
}</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_3">
|
|
<property name="margin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="spacing">
|
|
<number>0</number>
|
|
</property>
|
|
<item row="1" column="0">
|
|
<widget class="QFrame" name="frame">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>30</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QFrame#frame{
|
|
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,
|
|
stop:0 #FEFEFE, stop:1 #E8E8E8);
|
|
|
|
border: 1px solid #CCCCCC;}</string>
|
|
</property>
|
|
<property name="frameShape">
|
|
<enum>QFrame::StyledPanel</enum>
|
|
</property>
|
|
<property name="frameShadow">
|
|
<enum>QFrame::Raised</enum>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
<item row="1" column="0">
|
|
<widget class="QGroupBox" name="groupBox">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
<property name="title">
|
|
<string/>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_4">
|
|
<item row="0" column="0" colspan="2">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2" stretch="0,0,0">
|
|
<property name="spacing">
|
|
<number>6</number>
|
|
</property>
|
|
<property name="leftMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QPushButton" name="newIdentity_PB">
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>16777215</width>
|
|
<height>26</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true"/>
|
|
</property>
|
|
<property name="text">
|
|
<string>Generate New Identity</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../images.qrc">
|
|
<normaloff>:/images/contact_new.png</normaloff>:/images/contact_new.png</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="importIdentity_PB">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>26</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>Import new identity</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="exportIdentity_PB">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>26</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>Export selected identity</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="progress_label">
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>16777215</width>
|
|
<height>32</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="0">
|
|
<widget class="QLabel" name="genPGPuserlabel">
|
|
<property name="text">
|
|
<string>Select Identity</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="1">
|
|
<widget class="QComboBox" name="genPGPuser">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Select Profile to export</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="5" column="0" colspan="2">
|
|
<widget class="QGroupBox" name="groupBox_2">
|
|
<property name="title">
|
|
<string>Identities</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_2">
|
|
<item row="0" column="0">
|
|
<widget class="QTreeWidget" name="identityTreeWidget">
|
|
<property name="contextMenuPolicy">
|
|
<enum>Qt::CustomContextMenu</enum>
|
|
</property>
|
|
<column>
|
|
<property name="text">
|
|
<string>Name</string>
|
|
</property>
|
|
</column>
|
|
<column>
|
|
<property name="text">
|
|
<string>Email</string>
|
|
</property>
|
|
</column>
|
|
<column>
|
|
<property name="text">
|
|
<string>GID</string>
|
|
</property>
|
|
</column>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item row="6" column="0">
|
|
<spacer name="verticalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>1</width>
|
|
<height>1</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QDialogButtonBox" name="buttonBox">
|
|
<property name="standardButtons">
|
|
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="label_2">
|
|
<property name="text">
|
|
<string>You can manage here your profiles, import, export your profiles or generate one .</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="0">
|
|
<widget class="HeaderFrame" name="headerFrame"/>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>HeaderFrame</class>
|
|
<extends>QFrame</extends>
|
|
<header>gui/common/HeaderFrame.h</header>
|
|
<container>1</container>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<tabstops>
|
|
<tabstop>genPGPuser</tabstop>
|
|
</tabstops>
|
|
<resources>
|
|
<include location="../images.qrc"/>
|
|
</resources>
|
|
<connections>
|
|
<connection>
|
|
<sender>buttonBox</sender>
|
|
<signal>accepted()</signal>
|
|
<receiver>ProfileManager</receiver>
|
|
<slot>close()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>320</x>
|
|
<y>334</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>320</x>
|
|
<y>177</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>buttonBox</sender>
|
|
<signal>rejected()</signal>
|
|
<receiver>ProfileManager</receiver>
|
|
<slot>close()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>320</x>
|
|
<y>334</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>320</x>
|
|
<y>177</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
</ui>
|