fixed some layouts

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1928 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2009-12-21 23:55:52 +00:00
parent 2a7f3682ac
commit e6c8e57927
3 changed files with 240 additions and 690 deletions

View File

@ -185,9 +185,9 @@ void ChannelFeed::createChannel()
cf->setWindowTitle(tr("Create a new Channel")); cf->setWindowTitle(tr("Create a new Channel"));
cf->ui.labelicon->setPixmap(QPixmap(":/images/add_channel64.png")); cf->ui.labelicon->setPixmap(QPixmap(":/images/add_channel64.png"));
QString titleStr("<span style=\"font-size:16pt; font-weight:500;" QString titleStr("<span style=\"font-size:24pt; font-weight:500;"
"color:#32cd32;\">%1</span>"); "color:#32CD32;\">%1</span>");
cf->ui.textlabelcreatforums->setText( titleStr.arg( tr("Create a new Channel") ) ) ; cf->ui.textlabelcreatforums->setText( titleStr.arg( tr("New Channel") ) ) ;
cf->show(); cf->show();
} }

View File

@ -6,7 +6,7 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>579</width> <width>538</width>
<height>370</height> <height>370</height>
</rect> </rect>
</property> </property>
@ -74,9 +74,11 @@
<string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt; <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt; &lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; } p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'DejaVu Sans'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt; &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Sans Serif'; font-size:16pt; font-weight:600; color:#32cd32;&quot;&gt; Share Manager&lt;/span&gt;&lt;/p&gt; &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Sans Serif'; font-size:26pt; font-weight:600; color:#32cd32;&quot;&gt;Share Manager&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Sans Serif'; font-size:10pt;&quot;&gt; Add a new Folder to Share with your Friends or remove a Shared Folder.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> </property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property> </property>
</widget> </widget>
</item> </item>
@ -92,13 +94,28 @@ p, li { white-space: pre-wrap; }
<enum>QFrame::Raised</enum> <enum>QFrame::Raised</enum>
</property> </property>
<layout class="QGridLayout" name="gridLayout_2"> <layout class="QGridLayout" name="gridLayout_2">
<property name="topMargin">
<number>6</number>
</property>
<item row="0" column="0" colspan="4"> <item row="0" column="0" colspan="4">
<widget class="QGroupBox" name="groupBox"> <widget class="QGroupBox" name="groupBox">
<property name="title"> <property name="title">
<string>Shared Folder Manager</string> <string>Shared Folder Manager</string>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout"> <layout class="QGridLayout" name="gridLayout_4">
<item> <item row="0" column="0">
<widget class="QLabel" name="labelInstructions">
<property name="text">
<string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:8pt;&quot;&gt;This is a list of shared folders . You can add and remove folders using the button on the left. &lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:8pt;&quot;&gt;When you add a new folder, intially all file in that folder are shared.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QTableWidget" name="shareddirList"> <widget class="QTableWidget" name="shareddirList">
<property name="contextMenuPolicy"> <property name="contextMenuPolicy">
<enum>Qt::CustomContextMenu</enum> <enum>Qt::CustomContextMenu</enum>

View File

@ -1,681 +1,214 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0"> <ui version="4.0">
<class>CreateForum</class> <class>CreateForum</class>
<widget class="QDialog" name="CreateForum"> <widget class="QDialog" name="CreateForum">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>490</width> <width>482</width>
<height>421</height> <height>419</height>
</rect> </rect>
</property> </property>
<property name="sizePolicy"> <property name="windowTitle">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding"> <string>Create new Forum</string>
<horstretch>0</horstretch> </property>
<verstretch>0</verstretch> <property name="windowIcon">
</sizepolicy> <iconset resource="../images.qrc">
</property> <normaloff>:/images/rstray3.png</normaloff>:/images/rstray3.png</iconset>
<property name="palette"> </property>
<palette> <layout class="QGridLayout" name="gridLayout_3">
<active> <property name="margin">
<colorrole role="WindowText"> <number>0</number>
<brush brushstyle="SolidPattern"> </property>
<color alpha="255"> <property name="spacing">
<red>0</red> <number>0</number>
<green>0</green> </property>
<blue>0</blue> <item row="0" column="0">
</color> <widget class="QFrame" name="frame_2">
</brush> <property name="styleSheet">
</colorrole> <string notr="true">QFrame#frame_2{background-image: url(:/images/connect/connectFriendBanner.png);}</string>
<colorrole role="Button"> </property>
<brush brushstyle="SolidPattern"> <property name="frameShape">
<color alpha="255"> <enum>QFrame::StyledPanel</enum>
<red>208</red> </property>
<green>208</green> <property name="frameShadow">
<blue>208</blue> <enum>QFrame::Raised</enum>
</color> </property>
</brush> <layout class="QGridLayout" name="gridLayout">
</colorrole> <property name="spacing">
<colorrole role="Light"> <number>6</number>
<brush brushstyle="SolidPattern"> </property>
<color alpha="255"> <item row="0" column="0">
<red>255</red> <widget class="QLabel" name="labelicon">
<green>255</green> <property name="maximumSize">
<blue>255</blue> <size>
</color> <width>48</width>
</brush> <height>48</height>
</colorrole> </size>
<colorrole role="Midlight"> </property>
<brush brushstyle="SolidPattern"> <property name="styleSheet">
<color alpha="255"> <string notr="true"/>
<red>247</red> </property>
<green>247</green> <property name="text">
<blue>247</blue> <string/>
</color> </property>
</brush> <property name="pixmap">
</colorrole> <pixmap resource="../images.qrc">:/images/konversation64.png</pixmap>
<colorrole role="Dark"> </property>
<brush brushstyle="SolidPattern"> <property name="scaledContents">
<color alpha="255"> <bool>true</bool>
<red>104</red> </property>
<green>104</green> </widget>
<blue>104</blue> </item>
</color> <item row="0" column="1">
</brush> <widget class="QLabel" name="textlabelcreatforums">
</colorrole> <property name="styleSheet">
<colorrole role="Mid"> <string notr="true">color: rgb(255, 255, 255);</string>
<brush brushstyle="SolidPattern"> </property>
<color alpha="255"> <property name="text">
<red>139</red> <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
<green>139</green> &lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
<blue>139</blue> p, li { white-space: pre-wrap; }
</color> &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;&quot;&gt;
</brush> &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Arial'; font-size:24pt; font-weight:600; color:#32cd32;&quot;&gt;New Forum&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</colorrole> </property>
<colorrole role="Text"> </widget>
<brush brushstyle="SolidPattern"> </item>
<color alpha="255"> </layout>
<red>0</red> </widget>
<green>0</green> </item>
<blue>0</blue> <item row="1" column="0">
</color> <widget class="QFrame" name="frame">
</brush> <property name="frameShape">
</colorrole> <enum>QFrame::StyledPanel</enum>
<colorrole role="BrightText"> </property>
<brush brushstyle="SolidPattern"> <property name="frameShadow">
<color alpha="255"> <enum>QFrame::Raised</enum>
<red>255</red> </property>
<green>255</green> <layout class="QGridLayout" name="gridLayout_2">
<blue>255</blue> <item row="0" column="0" colspan="3">
</color> <layout class="QHBoxLayout" name="_2">
</brush> <item>
</colorrole> <widget class="QLabel" name="label">
<colorrole role="ButtonText"> <property name="text">
<brush brushstyle="SolidPattern"> <string>Name</string>
<color alpha="255"> </property>
<red>0</red> </widget>
<green>0</green> </item>
<blue>0</blue> <item>
</color> <widget class="QLineEdit" name="forumName"/>
</brush> </item>
</colorrole> </layout>
<colorrole role="Base"> </item>
<brush brushstyle="SolidPattern"> <item row="1" column="0" colspan="3">
<color alpha="255"> <layout class="QVBoxLayout">
<red>255</red> <item>
<green>255</green> <widget class="QLabel" name="label_5">
<blue>255</blue> <property name="text">
</color> <string>Description</string>
</brush> </property>
</colorrole> </widget>
<colorrole role="Window"> </item>
<brush brushstyle="SolidPattern"> <item>
<color alpha="255"> <widget class="QTextEdit" name="forumDesc"/>
<red>240</red> </item>
<green>240</green> </layout>
<blue>240</blue> </item>
</color> <item row="2" column="0" colspan="3">
</brush> <widget class="QGroupBox" name="tyoeGroupBox">
</colorrole> <property name="title">
<colorrole role="Shadow"> <string>Type:</string>
<brush brushstyle="SolidPattern"> </property>
<color alpha="255"> <layout class="QVBoxLayout" name="_3">
<red>0</red> <item>
<green>0</green> <widget class="QRadioButton" name="typePublic">
<blue>0</blue> <property name="text">
</color> <string>Public - Anyone can read and publish (Shared Publish Key)</string>
</brush> </property>
</colorrole> </widget>
<colorrole role="Highlight"> </item>
<brush brushstyle="SolidPattern"> <item>
<color alpha="255"> <widget class="QRadioButton" name="typePrivate">
<red>0</red> <property name="text">
<green>0</green> <string>Restricted - Anyone can read, limited publishing (Private Publish Key)</string>
<blue>128</blue> </property>
</color> </widget>
</brush> </item>
</colorrole> <item>
<colorrole role="HighlightedText"> <widget class="QRadioButton" name="typeEncrypted">
<brush brushstyle="SolidPattern"> <property name="text">
<color alpha="255"> <string>Private - (Private Publish Key required to view Messages)</string>
<red>255</red> </property>
<green>255</green> </widget>
<blue>255</blue> </item>
</color> </layout>
</brush> </widget>
</colorrole> </item>
<colorrole role="Link"> <item row="3" column="0" colspan="3">
<brush brushstyle="SolidPattern"> <widget class="QGroupBox" name="msgGroupBox">
<color alpha="255"> <property name="title">
<red>0</red> <string>Allowed Messages</string>
<green>0</green> </property>
<blue>255</blue> <layout class="QVBoxLayout" name="_4">
</color> <item>
</brush> <widget class="QRadioButton" name="msgAuth">
</colorrole> <property name="text">
<colorrole role="LinkVisited"> <string>Authemticated Messages</string>
<brush brushstyle="SolidPattern"> </property>
<color alpha="255"> </widget>
<red>255</red> </item>
<green>0</green> <item>
<blue>255</blue> <widget class="QRadioButton" name="msgAnon">
</color> <property name="text">
</brush> <string>Anonymous Messages</string>
</colorrole> </property>
<colorrole role="AlternateBase"> </widget>
<brush brushstyle="SolidPattern"> </item>
<color alpha="255"> </layout>
<red>231</red> </widget>
<green>231</green> </item>
<blue>231</blue> <item row="4" column="0">
</color> <spacer>
</brush> <property name="orientation">
</colorrole> <enum>Qt::Horizontal</enum>
</active> </property>
<inactive> <property name="sizeHint" stdset="0">
<colorrole role="WindowText"> <size>
<brush brushstyle="SolidPattern"> <width>238</width>
<color alpha="255"> <height>20</height>
<red>0</red> </size>
<green>0</green> </property>
<blue>0</blue> </spacer>
</color> </item>
</brush> <item row="4" column="1">
</colorrole> <widget class="QPushButton" name="cancelButton">
<colorrole role="Button"> <property name="text">
<brush brushstyle="SolidPattern"> <string>Cancel</string>
<color alpha="255"> </property>
<red>208</red> </widget>
<green>208</green> </item>
<blue>208</blue> <item row="4" column="2">
</color> <widget class="QPushButton" name="createButton">
</brush> <property name="text">
</colorrole> <string>Create</string>
<colorrole role="Light"> </property>
<brush brushstyle="SolidPattern"> <property name="default">
<color alpha="255"> <bool>true</bool>
<red>255</red> </property>
<green>255</green> </widget>
<blue>255</blue> </item>
</color> </layout>
</brush> </widget>
</colorrole> </item>
<colorrole role="Midlight"> </layout>
<brush brushstyle="SolidPattern"> </widget>
<color alpha="255"> <resources>
<red>247</red> <include location="../images.qrc"/>
<green>247</green> <include location="../images.qrc"/>
<blue>247</blue> <include location="../images.qrc"/>
</color> <include location="../images.qrc"/>
</brush> <include location="../images.qrc"/>
</colorrole> </resources>
<colorrole role="Dark"> <connections/>
<brush brushstyle="SolidPattern"> </ui>
<color alpha="255">
<red>104</red>
<green>104</green>
<blue>104</blue>
</color>
</brush>
</colorrole>
<colorrole role="Mid">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>139</red>
<green>139</green>
<blue>139</blue>
</color>
</brush>
</colorrole>
<colorrole role="Text">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="BrightText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Window">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>240</red>
<green>240</green>
<blue>240</blue>
</color>
</brush>
</colorrole>
<colorrole role="Shadow">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Highlight">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>192</red>
<green>192</green>
<blue>192</blue>
</color>
</brush>
</colorrole>
<colorrole role="HighlightedText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Link">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="LinkVisited">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>0</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="AlternateBase">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>231</red>
<green>231</green>
<blue>231</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="WindowText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>104</red>
<green>104</green>
<blue>104</blue>
</color>
</brush>
</colorrole>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>208</red>
<green>208</green>
<blue>208</blue>
</color>
</brush>
</colorrole>
<colorrole role="Light">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Midlight">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>247</red>
<green>247</green>
<blue>247</blue>
</color>
</brush>
</colorrole>
<colorrole role="Dark">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>104</red>
<green>104</green>
<blue>104</blue>
</color>
</brush>
</colorrole>
<colorrole role="Mid">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>139</red>
<green>139</green>
<blue>139</blue>
</color>
</brush>
</colorrole>
<colorrole role="Text">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>104</red>
<green>104</green>
<blue>104</blue>
</color>
</brush>
</colorrole>
<colorrole role="BrightText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>104</red>
<green>104</green>
<blue>104</blue>
</color>
</brush>
</colorrole>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>240</red>
<green>240</green>
<blue>240</blue>
</color>
</brush>
</colorrole>
<colorrole role="Window">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>240</red>
<green>240</green>
<blue>240</blue>
</color>
</brush>
</colorrole>
<colorrole role="Shadow">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Highlight">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>128</blue>
</color>
</brush>
</colorrole>
<colorrole role="HighlightedText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Link">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="LinkVisited">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>0</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="AlternateBase">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>231</red>
<green>231</green>
<blue>231</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="font">
<font>
<family>Arial</family>
<pointsize>8</pointsize>
<weight>50</weight>
<italic>false</italic>
<bold>false</bold>
<underline>false</underline>
<strikeout>false</strikeout>
</font>
</property>
<property name="contextMenuPolicy">
<enum>Qt::NoContextMenu</enum>
</property>
<property name="windowTitle">
<string>Create a Forum</string>
</property>
<property name="windowIcon">
<iconset resource="../images.qrc">
<normaloff>:/images/rstray3.png</normaloff>:/images/rstray3.png</iconset>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="0">
<layout class="QGridLayout" name="gridLayout">
<property name="horizontalSpacing">
<number>0</number>
</property>
<item row="0" column="0">
<widget class="QLabel" name="labelicon">
<property name="maximumSize">
<size>
<width>64</width>
<height>64</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">background-image: url(:/images/connect/connectFriendBanner.png)</string>
</property>
<property name="text">
<string/>
</property>
<property name="pixmap">
<pixmap resource="../images.qrc">:/images/konversation64.png</pixmap>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLabel" name="textlabelcreatforums">
<property name="styleSheet">
<string notr="true">background-image: url(:/images/connect/connectFriendBanner.png)</string>
</property>
<property name="text">
<string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'DejaVu Sans'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Arial'; font-size:24pt; font-weight:600; color:#00ff00;&quot;&gt; Create a new Forum&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="1" column="0">
<layout class="QHBoxLayout">
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>Name</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="forumName"/>
</item>
</layout>
</item>
<item row="2" column="0">
<layout class="QVBoxLayout">
<item>
<widget class="QLabel" name="label_5">
<property name="text">
<string>Description</string>
</property>
</widget>
</item>
<item>
<widget class="QTextEdit" name="forumDesc"/>
</item>
</layout>
</item>
<item row="3" column="0">
<widget class="QGroupBox" name="tyoeGroupBox">
<property name="title">
<string>Type:</string>
</property>
<layout class="QVBoxLayout">
<item>
<widget class="QRadioButton" name="typePublic">
<property name="text">
<string>Public - Anyone can read and publish (Shared Publish Key)</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="typePrivate">
<property name="text">
<string>Restricted - Anyone can read, limited publishing (Private Publish Key)</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="typeEncrypted">
<property name="text">
<string>Private - (Private Publish Key required to view Messages)</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="4" column="0">
<widget class="QGroupBox" name="msgGroupBox">
<property name="title">
<string>Allowed Messages</string>
</property>
<layout class="QVBoxLayout">
<item>
<widget class="QRadioButton" name="msgAuth">
<property name="text">
<string>Authemticated Messages</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="msgAnon">
<property name="text">
<string>Anonymous Messages</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="6" column="0">
<layout class="QHBoxLayout">
<item>
<spacer>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="cancelButton">
<property name="text">
<string>Cancel</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="createButton">
<property name="text">
<string>Create</string>
</property>
<property name="default">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</item>
<item row="5" column="0">
<widget class="Line" name="line">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
</layout>
</widget>
<tabstops>
<tabstop>createButton</tabstop>
</tabstops>
<resources>
<include location="../images.qrc"/>
</resources>
<connections/>
</ui>