You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
191 lines
9.6 KiB
191 lines
9.6 KiB
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>LXQtWorldClockConfigurationManualFormat</class>
|
|
<widget class="QDialog" name="LXQtWorldClockConfigurationManualFormat">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>800</width>
|
|
<height>500</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>World Clock Time Zones</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_3" stretch="0,0">
|
|
<item>
|
|
<widget class="QSplitter" name="splitter">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="childrenCollapsible">
|
|
<bool>false</bool>
|
|
</property>
|
|
<widget class="QPlainTextEdit" name="manualFormatPTE">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>1</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>100</height>
|
|
</size>
|
|
</property>
|
|
</widget>
|
|
<widget class="QScrollArea" name="scrollArea">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>100</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>100</height>
|
|
</size>
|
|
</property>
|
|
<property name="horizontalScrollBarPolicy">
|
|
<enum>Qt::ScrollBarAlwaysOff</enum>
|
|
</property>
|
|
<property name="widgetResizable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<widget class="QWidget" name="scrollAreaWidgetContents">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>766</width>
|
|
<height>1050</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<property name="leftMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QLabel" name="helpL">
|
|
<property name="text">
|
|
<string><h1>Custom Date/Time Format Syntax</h1>
|
|
<p>A date pattern is a string of characters, where specific strings of characters are replaced with date and time data from a calendar when formatting or used to generate data for a calendar when parsing.</p>
|
|
<p>The Date Field Symbol Table below contains the characters used in patterns to show the appropriate formats for a given locale, such as yyyy for the year. Characters may be used multiple times. For example, if y is used for the year, 'yy' might produce '99', whereas 'yyyy' produces '1999'. For most numerical fields, the number of characters specifies the field width. For example, if h is the hour, 'h' might produce '5', but 'hh' produces '05'. For some characters, the count specifies whether an abbreviated or full form should be used, but may have other choices, as given below.</p>
|
|
<p>Two single quotes represents a literal single quote, either inside or outside single quotes. Text within single quotes is not interpreted in any way (except for two adjacent single quotes). Otherwise all ASCII letter from a to z and A to Z are reserved as syntax characters, and require quoting if they are to represent literal characters. In addition, certain ASCII punctuation characters may become variable in the future (eg ":" being interpreted as the time separator and '/' as a date separator, and replaced by respective locale-sensitive characters in display).<br /></p>
|
|
<table border="1" width="100%" cellpadding="4" cellspacing="0">
|
|
<tr><th width="20%">Code</th><th>Meaning</th></tr>
|
|
<tr><td>d</td><td>the day as number without a leading zero (1 to 31)</td></tr>
|
|
<tr><td>dd</td><td>the day as number with a leading zero (01 to 31)</td></tr>
|
|
<tr><td>ddd</td><td>the abbreviated localized day name (e.g. 'Mon' to 'Sun').</td></tr>
|
|
<tr><td>dddd</td><td>the long localized day name (e.g. 'Monday' to 'Sunday</td></tr>
|
|
<tr><td>M</td><td>the month as number without a leading zero (1-12)</td></tr>
|
|
<tr><td>MM</td><td>the month as number with a leading zero (01-12)</td></tr>
|
|
<tr><td>MMM</td><td>the abbreviated localized month name (e.g. 'Jan' to 'Dec').</td></tr>
|
|
<tr><td>MMMM</td><td>the long localized month name (e.g. 'January' to 'December').</td></tr>
|
|
<tr><td>yy</td><td>the year as two digit number (00-99)</td></tr>
|
|
<tr><td>yyyy</td><td>the year as four digit number</td></tr>
|
|
<tr><td>h</td><td>the hour without a leading zero (0 to 23 or 1 to 12 if AM/PM display)</td></tr>
|
|
<tr><td>hh</td><td>the hour with a leading zero (00 to 23 or 01 to 12 if AM/PM display)</td></tr>
|
|
<tr><td>H</td><td>the hour without a leading zero (0 to 23, even with AM/PM display)</td></tr>
|
|
<tr><td>HH</td><td>the hour with a leading zero (00 to 23, even with AM/PM display)</td></tr>
|
|
<tr><td>m</td><td>the minute without a leading zero (0 to 59)</td></tr>
|
|
<tr><td>mm</td><td>the minute with a leading zero (00 to 59)</td></tr>
|
|
<tr><td>s</td><td>the second without a leading zero (0 to 59)</td></tr>
|
|
<tr><td>ss</td><td>the second with a leading zero (00 to 59)</td></tr>
|
|
<tr><td>z</td><td>the milliseconds without leading zeroes (0 to 999)</td></tr>
|
|
<tr><td>zzz</td><td>the milliseconds with leading zeroes (000 to 999)</td></tr>
|
|
<tr><td>AP <i>or</i> A</td><td>use AM/PM display. <b>A/AP</b> will be replaced by either "AM" or "PM".<</td></tr>
|
|
<tr><td>ap <i>or</i> a</td><td>use am/pm display. <b>a/ap</b> will be replaced by either "am" or "pm".<</td></tr>
|
|
<tr><td>t</td><td>the timezone (for example "CEST")</td></tr>
|
|
<tr><td>T</td><td>the offset from UTC</td></tr>
|
|
<tr><td>TT</td><td>the timezone IANA id</td></tr>
|
|
<tr><td>TTT</td><td>the timezone abbreviation</td></tr>
|
|
<tr><td>TTTT</td><td>the timezone short display name</td></tr>
|
|
<tr><td>TTTTT</td><td>the timezone long display name</td></tr>
|
|
<tr><td>TTTTTT</td><td>the timezone custom name. You can change it the 'Time zones' tab of the configuration window</td></tr></table>
|
|
<p><br /><b>Note:</b> Any characters in the pattern that are not in the ranges of ['a'..'z'] and ['A'..'Z'] will be treated as quoted text. For instance, characters like ':', '.', ' ', '#' and '@' will appear in the resulting time text even they are not enclosed within single quotes.The single quote is used to 'escape' letters. Two single quotes in a row, whether inside or outside a quoted sequence, represent a 'real' single quote.</p>
|
|
</string>
|
|
</property>
|
|
<property name="textFormat">
|
|
<enum>Qt::RichText</enum>
|
|
</property>
|
|
<property name="wordWrap">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QDialogButtonBox" name="buttons">
|
|
<property name="standardButtons">
|
|
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<tabstops>
|
|
<tabstop>manualFormatPTE</tabstop>
|
|
<tabstop>scrollArea</tabstop>
|
|
<tabstop>buttons</tabstop>
|
|
</tabstops>
|
|
<resources/>
|
|
<connections>
|
|
<connection>
|
|
<sender>buttons</sender>
|
|
<signal>accepted()</signal>
|
|
<receiver>LXQtWorldClockConfigurationManualFormat</receiver>
|
|
<slot>accept()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>95</x>
|
|
<y>490</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>97</x>
|
|
<y>253</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>buttons</sender>
|
|
<signal>rejected()</signal>
|
|
<receiver>LXQtWorldClockConfigurationManualFormat</receiver>
|
|
<slot>reject()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>76</x>
|
|
<y>490</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>62</x>
|
|
<y>253</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
<slots>
|
|
<signal>maximumNetSpeedChanged(QString)</signal>
|
|
<slot>on_typeCOB_currentIndexChanged(int)</slot>
|
|
<slot>on_sourceCOB_currentIndexChanged(int)</slot>
|
|
<slot>on_maximumHS_valueChanged(int)</slot>
|
|
<slot>saveSettings()</slot>
|
|
</slots>
|
|
</ui>
|