2013-03-11 16:53:15 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ui version="4.0">
|
|
|
|
<class>GxsCommentDialog</class>
|
|
|
|
<widget class="QWidget" name="GxsCommentDialog">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
|
|
|
<width>632</width>
|
2014-12-23 06:41:57 -05:00
|
|
|
<height>547</height>
|
2013-03-11 16:53:15 -04:00
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="windowTitle">
|
|
|
|
<string>Form</string>
|
|
|
|
</property>
|
2019-03-26 13:35:10 -04:00
|
|
|
<layout class="QGridLayout" name="GxsCommentDialogGLayout">
|
|
|
|
<item row="0" column="0">
|
2013-03-11 16:53:15 -04:00
|
|
|
<widget class="QFrame" name="postFrame">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
2017-11-18 13:48:38 -05:00
|
|
|
<layout class="QVBoxLayout" name="postFrameVLayout">
|
2013-03-15 17:02:43 -04:00
|
|
|
<property name="leftMargin">
|
2019-03-26 13:35:10 -04:00
|
|
|
<number>1</number>
|
2013-03-15 17:02:43 -04:00
|
|
|
</property>
|
|
|
|
<property name="topMargin">
|
|
|
|
<number>1</number>
|
|
|
|
</property>
|
2019-03-26 13:35:10 -04:00
|
|
|
<property name="rightMargin">
|
|
|
|
<number>1</number>
|
|
|
|
</property>
|
2013-03-15 17:02:43 -04:00
|
|
|
<property name="bottomMargin">
|
|
|
|
<number>1</number>
|
|
|
|
</property>
|
2013-03-11 16:53:15 -04:00
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2019-03-26 13:35:10 -04:00
|
|
|
<item row="1" column="0">
|
2017-11-18 13:48:38 -05:00
|
|
|
<layout class="QHBoxLayout" name="toolBarHLayout">
|
2019-10-09 13:26:43 -04:00
|
|
|
<item>
|
|
|
|
<widget class="QToolButton" name="commentButton">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Comment</string>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="../icons.qrc">
|
|
|
|
<normaloff>:/icons/png/comment.png</normaloff>:/icons/png/comment.png</iconset>
|
|
|
|
</property>
|
|
|
|
<property name="iconSize">
|
|
|
|
<size>
|
|
|
|
<width>20</width>
|
|
|
|
<height>20</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="toolButtonStyle">
|
|
|
|
<enum>Qt::ToolButtonTextBesideIcon</enum>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2013-03-11 16:53:15 -04:00
|
|
|
<item>
|
2019-03-26 13:35:10 -04:00
|
|
|
<widget class="QComboBox" name="sortBox">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string><html><head/><body><p><span style=" font-family:'-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol'; font-size:14px; color:#24292e; background-color:#ffffff;">sort by</span></p></body></html></string>
|
2014-12-23 06:41:57 -05:00
|
|
|
</property>
|
2019-03-26 13:35:10 -04:00
|
|
|
<property name="styleSheet">
|
|
|
|
<string notr="true"/>
|
2013-03-11 16:53:15 -04:00
|
|
|
</property>
|
2019-03-26 13:35:10 -04:00
|
|
|
<property name="iconSize">
|
|
|
|
<size>
|
|
|
|
<width>24</width>
|
|
|
|
<height>24</height>
|
|
|
|
</size>
|
2014-12-23 06:41:57 -05:00
|
|
|
</property>
|
2019-03-26 13:35:10 -04:00
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>Hot</string>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="../icons.qrc">
|
|
|
|
<normaloff>:/icons/png/flame.png</normaloff>:/icons/png/flame.png</iconset>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>New</string>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="../icons.qrc">
|
|
|
|
<normaloff>:/icons/png/new.png</normaloff>:/icons/png/new.png</iconset>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>Top</string>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="../icons.qrc">
|
|
|
|
<normaloff>:/icons/png/top.png</normaloff>:/icons/png/top.png</iconset>
|
|
|
|
</property>
|
|
|
|
</item>
|
2013-03-11 16:53:15 -04:00
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
2017-11-18 13:48:38 -05:00
|
|
|
<spacer name="toolBarHSpacer">
|
2013-03-11 16:53:15 -04:00
|
|
|
<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>
|
2017-11-18 13:48:38 -05:00
|
|
|
<widget class="QLabel" name="idLabel">
|
2013-03-12 20:33:14 -04:00
|
|
|
<property name="text">
|
|
|
|
<string>Voter ID:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="GxsIdChooser" name="idChooser"/>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="refreshButton">
|
2013-03-11 16:53:15 -04:00
|
|
|
<property name="text">
|
|
|
|
<string>Refresh</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
2019-03-26 13:35:10 -04:00
|
|
|
<item row="2" column="0">
|
2013-03-11 16:53:15 -04:00
|
|
|
<widget class="GxsCommentTreeWidget" name="treeWidget">
|
2019-03-26 13:35:10 -04:00
|
|
|
<property name="sortingEnabled">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
2013-03-11 16:53:15 -04:00
|
|
|
<column>
|
|
|
|
<property name="text">
|
|
|
|
<string>Comment</string>
|
|
|
|
</property>
|
|
|
|
</column>
|
|
|
|
<column>
|
|
|
|
<property name="text">
|
|
|
|
<string>Author</string>
|
|
|
|
</property>
|
|
|
|
</column>
|
|
|
|
<column>
|
|
|
|
<property name="text">
|
|
|
|
<string>Date</string>
|
|
|
|
</property>
|
|
|
|
</column>
|
|
|
|
<column>
|
|
|
|
<property name="text">
|
2013-03-12 20:33:14 -04:00
|
|
|
<string>Score</string>
|
|
|
|
</property>
|
|
|
|
</column>
|
|
|
|
<column>
|
|
|
|
<property name="text">
|
|
|
|
<string>UpVotes</string>
|
|
|
|
</property>
|
|
|
|
</column>
|
|
|
|
<column>
|
|
|
|
<property name="text">
|
|
|
|
<string>DownVotes</string>
|
2013-03-11 16:53:15 -04:00
|
|
|
</property>
|
|
|
|
</column>
|
2013-03-15 17:02:43 -04:00
|
|
|
<column>
|
|
|
|
<property name="text">
|
|
|
|
<string>OwnVote</string>
|
|
|
|
</property>
|
|
|
|
</column>
|
2013-03-11 16:53:15 -04:00
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<customwidgets>
|
2013-03-12 20:33:14 -04:00
|
|
|
<customwidget>
|
|
|
|
<class>GxsIdChooser</class>
|
|
|
|
<extends>QComboBox</extends>
|
|
|
|
<header>gui/gxs/GxsIdChooser.h</header>
|
|
|
|
</customwidget>
|
2013-03-11 16:53:15 -04:00
|
|
|
<customwidget>
|
|
|
|
<class>GxsCommentTreeWidget</class>
|
|
|
|
<extends>QTreeWidget</extends>
|
|
|
|
<header>gui/gxs/GxsCommentTreeWidget.h</header>
|
|
|
|
</customwidget>
|
|
|
|
</customwidgets>
|
2019-03-26 13:35:10 -04:00
|
|
|
<resources>
|
|
|
|
<include location="../icons.qrc"/>
|
|
|
|
</resources>
|
2013-03-11 16:53:15 -04:00
|
|
|
<connections/>
|
|
|
|
</ui>
|