Added ReportBugDialog to Help menu.

- Also renamed "File" toolbar to "Quick Access" toolbar (#13).
This commit is contained in:
Jim Evins
2019-01-27 21:46:56 -05:00
parent 212578c380
commit 0e60c52d4c
11 changed files with 555 additions and 20 deletions
+294
View File
@@ -0,0 +1,294 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>ReportBugDialog</class>
<widget class="QDialog" name="ReportBugDialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>586</width>
<height>675</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>575</width>
<height>675</height>
</size>
</property>
<property name="windowTitle">
<string>gLabels - Report a Bug</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<property name="spacing">
<number>12</number>
</property>
<property name="leftMargin">
<number>12</number>
</property>
<property name="topMargin">
<number>12</number>
</property>
<property name="rightMargin">
<number>12</number>
</property>
<property name="bottomMargin">
<number>12</number>
</property>
<item>
<widget class="QLabel" name="titleLabel">
<property name="text">
<string notr="true">Title</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="p1Label">
<property name="text">
<string notr="true">pp1</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<spacer name="horizontalSpacer">
<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="websiteButton">
<property name="text">
<string>&amp;Launch Issue Tracker</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item>
<widget class="QLabel" name="p2Label">
<property name="text">
<string notr="true">pp2</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QFrame" name="frame">
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QTextEdit" name="infoText">
<property name="minimumSize">
<size>
<width>400</width>
<height>250</height>
</size>
</property>
<property name="acceptRichText">
<bool>false</bool>
</property>
<property name="textInteractionFlags">
<set>Qt::NoTextInteraction</set>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<spacer name="horizontalSpacer_3">
<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="copyButton">
<property name="text">
<string>Copy</string>
</property>
<property name="icon">
<iconset resource="../icons.qrc">
<normaloff>:/icons/flat/24x24/glabels-edit-copy.svg</normaloff>:/icons/flat/24x24/glabels-edit-copy.svg</iconset>
</property>
<property name="iconSize">
<size>
<width>24</width>
<height>24</height>
</size>
</property>
<property name="shortcut">
<string>Ctrl+C</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_4">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QLabel" name="p3Label">
<property name="text">
<string notr="true">pp3</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>118</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QDialogButtonBox" name="buttonBox">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::Close</set>
</property>
</widget>
</item>
</layout>
</widget>
<resources>
<include location="../icons.qrc"/>
</resources>
<connections>
<connection>
<sender>buttonBox</sender>
<signal>accepted()</signal>
<receiver>ReportBugDialog</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>230</x>
<y>649</y>
</hint>
<hint type="destinationlabel">
<x>157</x>
<y>274</y>
</hint>
</hints>
</connection>
<connection>
<sender>buttonBox</sender>
<signal>rejected()</signal>
<receiver>ReportBugDialog</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>298</x>
<y>655</y>
</hint>
<hint type="destinationlabel">
<x>286</x>
<y>274</y>
</hint>
</hints>
</connection>
<connection>
<sender>websiteButton</sender>
<signal>clicked()</signal>
<receiver>ReportBugDialog</receiver>
<slot>onWebsiteButtonClicked()</slot>
<hints>
<hint type="sourcelabel">
<x>351</x>
<y>94</y>
</hint>
<hint type="destinationlabel">
<x>566</x>
<y>103</y>
</hint>
</hints>
</connection>
<connection>
<sender>copyButton</sender>
<signal>clicked()</signal>
<receiver>ReportBugDialog</receiver>
<slot>onCopyButtonClicked()</slot>
<hints>
<hint type="sourcelabel">
<x>330</x>
<y>437</y>
</hint>
<hint type="destinationlabel">
<x>514</x>
<y>500</y>
</hint>
</hints>
</connection>
</connections>
<slots>
<slot>onWebsiteButtonClicked()</slot>
<slot>onCopyButtonClicked()</slot>
</slots>
</ui>