mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-24 19:50:44 +08:00
Compare commits
No commits in common. "d222cb640c2b9c1715391e3be61fba5c96abed87" and "6a5f9d04a9c69e82b45d69f3653d9256ef722fc6" have entirely different histories.
d222cb640c
...
6a5f9d04a9
@ -207,7 +207,5 @@
|
|||||||
<file>res/template/src/zh_CN.ts.in</file>
|
<file>res/template/src/zh_CN.ts.in</file>
|
||||||
<file>res/template/src/README.md.in</file>
|
<file>res/template/src/README.md.in</file>
|
||||||
<file>qml/global/GlobalModel.qml</file>
|
<file>qml/global/GlobalModel.qml</file>
|
||||||
<file>qml/page/T_Sheet.qml</file>
|
|
||||||
<file>qml/page/T_GroupBox.qml</file>
|
|
||||||
</qresource>
|
</qresource>
|
||||||
</RCC>
|
</RCC>
|
||||||
|
@ -188,332 +188,322 @@
|
|||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="114"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="108"/>
|
||||||
<source>PaneItem Disabled</source>
|
<source>PaneItem Disabled</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="108"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="115"/>
|
||||||
<source>GroupBox</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="121"/>
|
|
||||||
<source>Form</source>
|
<source>Form</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="124"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="118"/>
|
||||||
<source>TextBox</source>
|
<source>TextBox</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="130"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="124"/>
|
||||||
<source>TimePicker</source>
|
<source>TimePicker</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="136"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="130"/>
|
||||||
<source>DatePicker</source>
|
<source>DatePicker</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="142"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="136"/>
|
||||||
<source>CalendarPicker</source>
|
<source>CalendarPicker</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="148"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="142"/>
|
||||||
<source>ColorPicker</source>
|
<source>ColorPicker</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="154"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="148"/>
|
||||||
<source>ShortcutPicker</source>
|
<source>ShortcutPicker</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="162"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="156"/>
|
||||||
<source>Surface</source>
|
<source>Surface</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="165"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="159"/>
|
||||||
<source>InfoBar</source>
|
<source>InfoBar</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="167"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="161"/>
|
||||||
<source>An inline message to display app-wide statuschange information.</source>
|
<source>An inline message to display app-wide statuschange information.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="172"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="166"/>
|
||||||
<source>Progress</source>
|
<source>Progress</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="178"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="172"/>
|
||||||
<source>RatingControl</source>
|
<source>RatingControl</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="184"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="178"/>
|
||||||
<source>Badge</source>
|
<source>Badge</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="190"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="184"/>
|
||||||
<source>Rectangle</source>
|
<source>Rectangle</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="196"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="190"/>
|
||||||
<source>Clip</source>
|
<source>Clip</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="202"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="196"/>
|
||||||
<source>Carousel</source>
|
<source>Carousel</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="208"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="202"/>
|
||||||
<source>Expander</source>
|
<source>Expander</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="214"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="208"/>
|
||||||
<source>Watermark</source>
|
<source>Watermark</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="222"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="216"/>
|
||||||
<source>Layout</source>
|
<source>Layout</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="225"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="219"/>
|
||||||
<source>StaggeredLayout</source>
|
<source>StaggeredLayout</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="231"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="225"/>
|
||||||
<source>SplitLayout</source>
|
<source>SplitLayout</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="237"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="231"/>
|
||||||
<source>StatusLayout</source>
|
<source>StatusLayout</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="245"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="239"/>
|
||||||
<source>Popus</source>
|
<source>Popus</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="248"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="242"/>
|
||||||
<source>Dialog</source>
|
<source>Dialog</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="255"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="249"/>
|
||||||
<source>ComboBox</source>
|
<source>ComboBox</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="269"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="263"/>
|
||||||
<source>Tooltip</source>
|
<source>Tooltip</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="275"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="269"/>
|
||||||
<source>Menu</source>
|
<source>Menu</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="281"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="277"/>
|
||||||
<source>Sheet</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="289"/>
|
|
||||||
<source>Navigation</source>
|
<source>Navigation</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="292"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="280"/>
|
||||||
<source>Pivot</source>
|
<source>Pivot</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="294"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="282"/>
|
||||||
<source>Presents information from different sources in a tabbed view.</source>
|
<source>Presents information from different sources in a tabbed view.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="299"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="287"/>
|
||||||
<source>BreadcrumbBar</source>
|
<source>BreadcrumbBar</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="305"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="293"/>
|
||||||
<source>TabView</source>
|
<source>TabView</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="307"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="295"/>
|
||||||
<source>A control that displays a collection of tabs thatcan be used to display several documents.</source>
|
<source>A control that displays a collection of tabs thatcan be used to display several documents.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="312"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="300"/>
|
||||||
<source>TreeView</source>
|
<source>TreeView</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="318"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="306"/>
|
||||||
<source>TableView</source>
|
<source>TableView</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="320"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="308"/>
|
||||||
<source>The TableView control provides a flexible way to display a collection of data in rows and columns</source>
|
<source>The TableView control provides a flexible way to display a collection of data in rows and columns</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="325"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="313"/>
|
||||||
<source>Pagination</source>
|
<source>Pagination</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="331"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="319"/>
|
||||||
<source>MultiWindow</source>
|
<source>MultiWindow</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="337"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="325"/>
|
||||||
<source>FlipView</source>
|
<source>FlipView</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="339"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="327"/>
|
||||||
<source>Presents a collection of items that the user canflip through, one item at a time.</source>
|
<source>Presents a collection of items that the user canflip through, one item at a time.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="346"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="334"/>
|
||||||
<source>Theming</source>
|
<source>Theming</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="349"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="337"/>
|
||||||
<source>Acrylic</source>
|
<source>Acrylic</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="355"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="343"/>
|
||||||
<source>Theme</source>
|
<source>Theme</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="361"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="349"/>
|
||||||
<source>Typography</source>
|
<source>Typography</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="367"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="355"/>
|
||||||
<source>Awesome</source>
|
<source>Awesome</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="375"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="363"/>
|
||||||
<source>Chart</source>
|
<source>Chart</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="378"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="366"/>
|
||||||
<source>Bar Chart</source>
|
<source>Bar Chart</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="384"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="372"/>
|
||||||
<source>Line Chart</source>
|
<source>Line Chart</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="390"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="378"/>
|
||||||
<source>Pie Chart</source>
|
<source>Pie Chart</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="396"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="384"/>
|
||||||
<source>Polar Area Chart</source>
|
<source>Polar Area Chart</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="402"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="390"/>
|
||||||
<source>Bubble Chart</source>
|
<source>Bubble Chart</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="408"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="396"/>
|
||||||
<source>Scatter Chart</source>
|
<source>Scatter Chart</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="414"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="402"/>
|
||||||
<source>Radar Chart</source>
|
<source>Radar Chart</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="427"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="415"/>
|
||||||
<source>Other</source>
|
<source>Other</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="430"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="418"/>
|
||||||
<source>QRCode</source>
|
<source>QRCode</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="436"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="424"/>
|
||||||
<source>Tour</source>
|
<source>Tour</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="442"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="430"/>
|
||||||
<source>Timeline</source>
|
<source>Timeline</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="448"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="436"/>
|
||||||
<source>Captcha</source>
|
<source>Captcha</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="454"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="442"/>
|
||||||
<source>Network</source>
|
<source>Network</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="461"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="449"/>
|
||||||
<source>Remote Loader</source>
|
<source>Remote Loader</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="475"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="463"/>
|
||||||
<source>Hot Loader</source>
|
<source>Hot Loader</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="481"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="469"/>
|
||||||
<source>3D</source>
|
<source>3D</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="487"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="475"/>
|
||||||
<source>Test Crash</source>
|
<source>Test Crash</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
@ -1321,42 +1311,6 @@ My only desire is to be permitted to drive out the traitors and restore the Han.
|
|||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
|
||||||
<name>T_GroupBox</name>
|
|
||||||
<message>
|
|
||||||
<location filename="qml/page/T_GroupBox.qml" line="10"/>
|
|
||||||
<source>GroupBox</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="qml/page/T_GroupBox.qml" line="13"/>
|
|
||||||
<source>CheckBox Group</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="qml/page/T_GroupBox.qml" line="17"/>
|
|
||||||
<location filename="qml/page/T_GroupBox.qml" line="27"/>
|
|
||||||
<source>E-mail</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="qml/page/T_GroupBox.qml" line="18"/>
|
|
||||||
<location filename="qml/page/T_GroupBox.qml" line="28"/>
|
|
||||||
<source>Calendar</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="qml/page/T_GroupBox.qml" line="19"/>
|
|
||||||
<location filename="qml/page/T_GroupBox.qml" line="29"/>
|
|
||||||
<source>Contacts</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="qml/page/T_GroupBox.qml" line="24"/>
|
|
||||||
<source>RadioButton Group</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
<context>
|
<context>
|
||||||
<name>T_Home</name>
|
<name>T_Home</name>
|
||||||
<message>
|
<message>
|
||||||
@ -1877,46 +1831,6 @@ My only desire is to be permitted to drive out the traitors and restore the Han.
|
|||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
|
||||||
<name>T_Sheet</name>
|
|
||||||
<message>
|
|
||||||
<location filename="qml/page/T_Sheet.qml" line="10"/>
|
|
||||||
<source>Sheet</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="qml/page/T_Sheet.qml" line="14"/>
|
|
||||||
<source>Title</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="qml/page/T_Sheet.qml" line="16"/>
|
|
||||||
<source>Some contents...
|
|
||||||
Some contents...
|
|
||||||
Some contents...</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="qml/page/T_Sheet.qml" line="36"/>
|
|
||||||
<source>top</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="qml/page/T_Sheet.qml" line="44"/>
|
|
||||||
<source>right</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="qml/page/T_Sheet.qml" line="55"/>
|
|
||||||
<source>bottom</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="qml/page/T_Sheet.qml" line="63"/>
|
|
||||||
<source>left</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
<context>
|
<context>
|
||||||
<name>T_ShortcutPicker</name>
|
<name>T_ShortcutPicker</name>
|
||||||
<message>
|
<message>
|
||||||
|
@ -188,332 +188,322 @@
|
|||||||
<translation type="unfinished">切换开关</translation>
|
<translation type="unfinished">切换开关</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="114"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="108"/>
|
||||||
<source>PaneItem Disabled</source>
|
<source>PaneItem Disabled</source>
|
||||||
<translation type="unfinished">PaneItem 已禁用</translation>
|
<translation type="unfinished">PaneItem 已禁用</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="108"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="115"/>
|
||||||
<source>GroupBox</source>
|
|
||||||
<translation type="unfinished">分组容器</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="121"/>
|
|
||||||
<source>Form</source>
|
<source>Form</source>
|
||||||
<translation type="unfinished">表单</translation>
|
<translation type="unfinished">表单</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="124"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="118"/>
|
||||||
<source>TextBox</source>
|
<source>TextBox</source>
|
||||||
<translation type="unfinished">文本框</translation>
|
<translation type="unfinished">文本框</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="130"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="124"/>
|
||||||
<source>TimePicker</source>
|
<source>TimePicker</source>
|
||||||
<translation type="unfinished">时间选择器</translation>
|
<translation type="unfinished">时间选择器</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="136"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="130"/>
|
||||||
<source>DatePicker</source>
|
<source>DatePicker</source>
|
||||||
<translation type="unfinished">日期选择器</translation>
|
<translation type="unfinished">日期选择器</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="142"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="136"/>
|
||||||
<source>CalendarPicker</source>
|
<source>CalendarPicker</source>
|
||||||
<translation type="unfinished">日历选择器</translation>
|
<translation type="unfinished">日历选择器</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="148"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="142"/>
|
||||||
<source>ColorPicker</source>
|
<source>ColorPicker</source>
|
||||||
<translation type="unfinished">颜色选择器</translation>
|
<translation type="unfinished">颜色选择器</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="154"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="148"/>
|
||||||
<source>ShortcutPicker</source>
|
<source>ShortcutPicker</source>
|
||||||
<translation type="unfinished">快捷键选择器</translation>
|
<translation type="unfinished">快捷键选择器</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="162"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="156"/>
|
||||||
<source>Surface</source>
|
<source>Surface</source>
|
||||||
<translation type="unfinished">表面</translation>
|
<translation type="unfinished">表面</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="165"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="159"/>
|
||||||
<source>InfoBar</source>
|
<source>InfoBar</source>
|
||||||
<translation type="unfinished">信息栏</translation>
|
<translation type="unfinished">信息栏</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="167"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="161"/>
|
||||||
<source>An inline message to display app-wide statuschange information.</source>
|
<source>An inline message to display app-wide statuschange information.</source>
|
||||||
<translation type="unfinished">用于显示应用范围状态更改信息的内联消息。</translation>
|
<translation type="unfinished">用于显示应用范围状态更改信息的内联消息。</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="172"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="166"/>
|
||||||
<source>Progress</source>
|
<source>Progress</source>
|
||||||
<translation type="unfinished">进度条</translation>
|
<translation type="unfinished">进度条</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="178"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="172"/>
|
||||||
<source>RatingControl</source>
|
<source>RatingControl</source>
|
||||||
<translation type="unfinished">评级控制</translation>
|
<translation type="unfinished">评级控制</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="184"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="178"/>
|
||||||
<source>Badge</source>
|
<source>Badge</source>
|
||||||
<translation type="unfinished">徽章</translation>
|
<translation type="unfinished">徽章</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="190"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="184"/>
|
||||||
<source>Rectangle</source>
|
<source>Rectangle</source>
|
||||||
<translation type="unfinished">矩形</translation>
|
<translation type="unfinished">矩形</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="196"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="190"/>
|
||||||
<source>Clip</source>
|
<source>Clip</source>
|
||||||
<translation type="unfinished">裁剪</translation>
|
<translation type="unfinished">裁剪</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="202"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="196"/>
|
||||||
<source>Carousel</source>
|
<source>Carousel</source>
|
||||||
<translation type="unfinished">轮播图</translation>
|
<translation type="unfinished">轮播图</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="208"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="202"/>
|
||||||
<source>Expander</source>
|
<source>Expander</source>
|
||||||
<translation type="unfinished">展开</translation>
|
<translation type="unfinished">展开</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="214"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="208"/>
|
||||||
<source>Watermark</source>
|
<source>Watermark</source>
|
||||||
<translation type="unfinished">水印</translation>
|
<translation type="unfinished">水印</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="222"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="216"/>
|
||||||
<source>Layout</source>
|
<source>Layout</source>
|
||||||
<translation type="unfinished">布局</translation>
|
<translation type="unfinished">布局</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="225"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="219"/>
|
||||||
<source>StaggeredLayout</source>
|
<source>StaggeredLayout</source>
|
||||||
<translation type="unfinished">瀑布流布局</translation>
|
<translation type="unfinished">瀑布流布局</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="231"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="225"/>
|
||||||
<source>SplitLayout</source>
|
<source>SplitLayout</source>
|
||||||
<translation type="unfinished">拆分布局</translation>
|
<translation type="unfinished">拆分布局</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="237"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="231"/>
|
||||||
<source>StatusLayout</source>
|
<source>StatusLayout</source>
|
||||||
<translation type="unfinished">状态布局</translation>
|
<translation type="unfinished">状态布局</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="245"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="239"/>
|
||||||
<source>Popus</source>
|
<source>Popus</source>
|
||||||
<translation type="unfinished">弹窗</translation>
|
<translation type="unfinished">弹窗</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="248"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="242"/>
|
||||||
<source>Dialog</source>
|
<source>Dialog</source>
|
||||||
<translation type="unfinished">弹窗</translation>
|
<translation type="unfinished">弹窗</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="255"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="249"/>
|
||||||
<source>ComboBox</source>
|
<source>ComboBox</source>
|
||||||
<translation type="unfinished">组合框</translation>
|
<translation type="unfinished">组合框</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="269"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="263"/>
|
||||||
<source>Tooltip</source>
|
<source>Tooltip</source>
|
||||||
<translation type="unfinished">工具提示</translation>
|
<translation type="unfinished">工具提示</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="275"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="269"/>
|
||||||
<source>Menu</source>
|
<source>Menu</source>
|
||||||
<translation type="unfinished">菜单</translation>
|
<translation type="unfinished">菜单</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="281"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="277"/>
|
||||||
<source>Sheet</source>
|
|
||||||
<translation type="unfinished">抽屉</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="289"/>
|
|
||||||
<source>Navigation</source>
|
<source>Navigation</source>
|
||||||
<translation type="unfinished">导航</translation>
|
<translation type="unfinished">导航</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="292"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="280"/>
|
||||||
<source>Pivot</source>
|
<source>Pivot</source>
|
||||||
<translation type="unfinished">轴转</translation>
|
<translation type="unfinished">轴转</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="294"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="282"/>
|
||||||
<source>Presents information from different sources in a tabbed view.</source>
|
<source>Presents information from different sources in a tabbed view.</source>
|
||||||
<translation type="unfinished">在选项卡式视图中显示来自不同源的信息。</translation>
|
<translation type="unfinished">在选项卡式视图中显示来自不同源的信息。</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="299"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="287"/>
|
||||||
<source>BreadcrumbBar</source>
|
<source>BreadcrumbBar</source>
|
||||||
<translation type="unfinished">面包屑</translation>
|
<translation type="unfinished">面包屑</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="305"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="293"/>
|
||||||
<source>TabView</source>
|
<source>TabView</source>
|
||||||
<translation type="unfinished">选项卡</translation>
|
<translation type="unfinished">选项卡</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="307"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="295"/>
|
||||||
<source>A control that displays a collection of tabs thatcan be used to display several documents.</source>
|
<source>A control that displays a collection of tabs thatcan be used to display several documents.</source>
|
||||||
<translation type="unfinished">一个控件,用于显示可用于显示多个文档的选项卡集合。</translation>
|
<translation type="unfinished">一个控件,用于显示可用于显示多个文档的选项卡集合。</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="312"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="300"/>
|
||||||
<source>TreeView</source>
|
<source>TreeView</source>
|
||||||
<translation type="unfinished">树</translation>
|
<translation type="unfinished">树</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="318"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="306"/>
|
||||||
<source>TableView</source>
|
<source>TableView</source>
|
||||||
<translation type="unfinished">表格</translation>
|
<translation type="unfinished">表格</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="320"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="308"/>
|
||||||
<source>The TableView control provides a flexible way to display a collection of data in rows and columns</source>
|
<source>The TableView control provides a flexible way to display a collection of data in rows and columns</source>
|
||||||
<translation type="unfinished">TableView 控件提供了一种以行和列形式显示数据集合的灵活方法</translation>
|
<translation type="unfinished">TableView 控件提供了一种以行和列形式显示数据集合的灵活方法</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="325"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="313"/>
|
||||||
<source>Pagination</source>
|
<source>Pagination</source>
|
||||||
<translation type="unfinished">分页</translation>
|
<translation type="unfinished">分页</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="331"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="319"/>
|
||||||
<source>MultiWindow</source>
|
<source>MultiWindow</source>
|
||||||
<translation type="unfinished">多窗口</translation>
|
<translation type="unfinished">多窗口</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="337"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="325"/>
|
||||||
<source>FlipView</source>
|
<source>FlipView</source>
|
||||||
<translation type="unfinished">翻转视图</translation>
|
<translation type="unfinished">翻转视图</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="339"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="327"/>
|
||||||
<source>Presents a collection of items that the user canflip through, one item at a time.</source>
|
<source>Presents a collection of items that the user canflip through, one item at a time.</source>
|
||||||
<translation type="unfinished">显示用户可以翻阅的项集合,一次翻阅一个项。</translation>
|
<translation type="unfinished">显示用户可以翻阅的项集合,一次翻阅一个项。</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="346"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="334"/>
|
||||||
<source>Theming</source>
|
<source>Theming</source>
|
||||||
<translation type="unfinished">主题</translation>
|
<translation type="unfinished">主题</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="349"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="337"/>
|
||||||
<source>Acrylic</source>
|
<source>Acrylic</source>
|
||||||
<translation type="unfinished">亚克力</translation>
|
<translation type="unfinished">亚克力</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="355"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="343"/>
|
||||||
<source>Theme</source>
|
<source>Theme</source>
|
||||||
<translation type="unfinished">主题</translation>
|
<translation type="unfinished">主题</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="361"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="349"/>
|
||||||
<source>Typography</source>
|
<source>Typography</source>
|
||||||
<translation type="unfinished">字体</translation>
|
<translation type="unfinished">字体</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="367"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="355"/>
|
||||||
<source>Awesome</source>
|
<source>Awesome</source>
|
||||||
<translation type="unfinished">图标</translation>
|
<translation type="unfinished">图标</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="375"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="363"/>
|
||||||
<source>Chart</source>
|
<source>Chart</source>
|
||||||
<translation type="unfinished">图表</translation>
|
<translation type="unfinished">图表</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="378"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="366"/>
|
||||||
<source>Bar Chart</source>
|
<source>Bar Chart</source>
|
||||||
<translation type="unfinished">条形图</translation>
|
<translation type="unfinished">条形图</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="384"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="372"/>
|
||||||
<source>Line Chart</source>
|
<source>Line Chart</source>
|
||||||
<translation type="unfinished">线型图</translation>
|
<translation type="unfinished">线型图</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="390"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="378"/>
|
||||||
<source>Pie Chart</source>
|
<source>Pie Chart</source>
|
||||||
<translation type="unfinished">饼图</translation>
|
<translation type="unfinished">饼图</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="396"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="384"/>
|
||||||
<source>Polar Area Chart</source>
|
<source>Polar Area Chart</source>
|
||||||
<translation type="unfinished">极坐标区域图</translation>
|
<translation type="unfinished">极坐标区域图</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="402"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="390"/>
|
||||||
<source>Bubble Chart</source>
|
<source>Bubble Chart</source>
|
||||||
<translation type="unfinished">气泡图</translation>
|
<translation type="unfinished">气泡图</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="408"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="396"/>
|
||||||
<source>Scatter Chart</source>
|
<source>Scatter Chart</source>
|
||||||
<translation type="unfinished">散点图</translation>
|
<translation type="unfinished">散点图</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="414"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="402"/>
|
||||||
<source>Radar Chart</source>
|
<source>Radar Chart</source>
|
||||||
<translation type="unfinished">雷达图</translation>
|
<translation type="unfinished">雷达图</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="427"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="415"/>
|
||||||
<source>Other</source>
|
<source>Other</source>
|
||||||
<translation type="unfinished">其他</translation>
|
<translation type="unfinished">其他</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="430"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="418"/>
|
||||||
<source>QRCode</source>
|
<source>QRCode</source>
|
||||||
<translation type="unfinished">二维码</translation>
|
<translation type="unfinished">二维码</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="436"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="424"/>
|
||||||
<source>Tour</source>
|
<source>Tour</source>
|
||||||
<translation type="unfinished">游览</translation>
|
<translation type="unfinished">游览</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="442"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="430"/>
|
||||||
<source>Timeline</source>
|
<source>Timeline</source>
|
||||||
<translation type="unfinished">时间轴</translation>
|
<translation type="unfinished">时间轴</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="448"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="436"/>
|
||||||
<source>Captcha</source>
|
<source>Captcha</source>
|
||||||
<translation type="unfinished">验证码</translation>
|
<translation type="unfinished">验证码</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="454"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="442"/>
|
||||||
<source>Network</source>
|
<source>Network</source>
|
||||||
<translation type="unfinished">网络</translation>
|
<translation type="unfinished">网络</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="461"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="449"/>
|
||||||
<source>Remote Loader</source>
|
<source>Remote Loader</source>
|
||||||
<translation type="unfinished">远程加载</translation>
|
<translation type="unfinished">远程加载</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="475"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="463"/>
|
||||||
<source>Hot Loader</source>
|
<source>Hot Loader</source>
|
||||||
<translation type="unfinished">热加载</translation>
|
<translation type="unfinished">热加载</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="481"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="469"/>
|
||||||
<source>3D</source>
|
<source>3D</source>
|
||||||
<translation type="unfinished">3D</translation>
|
<translation type="unfinished">3D</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="qml/global/ItemsOriginal.qml" line="487"/>
|
<location filename="qml/global/ItemsOriginal.qml" line="475"/>
|
||||||
<source>Test Crash</source>
|
<source>Test Crash</source>
|
||||||
<translation type="unfinished">测试崩溃</translation>
|
<translation type="unfinished">测试崩溃</translation>
|
||||||
</message>
|
</message>
|
||||||
@ -1352,42 +1342,6 @@ My only desire is to be permitted to drive out the traitors and restore the Han.
|
|||||||
<translation type="unfinished">垂直方向的翻转视图</translation>
|
<translation type="unfinished">垂直方向的翻转视图</translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
|
||||||
<name>T_GroupBox</name>
|
|
||||||
<message>
|
|
||||||
<location filename="qml/page/T_GroupBox.qml" line="10"/>
|
|
||||||
<source>GroupBox</source>
|
|
||||||
<translation type="unfinished">分组容器</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="qml/page/T_GroupBox.qml" line="13"/>
|
|
||||||
<source>CheckBox Group</source>
|
|
||||||
<translation type="unfinished">复选框分组</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="qml/page/T_GroupBox.qml" line="17"/>
|
|
||||||
<location filename="qml/page/T_GroupBox.qml" line="27"/>
|
|
||||||
<source>E-mail</source>
|
|
||||||
<translation type="unfinished">邮箱</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="qml/page/T_GroupBox.qml" line="18"/>
|
|
||||||
<location filename="qml/page/T_GroupBox.qml" line="28"/>
|
|
||||||
<source>Calendar</source>
|
|
||||||
<translation type="unfinished">日历</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="qml/page/T_GroupBox.qml" line="19"/>
|
|
||||||
<location filename="qml/page/T_GroupBox.qml" line="29"/>
|
|
||||||
<source>Contacts</source>
|
|
||||||
<translation type="unfinished">联系人</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="qml/page/T_GroupBox.qml" line="24"/>
|
|
||||||
<source>RadioButton Group</source>
|
|
||||||
<translation type="unfinished">单选框分组</translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
<context>
|
<context>
|
||||||
<name>T_Home</name>
|
<name>T_Home</name>
|
||||||
<message>
|
<message>
|
||||||
@ -1926,48 +1880,6 @@ My only desire is to be permitted to drive out the traitors and restore the Han.
|
|||||||
<translation type="unfinished">语言</translation>
|
<translation type="unfinished">语言</translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
|
||||||
<name>T_Sheet</name>
|
|
||||||
<message>
|
|
||||||
<location filename="qml/page/T_Sheet.qml" line="10"/>
|
|
||||||
<source>Sheet</source>
|
|
||||||
<translation type="unfinished">抽屉</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="qml/page/T_Sheet.qml" line="14"/>
|
|
||||||
<source>Title</source>
|
|
||||||
<translation type="unfinished">标题</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="qml/page/T_Sheet.qml" line="16"/>
|
|
||||||
<source>Some contents...
|
|
||||||
Some contents...
|
|
||||||
Some contents...</source>
|
|
||||||
<translation type="unfinished">一些内容...
|
|
||||||
一些内容...
|
|
||||||
一些内容...</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="qml/page/T_Sheet.qml" line="36"/>
|
|
||||||
<source>top</source>
|
|
||||||
<translation type="unfinished">上</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="qml/page/T_Sheet.qml" line="44"/>
|
|
||||||
<source>right</source>
|
|
||||||
<translation type="unfinished">右</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="qml/page/T_Sheet.qml" line="55"/>
|
|
||||||
<source>bottom</source>
|
|
||||||
<translation type="unfinished">下</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="qml/page/T_Sheet.qml" line="63"/>
|
|
||||||
<source>left</source>
|
|
||||||
<translation type="unfinished">左</translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
<context>
|
<context>
|
||||||
<name>T_ShortcutPicker</name>
|
<name>T_ShortcutPicker</name>
|
||||||
<message>
|
<message>
|
||||||
|
@ -137,9 +137,7 @@ FluExpander{
|
|||||||
"FluNetwork",
|
"FluNetwork",
|
||||||
"FluShortcutPicker",
|
"FluShortcutPicker",
|
||||||
"FluWindowResultLauncher",
|
"FluWindowResultLauncher",
|
||||||
"FluRouter",
|
"FluRouter"
|
||||||
"FluGroupBox",
|
|
||||||
"FluSheet",
|
|
||||||
];
|
];
|
||||||
code = code.replace(/\n/g, "<br>");
|
code = code.replace(/\n/g, "<br>");
|
||||||
code = code.replace(/ /g, " ");
|
code = code.replace(/ /g, " ");
|
||||||
|
@ -104,12 +104,6 @@ FluObject{
|
|||||||
url: "qrc:/example/qml/page/T_ToggleSwitch.qml"
|
url: "qrc:/example/qml/page/T_ToggleSwitch.qml"
|
||||||
onTap: { navigationView.push(url) }
|
onTap: { navigationView.push(url) }
|
||||||
}
|
}
|
||||||
FluPaneItem{
|
|
||||||
title: qsTr("GroupBox")
|
|
||||||
menuDelegate: paneItemMenu
|
|
||||||
url: "qrc:/example/qml/page/T_GroupBox.qml"
|
|
||||||
onTap: { navigationView.push(url) }
|
|
||||||
}
|
|
||||||
FluPaneItem{
|
FluPaneItem{
|
||||||
title: qsTr("PaneItem Disabled")
|
title: qsTr("PaneItem Disabled")
|
||||||
disabled: true
|
disabled: true
|
||||||
@ -277,12 +271,6 @@ FluObject{
|
|||||||
url: "qrc:/example/qml/page/T_Menu.qml"
|
url: "qrc:/example/qml/page/T_Menu.qml"
|
||||||
onTap: { navigationView.push(url) }
|
onTap: { navigationView.push(url) }
|
||||||
}
|
}
|
||||||
FluPaneItem{
|
|
||||||
title: qsTr("Sheet")
|
|
||||||
menuDelegate: paneItemMenu
|
|
||||||
url: "qrc:/example/qml/page/T_Sheet.qml"
|
|
||||||
onTap: { navigationView.push(url) }
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
FluPaneItemExpander{
|
FluPaneItemExpander{
|
||||||
|
@ -1,48 +0,0 @@
|
|||||||
import QtQuick 2.15
|
|
||||||
import QtQuick.Controls 2.15
|
|
||||||
import QtQuick.Layouts 1.15
|
|
||||||
import QtQuick.Window 2.15
|
|
||||||
import FluentUI 1.0
|
|
||||||
import "../component"
|
|
||||||
|
|
||||||
FluScrollablePage{
|
|
||||||
|
|
||||||
title: qsTr("GroupBox")
|
|
||||||
|
|
||||||
FluGroupBox {
|
|
||||||
title: qsTr("CheckBox Group")
|
|
||||||
ColumnLayout {
|
|
||||||
spacing: 10
|
|
||||||
anchors.fill: parent
|
|
||||||
FluCheckBox { text: qsTr("E-mail") }
|
|
||||||
FluCheckBox { text: qsTr("Calendar") }
|
|
||||||
FluCheckBox { text: qsTr("Contacts") }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
FluGroupBox {
|
|
||||||
title: qsTr("RadioButton Group")
|
|
||||||
FluRadioButtons {
|
|
||||||
spacing: 10
|
|
||||||
FluRadioButton { text: qsTr("E-mail") }
|
|
||||||
FluRadioButton { text: qsTr("Calendar") }
|
|
||||||
FluRadioButton { text: qsTr("Contacts") }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
CodeExpander{
|
|
||||||
Layout.fillWidth: true
|
|
||||||
Layout.topMargin: 4
|
|
||||||
code:'FluGroupBox {
|
|
||||||
title: qsTr("CheckBox Group")
|
|
||||||
ColumnLayout {
|
|
||||||
spacing: 10
|
|
||||||
anchors.fill: parent
|
|
||||||
FluCheckBox { text: qsTr("E-mail") }
|
|
||||||
FluCheckBox { text: qsTr("Calendar") }
|
|
||||||
FluCheckBox { text: qsTr("Contacts") }
|
|
||||||
}
|
|
||||||
}'
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
@ -7,6 +7,7 @@ import "../component"
|
|||||||
|
|
||||||
FluPage{
|
FluPage{
|
||||||
launchMode: FluPageType.SingleTop
|
launchMode: FluPageType.SingleTop
|
||||||
|
header:Item{}
|
||||||
FluRemoteLoader{
|
FluRemoteLoader{
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
source: "https://zhu-zichu.gitee.io/Qt_174_RemoteLoader.qml"
|
source: "https://zhu-zichu.gitee.io/Qt_174_RemoteLoader.qml"
|
||||||
|
@ -1,90 +0,0 @@
|
|||||||
import QtQuick 2.15
|
|
||||||
import QtQuick.Layouts 1.15
|
|
||||||
import QtQuick.Controls 2.15
|
|
||||||
import QtQuick.Window 2.15
|
|
||||||
import FluentUI 1.0
|
|
||||||
import "../component"
|
|
||||||
|
|
||||||
FluScrollablePage{
|
|
||||||
|
|
||||||
title: qsTr("Sheet")
|
|
||||||
|
|
||||||
FluSheet{
|
|
||||||
id:sheet
|
|
||||||
title: qsTr("Title")
|
|
||||||
FluText{
|
|
||||||
text: qsTr("Some contents...\nSome contents...\nSome contents...")
|
|
||||||
anchors{
|
|
||||||
left: parent.left
|
|
||||||
leftMargin: 10
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
FluFrame{
|
|
||||||
Layout.fillWidth: true
|
|
||||||
Layout.preferredHeight: 280
|
|
||||||
padding: 10
|
|
||||||
Column{
|
|
||||||
anchors.centerIn: parent
|
|
||||||
spacing: 10
|
|
||||||
Row{
|
|
||||||
spacing: 10
|
|
||||||
FluButton{
|
|
||||||
width: 80
|
|
||||||
height: 30
|
|
||||||
text: qsTr("top")
|
|
||||||
onClicked: {
|
|
||||||
sheet.open(FluSheetType.Top)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
FluButton{
|
|
||||||
width: 80
|
|
||||||
height: 30
|
|
||||||
text: qsTr("right")
|
|
||||||
onClicked: {
|
|
||||||
sheet.open(FluSheetType.Right)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Row{
|
|
||||||
spacing: 10
|
|
||||||
FluButton{
|
|
||||||
width: 80
|
|
||||||
height: 30
|
|
||||||
text: qsTr("bottom")
|
|
||||||
onClicked: {
|
|
||||||
sheet.open(FluSheetType.Bottom)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
FluButton{
|
|
||||||
width: 80
|
|
||||||
height: 30
|
|
||||||
text: qsTr("left")
|
|
||||||
onClicked: {
|
|
||||||
sheet.open(FluSheetType.Left)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
CodeExpander{
|
|
||||||
Layout.fillWidth: true
|
|
||||||
Layout.topMargin: -6
|
|
||||||
code:'FluSheet{
|
|
||||||
id:sheet
|
|
||||||
title: qsTr("Title")
|
|
||||||
FluText{
|
|
||||||
text: qsTr("Some contents...")
|
|
||||||
anchors{
|
|
||||||
left: parent.left
|
|
||||||
leftMargin: 10
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
sheet.open(FluSheetType.Bottom)
|
|
||||||
'
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
11
src/Def.h
11
src/Def.h
@ -4,17 +4,6 @@
|
|||||||
#include <QObject>
|
#include <QObject>
|
||||||
#include <QtQml/qqml.h>
|
#include <QtQml/qqml.h>
|
||||||
|
|
||||||
namespace FluSheetType {
|
|
||||||
Q_NAMESPACE
|
|
||||||
enum Position {
|
|
||||||
Left = 0x0000,
|
|
||||||
Top = 0x0001,
|
|
||||||
Right = 0x0002,
|
|
||||||
Bottom = 0x0004,
|
|
||||||
};
|
|
||||||
Q_ENUM_NS(Position)
|
|
||||||
QML_NAMED_ELEMENT(FluSheetType)
|
|
||||||
}
|
|
||||||
|
|
||||||
namespace FluThemeType {
|
namespace FluThemeType {
|
||||||
Q_NAMESPACE
|
Q_NAMESPACE
|
||||||
|
@ -142,7 +142,6 @@ bool FluFrameless::nativeEventFilter(const QByteArray &eventType, void *message,
|
|||||||
}else{
|
}else{
|
||||||
offsetSize = 1;
|
offsetSize = 1;
|
||||||
}
|
}
|
||||||
_maximizeButton->setProperty("hover",false);
|
|
||||||
if(!isCompositionEnabled()){
|
if(!isCompositionEnabled()){
|
||||||
offsetSize = 0;
|
offsetSize = 0;
|
||||||
}
|
}
|
||||||
@ -159,11 +158,8 @@ bool FluFrameless::nativeEventFilter(const QByteArray &eventType, void *message,
|
|||||||
if (*result == HTNOWHERE) {
|
if (*result == HTNOWHERE) {
|
||||||
*result = HTZOOM;
|
*result = HTZOOM;
|
||||||
}
|
}
|
||||||
_setMaximizeHoverd(true);
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
_setMaximizeHoverd(false);
|
|
||||||
_setMaximizePressed(false);
|
|
||||||
*result = 0;
|
*result = 0;
|
||||||
POINT nativeGlobalPos{GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam)};
|
POINT nativeGlobalPos{GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam)};
|
||||||
POINT nativeLocalPos = nativeGlobalPos;
|
POINT nativeLocalPos = nativeGlobalPos;
|
||||||
@ -209,14 +205,12 @@ bool FluFrameless::nativeEventFilter(const QByteArray &eventType, void *message,
|
|||||||
if(_hitMaximizeButton()){
|
if(_hitMaximizeButton()){
|
||||||
QMouseEvent event = QMouseEvent(QEvent::MouseButtonPress, QPoint(), QPoint(), Qt::LeftButton, Qt::LeftButton, Qt::NoModifier);
|
QMouseEvent event = QMouseEvent(QEvent::MouseButtonPress, QPoint(), QPoint(), Qt::LeftButton, Qt::LeftButton, Qt::NoModifier);
|
||||||
QGuiApplication::sendEvent(_maximizeButton,&event);
|
QGuiApplication::sendEvent(_maximizeButton,&event);
|
||||||
_setMaximizePressed(true);
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}else if(uMsg == WM_NCLBUTTONUP || uMsg == WM_NCRBUTTONUP){
|
}else if(uMsg == WM_NCLBUTTONUP || uMsg == WM_NCRBUTTONUP){
|
||||||
if(_hitMaximizeButton()){
|
if(_hitMaximizeButton()){
|
||||||
QMouseEvent event = QMouseEvent(QEvent::MouseButtonRelease, QPoint(), QPoint(), Qt::LeftButton, Qt::LeftButton, Qt::NoModifier);
|
QMouseEvent event = QMouseEvent(QEvent::MouseButtonRelease, QPoint(), QPoint(), Qt::LeftButton, Qt::LeftButton, Qt::NoModifier);
|
||||||
QGuiApplication::sendEvent(_maximizeButton,&event);
|
QGuiApplication::sendEvent(_maximizeButton,&event);
|
||||||
_setMaximizePressed(false);
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}else if(uMsg == WM_NCPAINT){
|
}else if(uMsg == WM_NCPAINT){
|
||||||
@ -337,14 +331,6 @@ bool FluFrameless::_hitMaximizeButton(){
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
void FluFrameless::_setMaximizePressed(bool val){
|
|
||||||
_maximizeButton->setProperty("down",val);
|
|
||||||
}
|
|
||||||
|
|
||||||
void FluFrameless::_setMaximizeHoverd(bool val){
|
|
||||||
_maximizeButton->setProperty("hover",val);
|
|
||||||
}
|
|
||||||
|
|
||||||
void FluFrameless::_updateCursor(int edges){
|
void FluFrameless::_updateCursor(int edges){
|
||||||
switch (edges) {
|
switch (edges) {
|
||||||
case 0:
|
case 0:
|
||||||
@ -391,9 +377,7 @@ void FluFrameless::showNormal(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
void FluFrameless::setHitTestVisible(QQuickItem* val){
|
void FluFrameless::setHitTestVisible(QQuickItem* val){
|
||||||
if(!_hitTestList.contains(val)){
|
_hitTestList.append(val);
|
||||||
_hitTestList.append(val);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -47,8 +47,6 @@ private:
|
|||||||
bool _containsCursorToItem(QQuickItem* item);
|
bool _containsCursorToItem(QQuickItem* item);
|
||||||
bool _hitAppBar();
|
bool _hitAppBar();
|
||||||
bool _hitMaximizeButton();
|
bool _hitMaximizeButton();
|
||||||
void _setMaximizePressed(bool val);
|
|
||||||
void _setMaximizeHoverd(bool val);
|
|
||||||
private:
|
private:
|
||||||
qint64 _current;
|
qint64 _current;
|
||||||
int _edges = 0;
|
int _edges = 0;
|
||||||
|
@ -124,8 +124,6 @@ void FluentUI::registerTypes(const char *uri){
|
|||||||
qmlRegisterType(QUrl("qrc:/qt/qml/FluentUI/Controls/FluWindowResultLauncher.qml"),uri,major,minor,"FluWindowResultLauncher");
|
qmlRegisterType(QUrl("qrc:/qt/qml/FluentUI/Controls/FluWindowResultLauncher.qml"),uri,major,minor,"FluWindowResultLauncher");
|
||||||
qmlRegisterType(QUrl("qrc:/qt/qml/FluentUI/Controls/FluLauncher.qml"),uri,major,minor,"FluLauncher");
|
qmlRegisterType(QUrl("qrc:/qt/qml/FluentUI/Controls/FluLauncher.qml"),uri,major,minor,"FluLauncher");
|
||||||
qmlRegisterType(QUrl("qrc:/qt/qml/FluentUI/Controls/FluEvent.qml"),uri,major,minor,"FluEvent");
|
qmlRegisterType(QUrl("qrc:/qt/qml/FluentUI/Controls/FluEvent.qml"),uri,major,minor,"FluEvent");
|
||||||
qmlRegisterType(QUrl("qrc:/qt/qml/FluentUI/Controls/FluSheet.qml"),uri,major,minor,"FluSheet");
|
|
||||||
qmlRegisterType(QUrl("qrc:/qt/qml/FluentUI/Controls/FluGroupBox.qml"),uri,major,minor,"FluGroupBox");
|
|
||||||
qmlRegisterSingletonType(QUrl("qrc:/qt/qml/FluentUI/Controls/FluRouter.qml"),uri,major,minor,"FluRouter");
|
qmlRegisterSingletonType(QUrl("qrc:/qt/qml/FluentUI/Controls/FluRouter.qml"),uri,major,minor,"FluRouter");
|
||||||
qmlRegisterSingletonType(QUrl("qrc:/qt/qml/FluentUI/Controls/FluEventBus.qml"),uri,major,minor,"FluEventBus");
|
qmlRegisterSingletonType(QUrl("qrc:/qt/qml/FluentUI/Controls/FluEventBus.qml"),uri,major,minor,"FluEventBus");
|
||||||
|
|
||||||
@ -141,7 +139,6 @@ void FluentUI::registerTypes(const char *uri){
|
|||||||
qmlRegisterUncreatableMetaObject(FluTabViewType::staticMetaObject, uri,major,minor,"FluTabViewType", "Access to enums & flags only");
|
qmlRegisterUncreatableMetaObject(FluTabViewType::staticMetaObject, uri,major,minor,"FluTabViewType", "Access to enums & flags only");
|
||||||
qmlRegisterUncreatableMetaObject(FluNavigationViewType::staticMetaObject, uri,major,minor,"FluNavigationViewType", "Access to enums & flags only");
|
qmlRegisterUncreatableMetaObject(FluNavigationViewType::staticMetaObject, uri,major,minor,"FluNavigationViewType", "Access to enums & flags only");
|
||||||
qmlRegisterUncreatableMetaObject(FluTimelineType::staticMetaObject, uri,major,minor,"FluTimelineType", "Access to enums & flags only");
|
qmlRegisterUncreatableMetaObject(FluTimelineType::staticMetaObject, uri,major,minor,"FluTimelineType", "Access to enums & flags only");
|
||||||
qmlRegisterUncreatableMetaObject(FluSheetType::staticMetaObject, uri,major,minor,"FluSheetType", "Access to enums & flags only");
|
|
||||||
|
|
||||||
qmlRegisterModule(uri,major,minor);
|
qmlRegisterModule(uri,major,minor);
|
||||||
#endif
|
#endif
|
||||||
|
@ -225,7 +225,6 @@ Rectangle{
|
|||||||
}
|
}
|
||||||
FluIconButton{
|
FluIconButton{
|
||||||
id:btn_maximize
|
id:btn_maximize
|
||||||
property bool hover: btn_maximize.hovered
|
|
||||||
Layout.preferredWidth: 40
|
Layout.preferredWidth: 40
|
||||||
Layout.preferredHeight: 30
|
Layout.preferredHeight: 30
|
||||||
padding: 0
|
padding: 0
|
||||||
@ -233,10 +232,10 @@ Rectangle{
|
|||||||
horizontalPadding: 0
|
horizontalPadding: 0
|
||||||
iconSource : d.isRestore ? FluentIcons.ChromeRestore : FluentIcons.ChromeMaximize
|
iconSource : d.isRestore ? FluentIcons.ChromeRestore : FluentIcons.ChromeMaximize
|
||||||
color: {
|
color: {
|
||||||
if(down){
|
if(pressed){
|
||||||
return maximizePressColor
|
return maximizePressColor
|
||||||
}
|
}
|
||||||
return btn_maximize.hover ? maximizeHoverColor : maximizeNormalColor
|
return hovered ? maximizeHoverColor : maximizeNormalColor
|
||||||
}
|
}
|
||||||
Layout.alignment: Qt.AlignVCenter
|
Layout.alignment: Qt.AlignVCenter
|
||||||
visible: d.resizable && !isMac && showMaximize
|
visible: d.resizable && !isMac && showMaximize
|
||||||
|
@ -41,8 +41,6 @@ Button {
|
|||||||
visible: control.activeFocus
|
visible: control.activeFocus
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
focusPolicy:Qt.TabFocus
|
|
||||||
font:FluTextStyle.Body
|
|
||||||
horizontalPadding:0
|
horizontalPadding:0
|
||||||
verticalPadding: 0
|
verticalPadding: 0
|
||||||
padding: 0
|
padding: 0
|
||||||
@ -50,6 +48,7 @@ Button {
|
|||||||
Accessible.name: control.text
|
Accessible.name: control.text
|
||||||
Accessible.description: contentDescription
|
Accessible.description: contentDescription
|
||||||
Accessible.onPressAction: control.clicked()
|
Accessible.onPressAction: control.clicked()
|
||||||
|
focusPolicy:Qt.TabFocus
|
||||||
contentItem: RowLayout{
|
contentItem: RowLayout{
|
||||||
spacing: control.textSpacing
|
spacing: control.textSpacing
|
||||||
layoutDirection:control.textRight ? Qt.LeftToRight : Qt.RightToLeft
|
layoutDirection:control.textRight ? Qt.LeftToRight : Qt.RightToLeft
|
||||||
@ -134,7 +133,6 @@ Button {
|
|||||||
text: control.text
|
text: control.text
|
||||||
Layout.alignment: Qt.AlignVCenter
|
Layout.alignment: Qt.AlignVCenter
|
||||||
visible: text !== ""
|
visible: text !== ""
|
||||||
font: control.font
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,39 +0,0 @@
|
|||||||
import QtQuick 2.15
|
|
||||||
import QtQuick.Controls 2.15
|
|
||||||
import QtQuick.Window 2.15
|
|
||||||
import QtQuick.Controls.impl 2.15
|
|
||||||
import QtQuick.Templates 2.15 as T
|
|
||||||
import FluentUI 1.0
|
|
||||||
|
|
||||||
T.GroupBox {
|
|
||||||
id: control
|
|
||||||
property int borderWidth : 1
|
|
||||||
property color borderColor : FluTheme.dark ? Window.active ? Qt.rgba(55/255,55/255,55/255,1):Qt.rgba(45/255,45/255,45/255,1) : Qt.rgba(226/255,229/255,234/255,1)
|
|
||||||
property color color: FluTheme.dark ? Window.active ? Qt.rgba(38/255,44/255,54/255,1) : Qt.rgba(39/255,39/255,39/255,1) : Qt.rgba(251/255,251/255,253/255,1)
|
|
||||||
property int radius: 4
|
|
||||||
implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset,
|
|
||||||
contentWidth + leftPadding + rightPadding,
|
|
||||||
implicitLabelWidth + leftPadding + rightPadding)
|
|
||||||
implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset,
|
|
||||||
contentHeight + topPadding + bottomPadding)
|
|
||||||
spacing: 6
|
|
||||||
padding: 12
|
|
||||||
font: FluTextStyle.Body
|
|
||||||
topPadding: padding + (implicitLabelWidth > 0 ? implicitLabelHeight + spacing : 0)
|
|
||||||
label: FluText {
|
|
||||||
width: control.availableWidth
|
|
||||||
text: control.title
|
|
||||||
font: FluTextStyle.BodyStrong
|
|
||||||
elide: Text.ElideRight
|
|
||||||
verticalAlignment: Text.AlignVCenter
|
|
||||||
}
|
|
||||||
background: Rectangle {
|
|
||||||
y: control.topPadding - control.bottomPadding
|
|
||||||
width: parent.width
|
|
||||||
height: parent.height - control.topPadding + control.bottomPadding
|
|
||||||
radius: control.radius
|
|
||||||
border.color: control.borderColor
|
|
||||||
border.width: control.borderWidth
|
|
||||||
color: control.color
|
|
||||||
}
|
|
||||||
}
|
|
@ -16,7 +16,7 @@ Page {
|
|||||||
transform: Translate {
|
transform: Translate {
|
||||||
y: control.visible ? 0 : 80
|
y: control.visible ? 0 : 80
|
||||||
Behavior on y{
|
Behavior on y{
|
||||||
enabled: control.animationEnabled && FluTheme.animationEnabled
|
enabled: control.animationEnabled
|
||||||
NumberAnimation{
|
NumberAnimation{
|
||||||
duration: 167
|
duration: 167
|
||||||
easing.type: Easing.OutCubic
|
easing.type: Easing.OutCubic
|
||||||
@ -24,27 +24,21 @@ Page {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
Behavior on opacity {
|
Behavior on opacity {
|
||||||
enabled: control.animationEnabled && FluTheme.animationEnabled
|
enabled: control.animationEnabled
|
||||||
NumberAnimation{
|
NumberAnimation{
|
||||||
duration: 83
|
duration: 83
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
background: Item{}
|
background: Item{}
|
||||||
header: FluLoader{
|
header: Item{
|
||||||
sourceComponent: control.title === "" ? undefined : com_header
|
implicitHeight: 40
|
||||||
}
|
FluText{
|
||||||
Component{
|
id:text_title
|
||||||
id: com_header
|
text: control.title
|
||||||
Item{
|
font: FluTextStyle.Title
|
||||||
implicitHeight: 40
|
anchors{
|
||||||
FluText{
|
left: parent.left
|
||||||
id:text_title
|
leftMargin: 5
|
||||||
text: control.title
|
|
||||||
font: FluTextStyle.Title
|
|
||||||
anchors{
|
|
||||||
left: parent.left
|
|
||||||
leftMargin: 5
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -92,7 +92,6 @@ Button {
|
|||||||
id:btn_text
|
id:btn_text
|
||||||
text: control.text
|
text: control.text
|
||||||
Layout.alignment: Qt.AlignVCenter
|
Layout.alignment: Qt.AlignVCenter
|
||||||
visible: text !== ""
|
|
||||||
font: control.font
|
font: control.font
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -4,7 +4,7 @@ import FluentUI 1.0
|
|||||||
|
|
||||||
Item {
|
Item {
|
||||||
//高性能阴影!!!比DropShadow阴影性能高出数倍!!!
|
//高性能阴影!!!比DropShadow阴影性能高出数倍!!!
|
||||||
property color color: FluTheme.dark ? "#AAAAAA" : "#999999"
|
property color color: FluTheme.dark ? "#FFFFFF" : "#999999"
|
||||||
property int elevation: 6
|
property int elevation: 6
|
||||||
property int radius: 4
|
property int radius: 4
|
||||||
id:control
|
id:control
|
||||||
|
@ -1,210 +0,0 @@
|
|||||||
import QtQuick 2.15
|
|
||||||
import QtQuick.Layouts 1.15
|
|
||||||
import QtQuick.Controls 2.15
|
|
||||||
import QtQuick.Window 2.15
|
|
||||||
import FluentUI 1.0
|
|
||||||
|
|
||||||
Popup {
|
|
||||||
id: control
|
|
||||||
default property alias content : container.contentData
|
|
||||||
property string title
|
|
||||||
property var header : Item{
|
|
||||||
implicitHeight: 40
|
|
||||||
FluIconButton{
|
|
||||||
id: btn_close
|
|
||||||
iconSource: FluentIcons.Clear
|
|
||||||
iconSize: 15
|
|
||||||
verticalPadding: 6
|
|
||||||
horizontalPadding: 6
|
|
||||||
width: 30
|
|
||||||
height: 30
|
|
||||||
anchors{
|
|
||||||
verticalCenter: parent.verticalCenter
|
|
||||||
left: parent.left
|
|
||||||
leftMargin: 5
|
|
||||||
}
|
|
||||||
onClicked: {
|
|
||||||
control.visible = false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
FluText{
|
|
||||||
id:text_title
|
|
||||||
text: control.title
|
|
||||||
font: FluTextStyle.Subtitle
|
|
||||||
anchors{
|
|
||||||
verticalCenter: parent.verticalCenter
|
|
||||||
left: btn_close.right
|
|
||||||
leftMargin: 5
|
|
||||||
right: parent.right
|
|
||||||
rightMargin: 5
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
property int size: 278
|
|
||||||
|
|
||||||
closePolicy: Popup.CloseOnEscape | Popup.CloseOnPressOutside
|
|
||||||
padding: 0
|
|
||||||
modal:true
|
|
||||||
parent: Overlay.overlay
|
|
||||||
enter: {
|
|
||||||
if(d.position === FluSheetType.Top){
|
|
||||||
return enter_top
|
|
||||||
}else if(d.position === FluSheetType.Left){
|
|
||||||
return enter_left
|
|
||||||
}else if(d.position === FluSheetType.Right){
|
|
||||||
return enter_right
|
|
||||||
}else{
|
|
||||||
return enter_bottom
|
|
||||||
}
|
|
||||||
}
|
|
||||||
exit: {
|
|
||||||
if(d.position === FluSheetType.Top){
|
|
||||||
return exit_top
|
|
||||||
}else if(d.position === FluSheetType.Left){
|
|
||||||
return exit_left
|
|
||||||
}else if(d.position === FluSheetType.Right){
|
|
||||||
return exit_right
|
|
||||||
}else{
|
|
||||||
return exit_bottom
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Item {
|
|
||||||
id: d
|
|
||||||
property var win: Window.window
|
|
||||||
onWinChanged: {
|
|
||||||
if(win instanceof FluWindow){
|
|
||||||
win.setHitTestVisible(container)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
property int position: FluSheetType.Bottom
|
|
||||||
property int parentHeight: {
|
|
||||||
if(control.parent){
|
|
||||||
return control.parent.height
|
|
||||||
}
|
|
||||||
return control.height
|
|
||||||
}
|
|
||||||
property int parentWidth: {
|
|
||||||
if(control.parent){
|
|
||||||
return control.parent.width
|
|
||||||
}
|
|
||||||
return control.width
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Transition {
|
|
||||||
id:enter_right
|
|
||||||
onRunningChanged: {
|
|
||||||
if(!running){
|
|
||||||
control.x = Qt.binding(function(){return d.parentWidth - control.width})
|
|
||||||
}
|
|
||||||
}
|
|
||||||
NumberAnimation{
|
|
||||||
property: "x"
|
|
||||||
duration: 167
|
|
||||||
from: d.parentWidth
|
|
||||||
to: d.parentWidth - control.width
|
|
||||||
easing.type: Easing.OutCubic
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Transition {
|
|
||||||
id:exit_right
|
|
||||||
NumberAnimation{
|
|
||||||
property: "x"
|
|
||||||
duration: 167
|
|
||||||
from: d.parentWidth - control.width
|
|
||||||
to: d.parentWidth
|
|
||||||
easing.type: Easing.OutCubic
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Transition {
|
|
||||||
id:enter_left
|
|
||||||
NumberAnimation{
|
|
||||||
property: "x"
|
|
||||||
duration: 167
|
|
||||||
from: -control.width
|
|
||||||
to: 0
|
|
||||||
easing.type: Easing.OutCubic
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Transition {
|
|
||||||
id:exit_left
|
|
||||||
NumberAnimation{
|
|
||||||
property: "x"
|
|
||||||
duration: 167
|
|
||||||
from: 0
|
|
||||||
to: -control.width
|
|
||||||
easing.type: Easing.OutCubic
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Transition {
|
|
||||||
id:enter_top
|
|
||||||
NumberAnimation{
|
|
||||||
property: "y"
|
|
||||||
duration: 167
|
|
||||||
from: -control.height
|
|
||||||
to: 0
|
|
||||||
easing.type: Easing.OutCubic
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Transition {
|
|
||||||
id:exit_top
|
|
||||||
NumberAnimation{
|
|
||||||
property: "y"
|
|
||||||
duration: 167
|
|
||||||
from: 0
|
|
||||||
to: -control.height
|
|
||||||
easing.type: Easing.OutCubic
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Transition {
|
|
||||||
id:enter_bottom
|
|
||||||
onRunningChanged: {
|
|
||||||
if(!running){
|
|
||||||
control.y = Qt.binding(function(){return d.parentHeight - control.height})
|
|
||||||
}
|
|
||||||
}
|
|
||||||
NumberAnimation{
|
|
||||||
property: "y"
|
|
||||||
duration: 167
|
|
||||||
from: d.parentHeight
|
|
||||||
to: d.parentHeight - control.height
|
|
||||||
easing.type: Easing.OutCubic
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Transition {
|
|
||||||
id:exit_bottom
|
|
||||||
NumberAnimation{
|
|
||||||
property: "y"
|
|
||||||
duration: 167
|
|
||||||
from: d.parentHeight - control.height
|
|
||||||
to: d.parentHeight
|
|
||||||
easing.type: Easing.OutCubic
|
|
||||||
}
|
|
||||||
}
|
|
||||||
background: Rectangle {
|
|
||||||
FluShadow{
|
|
||||||
radius: 0
|
|
||||||
}
|
|
||||||
border.color: FluTheme.dark ? Window.active ? Qt.rgba(55/255,55/255,55/255,1):Qt.rgba(45/255,45/255,45/255,1) : Qt.rgba(226/255,229/255,234/255,1)
|
|
||||||
color: FluTheme.dark ? Window.active ? Qt.rgba(38/255,44/255,54/255,1) : Qt.rgba(39/255,39/255,39/255,1) : Qt.rgba(251/255,251/255,253/255,1)
|
|
||||||
}
|
|
||||||
Page{
|
|
||||||
id: container
|
|
||||||
anchors.fill: parent
|
|
||||||
header: control.header
|
|
||||||
background: Item{}
|
|
||||||
}
|
|
||||||
function open(position = FluSheetType.Bottom){
|
|
||||||
control.x = 0
|
|
||||||
control.y = 0
|
|
||||||
|
|
||||||
d.position = position
|
|
||||||
if(d.position === FluSheetType.Top || d.position === FluSheetType.Bottom){
|
|
||||||
control.width = Qt.binding(function(){return d.parentWidth})
|
|
||||||
control.height = size
|
|
||||||
}else{
|
|
||||||
control.width = size
|
|
||||||
control.height = Qt.binding(function(){return d.parentHeight})
|
|
||||||
}
|
|
||||||
control.visible = true
|
|
||||||
}
|
|
||||||
}
|
|
@ -143,21 +143,6 @@ Module {
|
|||||||
Property { name: "color"; type: "QColor" }
|
Property { name: "color"; type: "QColor" }
|
||||||
Property { name: "radius"; type: "QList<int>" }
|
Property { name: "radius"; type: "QList<int>" }
|
||||||
}
|
}
|
||||||
Component {
|
|
||||||
name: "FluSheetType"
|
|
||||||
exports: ["FluentUI/FluSheetType 1.0"]
|
|
||||||
isCreatable: false
|
|
||||||
exportMetaObjectRevisions: [0]
|
|
||||||
Enum {
|
|
||||||
name: "Position"
|
|
||||||
values: {
|
|
||||||
"Left": 0,
|
|
||||||
"Top": 1,
|
|
||||||
"Right": 2,
|
|
||||||
"Bottom": 4
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Component {
|
Component {
|
||||||
name: "FluStatusLayoutType"
|
name: "FluStatusLayoutType"
|
||||||
exports: ["FluentUI/FluStatusLayoutType 1.0"]
|
exports: ["FluentUI/FluStatusLayoutType 1.0"]
|
||||||
@ -2211,31 +2196,31 @@ Module {
|
|||||||
Property { name: "darkClickListener"; type: "QVariant" }
|
Property { name: "darkClickListener"; type: "QVariant" }
|
||||||
Property {
|
Property {
|
||||||
name: "buttonStayTop"
|
name: "buttonStayTop"
|
||||||
type: "FluIconButton_QMLTYPE_19"
|
type: "FluIconButton_QMLTYPE_20"
|
||||||
isReadonly: true
|
isReadonly: true
|
||||||
isPointer: true
|
isPointer: true
|
||||||
}
|
}
|
||||||
Property {
|
Property {
|
||||||
name: "buttonMinimize"
|
name: "buttonMinimize"
|
||||||
type: "FluIconButton_QMLTYPE_19"
|
type: "FluIconButton_QMLTYPE_20"
|
||||||
isReadonly: true
|
isReadonly: true
|
||||||
isPointer: true
|
isPointer: true
|
||||||
}
|
}
|
||||||
Property {
|
Property {
|
||||||
name: "buttonMaximize"
|
name: "buttonMaximize"
|
||||||
type: "FluIconButton_QMLTYPE_19"
|
type: "FluIconButton_QMLTYPE_20"
|
||||||
isReadonly: true
|
isReadonly: true
|
||||||
isPointer: true
|
isPointer: true
|
||||||
}
|
}
|
||||||
Property {
|
Property {
|
||||||
name: "buttonClose"
|
name: "buttonClose"
|
||||||
type: "FluIconButton_QMLTYPE_19"
|
type: "FluIconButton_QMLTYPE_20"
|
||||||
isReadonly: true
|
isReadonly: true
|
||||||
isPointer: true
|
isPointer: true
|
||||||
}
|
}
|
||||||
Property {
|
Property {
|
||||||
name: "buttonDark"
|
name: "buttonDark"
|
||||||
type: "FluIconButton_QMLTYPE_19"
|
type: "FluIconButton_QMLTYPE_20"
|
||||||
isReadonly: true
|
isReadonly: true
|
||||||
isPointer: true
|
isPointer: true
|
||||||
}
|
}
|
||||||
@ -2252,6 +2237,20 @@ Module {
|
|||||||
isPointer: true
|
isPointer: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Component {
|
||||||
|
prototype: "QQuickRectangle"
|
||||||
|
name: "FluentUI/FluArea 1.0"
|
||||||
|
exports: ["FluentUI/FluArea 1.0"]
|
||||||
|
exportMetaObjectRevisions: [0]
|
||||||
|
isComposite: true
|
||||||
|
defaultProperty: "contentData"
|
||||||
|
Property { name: "paddings"; type: "int" }
|
||||||
|
Property { name: "leftPadding"; type: "int" }
|
||||||
|
Property { name: "rightPadding"; type: "int" }
|
||||||
|
Property { name: "topPadding"; type: "int" }
|
||||||
|
Property { name: "bottomPadding"; type: "int" }
|
||||||
|
Property { name: "contentData"; type: "QObject"; isList: true; isReadonly: true }
|
||||||
|
}
|
||||||
Component {
|
Component {
|
||||||
prototype: "QQuickTextField"
|
prototype: "QQuickTextField"
|
||||||
name: "FluentUI/FluAutoSuggestBox 1.0"
|
name: "FluentUI/FluAutoSuggestBox 1.0"
|
||||||
@ -2421,7 +2420,7 @@ Module {
|
|||||||
Property { name: "size"; type: "double" }
|
Property { name: "size"; type: "double" }
|
||||||
Property { name: "textRight"; type: "bool" }
|
Property { name: "textRight"; type: "bool" }
|
||||||
Property { name: "textSpacing"; type: "double" }
|
Property { name: "textSpacing"; type: "double" }
|
||||||
Property { name: "animationEnabled"; type: "bool" }
|
Property { name: "enableAnimation"; type: "bool" }
|
||||||
Property { name: "clickListener"; type: "QVariant" }
|
Property { name: "clickListener"; type: "QVariant" }
|
||||||
Property { name: "indeterminate"; type: "bool" }
|
Property { name: "indeterminate"; type: "bool" }
|
||||||
Property { name: "textColor"; type: "QColor" }
|
Property { name: "textColor"; type: "QColor" }
|
||||||
@ -2493,14 +2492,30 @@ Module {
|
|||||||
Signal { name: "positiveClicked" }
|
Signal { name: "positiveClicked" }
|
||||||
}
|
}
|
||||||
Component {
|
Component {
|
||||||
prototype: "QQuickPage"
|
prototype: "QQuickItem"
|
||||||
name: "FluentUI/FluContentPage 1.0"
|
name: "FluentUI/FluContentPage 1.0"
|
||||||
exports: ["FluentUI/FluContentPage 1.0"]
|
exports: ["FluentUI/FluContentPage 1.0"]
|
||||||
exportMetaObjectRevisions: [0]
|
exportMetaObjectRevisions: [0]
|
||||||
isComposite: true
|
isComposite: true
|
||||||
defaultProperty: "contentData"
|
defaultProperty: "content"
|
||||||
|
Property { name: "leftPadding"; type: "int" }
|
||||||
|
Property { name: "topPadding"; type: "int" }
|
||||||
|
Property { name: "rightPadding"; type: "int" }
|
||||||
|
Property { name: "bottomPadding"; type: "int" }
|
||||||
|
Property { name: "title"; type: "string" }
|
||||||
|
Property { name: "content"; type: "QObject"; isList: true; isReadonly: true }
|
||||||
|
Property { name: "color"; type: "QColor" }
|
||||||
|
Property { name: "statusMode"; type: "int" }
|
||||||
|
Property { name: "loadingText"; type: "string" }
|
||||||
|
Property { name: "emptyText"; type: "string" }
|
||||||
|
Property { name: "errorText"; type: "string" }
|
||||||
|
Property { name: "errorButtonText"; type: "string" }
|
||||||
|
Property { name: "loadingItem"; type: "QQmlComponent"; isPointer: true }
|
||||||
|
Property { name: "emptyItem"; type: "QQmlComponent"; isPointer: true }
|
||||||
|
Property { name: "errorItem"; type: "QQmlComponent"; isPointer: true }
|
||||||
|
Signal { name: "errorClicked" }
|
||||||
Property { name: "launchMode"; type: "int" }
|
Property { name: "launchMode"; type: "int" }
|
||||||
Property { name: "animationEnabled"; type: "bool" }
|
Property { name: "animDisabled"; type: "bool" }
|
||||||
Property { name: "url"; type: "string" }
|
Property { name: "url"; type: "string" }
|
||||||
}
|
}
|
||||||
Component {
|
Component {
|
||||||
@ -2674,29 +2689,6 @@ Module {
|
|||||||
defaultProperty: "data"
|
defaultProperty: "data"
|
||||||
Property { name: "radius"; type: "int" }
|
Property { name: "radius"; type: "int" }
|
||||||
}
|
}
|
||||||
Component {
|
|
||||||
prototype: "QQuickFrame"
|
|
||||||
name: "FluentUI/FluFrame 1.0"
|
|
||||||
exports: ["FluentUI/FluFrame 1.0"]
|
|
||||||
exportMetaObjectRevisions: [0]
|
|
||||||
isComposite: true
|
|
||||||
defaultProperty: "contentData"
|
|
||||||
Property { name: "border"; type: "QQuickPen"; isReadonly: true; isPointer: true }
|
|
||||||
Property { name: "color"; type: "QColor" }
|
|
||||||
Property { name: "radius"; type: "double" }
|
|
||||||
}
|
|
||||||
Component {
|
|
||||||
prototype: "QQuickGroupBox"
|
|
||||||
name: "FluentUI/FluGroupBox 1.0"
|
|
||||||
exports: ["FluentUI/FluGroupBox 1.0"]
|
|
||||||
exportMetaObjectRevisions: [0]
|
|
||||||
isComposite: true
|
|
||||||
defaultProperty: "contentData"
|
|
||||||
Property { name: "borderWidth"; type: "int" }
|
|
||||||
Property { name: "borderColor"; type: "QColor" }
|
|
||||||
Property { name: "color"; type: "QColor" }
|
|
||||||
Property { name: "radius"; type: "int" }
|
|
||||||
}
|
|
||||||
Component {
|
Component {
|
||||||
prototype: "QQuickText"
|
prototype: "QQuickText"
|
||||||
name: "FluentUI/FluIcon 1.0"
|
name: "FluentUI/FluIcon 1.0"
|
||||||
@ -2845,7 +2837,7 @@ Module {
|
|||||||
exportMetaObjectRevisions: [0]
|
exportMetaObjectRevisions: [0]
|
||||||
isComposite: true
|
isComposite: true
|
||||||
defaultProperty: "contentData"
|
defaultProperty: "contentData"
|
||||||
Property { name: "animationEnabled"; type: "bool" }
|
Property { name: "enableAnimation"; type: "bool" }
|
||||||
}
|
}
|
||||||
Component {
|
Component {
|
||||||
prototype: "QQuickMenuBar"
|
prototype: "QQuickMenuBar"
|
||||||
@ -2914,15 +2906,15 @@ Module {
|
|||||||
defaultProperty: "data"
|
defaultProperty: "data"
|
||||||
Property { name: "logo"; type: "QUrl" }
|
Property { name: "logo"; type: "QUrl" }
|
||||||
Property { name: "title"; type: "string" }
|
Property { name: "title"; type: "string" }
|
||||||
Property { name: "items"; type: "FluObject_QMLTYPE_134"; isPointer: true }
|
Property { name: "items"; type: "FluObject_QMLTYPE_168"; isPointer: true }
|
||||||
Property { name: "footerItems"; type: "FluObject_QMLTYPE_134"; isPointer: true }
|
Property { name: "footerItems"; type: "FluObject_QMLTYPE_168"; isPointer: true }
|
||||||
Property { name: "displayMode"; type: "int" }
|
Property { name: "displayMode"; type: "int" }
|
||||||
Property { name: "autoSuggestBox"; type: "QQmlComponent"; isPointer: true }
|
Property { name: "autoSuggestBox"; type: "QQmlComponent"; isPointer: true }
|
||||||
Property { name: "actionItem"; type: "QQmlComponent"; isPointer: true }
|
Property { name: "actionItem"; type: "QQmlComponent"; isPointer: true }
|
||||||
Property { name: "topPadding"; type: "int" }
|
Property { name: "topPadding"; type: "int" }
|
||||||
Property { name: "pageMode"; type: "int" }
|
Property { name: "pageMode"; type: "int" }
|
||||||
Property { name: "navItemRightMenu"; type: "FluMenu_QMLTYPE_42"; isPointer: true }
|
Property { name: "navItemRightMenu"; type: "FluMenu_QMLTYPE_32"; isPointer: true }
|
||||||
Property { name: "navItemExpanderRightMenu"; type: "FluMenu_QMLTYPE_42"; isPointer: true }
|
Property { name: "navItemExpanderRightMenu"; type: "FluMenu_QMLTYPE_32"; isPointer: true }
|
||||||
Property { name: "navCompactWidth"; type: "int" }
|
Property { name: "navCompactWidth"; type: "int" }
|
||||||
Property { name: "navTopMargin"; type: "int" }
|
Property { name: "navTopMargin"; type: "int" }
|
||||||
Property { name: "cellHeight"; type: "int" }
|
Property { name: "cellHeight"; type: "int" }
|
||||||
@ -2930,13 +2922,13 @@ Module {
|
|||||||
Property { name: "hideNavAppBar"; type: "bool" }
|
Property { name: "hideNavAppBar"; type: "bool" }
|
||||||
Property {
|
Property {
|
||||||
name: "buttonMenu"
|
name: "buttonMenu"
|
||||||
type: "FluIconButton_QMLTYPE_19"
|
type: "FluIconButton_QMLTYPE_20"
|
||||||
isReadonly: true
|
isReadonly: true
|
||||||
isPointer: true
|
isPointer: true
|
||||||
}
|
}
|
||||||
Property {
|
Property {
|
||||||
name: "buttonBack"
|
name: "buttonBack"
|
||||||
type: "FluIconButton_QMLTYPE_19"
|
type: "FluIconButton_QMLTYPE_20"
|
||||||
isReadonly: true
|
isReadonly: true
|
||||||
isPointer: true
|
isPointer: true
|
||||||
}
|
}
|
||||||
@ -2973,14 +2965,14 @@ Module {
|
|||||||
Property { name: "children"; type: "QObject"; isList: true; isReadonly: true }
|
Property { name: "children"; type: "QObject"; isList: true; isReadonly: true }
|
||||||
}
|
}
|
||||||
Component {
|
Component {
|
||||||
prototype: "QQuickPage"
|
prototype: "QQuickItem"
|
||||||
name: "FluentUI/FluPage 1.0"
|
name: "FluentUI/FluPage 1.0"
|
||||||
exports: ["FluentUI/FluPage 1.0"]
|
exports: ["FluentUI/FluPage 1.0"]
|
||||||
exportMetaObjectRevisions: [0]
|
exportMetaObjectRevisions: [0]
|
||||||
isComposite: true
|
isComposite: true
|
||||||
defaultProperty: "contentData"
|
defaultProperty: "data"
|
||||||
Property { name: "launchMode"; type: "int" }
|
Property { name: "launchMode"; type: "int" }
|
||||||
Property { name: "animationEnabled"; type: "bool" }
|
Property { name: "animDisabled"; type: "bool" }
|
||||||
Property { name: "url"; type: "string" }
|
Property { name: "url"; type: "string" }
|
||||||
}
|
}
|
||||||
Component {
|
Component {
|
||||||
@ -3015,7 +3007,7 @@ Module {
|
|||||||
exports: ["FluentUI/FluPaneItem 1.0"]
|
exports: ["FluentUI/FluPaneItem 1.0"]
|
||||||
exportMetaObjectRevisions: [0]
|
exportMetaObjectRevisions: [0]
|
||||||
isComposite: true
|
isComposite: true
|
||||||
Property { name: "key"; type: "string" }
|
Property { name: "key"; type: "string"; isReadonly: true }
|
||||||
Property { name: "_idx"; type: "int" }
|
Property { name: "_idx"; type: "int" }
|
||||||
Property { name: "_ext"; type: "QVariant" }
|
Property { name: "_ext"; type: "QVariant" }
|
||||||
Property { name: "_parent"; type: "QVariant" }
|
Property { name: "_parent"; type: "QVariant" }
|
||||||
@ -3041,7 +3033,7 @@ Module {
|
|||||||
exports: ["FluentUI/FluPaneItemEmpty 1.0"]
|
exports: ["FluentUI/FluPaneItemEmpty 1.0"]
|
||||||
exportMetaObjectRevisions: [0]
|
exportMetaObjectRevisions: [0]
|
||||||
isComposite: true
|
isComposite: true
|
||||||
Property { name: "key"; type: "string" }
|
Property { name: "key"; type: "string"; isReadonly: true }
|
||||||
Property { name: "_idx"; type: "int" }
|
Property { name: "_idx"; type: "int" }
|
||||||
Property { name: "_ext"; type: "QVariant" }
|
Property { name: "_ext"; type: "QVariant" }
|
||||||
Property { name: "_parent"; type: "QVariant" }
|
Property { name: "_parent"; type: "QVariant" }
|
||||||
@ -3054,7 +3046,7 @@ Module {
|
|||||||
exportMetaObjectRevisions: [0]
|
exportMetaObjectRevisions: [0]
|
||||||
isComposite: true
|
isComposite: true
|
||||||
defaultProperty: "children"
|
defaultProperty: "children"
|
||||||
Property { name: "key"; type: "string" }
|
Property { name: "key"; type: "string"; isReadonly: true }
|
||||||
Property { name: "_idx"; type: "int" }
|
Property { name: "_idx"; type: "int" }
|
||||||
Property { name: "visible"; type: "bool" }
|
Property { name: "visible"; type: "bool" }
|
||||||
Property { name: "title"; type: "string" }
|
Property { name: "title"; type: "string" }
|
||||||
@ -3074,7 +3066,7 @@ Module {
|
|||||||
exports: ["FluentUI/FluPaneItemHeader 1.0"]
|
exports: ["FluentUI/FluPaneItemHeader 1.0"]
|
||||||
exportMetaObjectRevisions: [0]
|
exportMetaObjectRevisions: [0]
|
||||||
isComposite: true
|
isComposite: true
|
||||||
Property { name: "key"; type: "string" }
|
Property { name: "key"; type: "string"; isReadonly: true }
|
||||||
Property { name: "_idx"; type: "int" }
|
Property { name: "_idx"; type: "int" }
|
||||||
Property { name: "visible"; type: "bool" }
|
Property { name: "visible"; type: "bool" }
|
||||||
Property { name: "title"; type: "string" }
|
Property { name: "title"; type: "string" }
|
||||||
@ -3086,7 +3078,7 @@ Module {
|
|||||||
exports: ["FluentUI/FluPaneItemSeparator 1.0"]
|
exports: ["FluentUI/FluPaneItemSeparator 1.0"]
|
||||||
exportMetaObjectRevisions: [0]
|
exportMetaObjectRevisions: [0]
|
||||||
isComposite: true
|
isComposite: true
|
||||||
Property { name: "key"; type: "string" }
|
Property { name: "key"; type: "string"; isReadonly: true }
|
||||||
Property { name: "_idx"; type: "int" }
|
Property { name: "_idx"; type: "int" }
|
||||||
Property { name: "visible"; type: "bool" }
|
Property { name: "visible"; type: "bool" }
|
||||||
Property { name: "parent"; type: "QVariant" }
|
Property { name: "parent"; type: "QVariant" }
|
||||||
@ -3154,7 +3146,6 @@ Module {
|
|||||||
exportMetaObjectRevisions: [0]
|
exportMetaObjectRevisions: [0]
|
||||||
isComposite: true
|
isComposite: true
|
||||||
defaultProperty: "data"
|
defaultProperty: "data"
|
||||||
Property { name: "duration"; type: "int" }
|
|
||||||
Property { name: "strokeWidth"; type: "double" }
|
Property { name: "strokeWidth"; type: "double" }
|
||||||
Property { name: "progressVisible"; type: "bool" }
|
Property { name: "progressVisible"; type: "bool" }
|
||||||
Property { name: "color"; type: "QColor" }
|
Property { name: "color"; type: "QColor" }
|
||||||
@ -3332,15 +3323,31 @@ Module {
|
|||||||
defaultProperty: "data"
|
defaultProperty: "data"
|
||||||
}
|
}
|
||||||
Component {
|
Component {
|
||||||
prototype: "QQuickPage"
|
prototype: "QQuickItem"
|
||||||
name: "FluentUI/FluScrollablePage 1.0"
|
name: "FluentUI/FluScrollablePage 1.0"
|
||||||
exports: ["FluentUI/FluScrollablePage 1.0"]
|
exports: ["FluentUI/FluScrollablePage 1.0"]
|
||||||
exportMetaObjectRevisions: [0]
|
exportMetaObjectRevisions: [0]
|
||||||
isComposite: true
|
isComposite: true
|
||||||
defaultProperty: "content"
|
defaultProperty: "content"
|
||||||
|
Property { name: "spacing"; type: "int" }
|
||||||
|
Property { name: "leftPadding"; type: "int" }
|
||||||
|
Property { name: "topPadding"; type: "int" }
|
||||||
|
Property { name: "rightPadding"; type: "int" }
|
||||||
|
Property { name: "bottomPadding"; type: "int" }
|
||||||
|
Property { name: "title"; type: "string" }
|
||||||
Property { name: "content"; type: "QObject"; isList: true; isReadonly: true }
|
Property { name: "content"; type: "QObject"; isList: true; isReadonly: true }
|
||||||
|
Property { name: "color"; type: "QColor" }
|
||||||
|
Property { name: "statusMode"; type: "int" }
|
||||||
|
Property { name: "loadingText"; type: "string" }
|
||||||
|
Property { name: "emptyText"; type: "string" }
|
||||||
|
Property { name: "errorText"; type: "string" }
|
||||||
|
Property { name: "errorButtonText"; type: "string" }
|
||||||
|
Property { name: "loadingItem"; type: "QQmlComponent"; isPointer: true }
|
||||||
|
Property { name: "emptyItem"; type: "QQmlComponent"; isPointer: true }
|
||||||
|
Property { name: "errorItem"; type: "QQmlComponent"; isPointer: true }
|
||||||
|
Signal { name: "errorClicked" }
|
||||||
Property { name: "launchMode"; type: "int" }
|
Property { name: "launchMode"; type: "int" }
|
||||||
Property { name: "animationEnabled"; type: "bool" }
|
Property { name: "animDisabled"; type: "bool" }
|
||||||
Property { name: "url"; type: "string" }
|
Property { name: "url"; type: "string" }
|
||||||
}
|
}
|
||||||
Component {
|
Component {
|
||||||
@ -3354,23 +3361,6 @@ Module {
|
|||||||
Property { name: "elevation"; type: "int" }
|
Property { name: "elevation"; type: "int" }
|
||||||
Property { name: "radius"; type: "int" }
|
Property { name: "radius"; type: "int" }
|
||||||
}
|
}
|
||||||
Component {
|
|
||||||
prototype: "QQuickPopup"
|
|
||||||
name: "FluentUI/FluSheet 1.0"
|
|
||||||
exports: ["FluentUI/FluSheet 1.0"]
|
|
||||||
exportMetaObjectRevisions: [0]
|
|
||||||
isComposite: true
|
|
||||||
defaultProperty: "content"
|
|
||||||
Property { name: "title"; type: "string" }
|
|
||||||
Property { name: "header"; type: "QVariant" }
|
|
||||||
Property { name: "size"; type: "int" }
|
|
||||||
Property { name: "content"; type: "QObject"; isList: true; isReadonly: true }
|
|
||||||
Method {
|
|
||||||
name: "open"
|
|
||||||
type: "QVariant"
|
|
||||||
Parameter { name: "position"; type: "QVariant" }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Component {
|
Component {
|
||||||
prototype: "QQuickButton"
|
prototype: "QQuickButton"
|
||||||
name: "FluentUI/FluShortcutPicker 1.0"
|
name: "FluentUI/FluShortcutPicker 1.0"
|
||||||
@ -3611,7 +3601,7 @@ Module {
|
|||||||
Property { name: "pasteText"; type: "string" }
|
Property { name: "pasteText"; type: "string" }
|
||||||
Property { name: "selectAllText"; type: "string" }
|
Property { name: "selectAllText"; type: "string" }
|
||||||
Property { name: "inputItem"; type: "QVariant" }
|
Property { name: "inputItem"; type: "QVariant" }
|
||||||
Property { name: "animationEnabled"; type: "bool" }
|
Property { name: "enableAnimation"; type: "bool" }
|
||||||
}
|
}
|
||||||
Component {
|
Component {
|
||||||
prototype: "QQuickButton"
|
prototype: "QQuickButton"
|
||||||
|
@ -5,6 +5,7 @@ typeinfo plugins.qmltypes
|
|||||||
|
|
||||||
FluAcrylic 1.0 Controls/FluAcrylic.qml
|
FluAcrylic 1.0 Controls/FluAcrylic.qml
|
||||||
FluAppBar 1.0 Controls/FluAppBar.qml
|
FluAppBar 1.0 Controls/FluAppBar.qml
|
||||||
|
FluArea 1.0 Controls/FluArea.qml
|
||||||
FluAutoSuggestBox 1.0 Controls/FluAutoSuggestBox.qml
|
FluAutoSuggestBox 1.0 Controls/FluAutoSuggestBox.qml
|
||||||
FluBadge 1.0 Controls/FluBadge.qml
|
FluBadge 1.0 Controls/FluBadge.qml
|
||||||
FluBreadcrumbBar 1.0 Controls/FluBreadcrumbBar.qml
|
FluBreadcrumbBar 1.0 Controls/FluBreadcrumbBar.qml
|
||||||
@ -29,8 +30,6 @@ FluExpander 1.0 Controls/FluExpander.qml
|
|||||||
FluFilledButton 1.0 Controls/FluFilledButton.qml
|
FluFilledButton 1.0 Controls/FluFilledButton.qml
|
||||||
FluFlipView 1.0 Controls/FluFlipView.qml
|
FluFlipView 1.0 Controls/FluFlipView.qml
|
||||||
FluFocusRectangle 1.0 Controls/FluFocusRectangle.qml
|
FluFocusRectangle 1.0 Controls/FluFocusRectangle.qml
|
||||||
FluFrame 1.0 Controls/FluFrame.qml
|
|
||||||
FluGroupBox 1.0 Controls/FluGroupBox.qml
|
|
||||||
FluIcon 1.0 Controls/FluIcon.qml
|
FluIcon 1.0 Controls/FluIcon.qml
|
||||||
FluIconButton 1.0 Controls/FluIconButton.qml
|
FluIconButton 1.0 Controls/FluIconButton.qml
|
||||||
FluImage 1.0 Controls/FluImage.qml
|
FluImage 1.0 Controls/FluImage.qml
|
||||||
@ -73,7 +72,6 @@ FluScrollBar 1.0 Controls/FluScrollBar.qml
|
|||||||
FluScrollIndicator 1.0 Controls/FluScrollIndicator.qml
|
FluScrollIndicator 1.0 Controls/FluScrollIndicator.qml
|
||||||
FluScrollablePage 1.0 Controls/FluScrollablePage.qml
|
FluScrollablePage 1.0 Controls/FluScrollablePage.qml
|
||||||
FluShadow 1.0 Controls/FluShadow.qml
|
FluShadow 1.0 Controls/FluShadow.qml
|
||||||
FluSheet 1.0 Controls/FluSheet.qml
|
|
||||||
FluShortcutPicker 1.0 Controls/FluShortcutPicker.qml
|
FluShortcutPicker 1.0 Controls/FluShortcutPicker.qml
|
||||||
FluSlider 1.0 Controls/FluSlider.qml
|
FluSlider 1.0 Controls/FluSlider.qml
|
||||||
FluSpinBox 1.0 Controls/FluSpinBox.qml
|
FluSpinBox 1.0 Controls/FluSpinBox.qml
|
||||||
|
@ -107,7 +107,5 @@
|
|||||||
<file>FluentUI/Controls/FluEvent.qml</file>
|
<file>FluentUI/Controls/FluEvent.qml</file>
|
||||||
<file>FluentUI/Controls/FluEventBus.qml</file>
|
<file>FluentUI/Controls/FluEventBus.qml</file>
|
||||||
<file>FluentUI/Controls/FluFrame.qml</file>
|
<file>FluentUI/Controls/FluFrame.qml</file>
|
||||||
<file>FluentUI/Controls/FluSheet.qml</file>
|
|
||||||
<file>FluentUI/Controls/FluGroupBox.qml</file>
|
|
||||||
</qresource>
|
</qresource>
|
||||||
</RCC>
|
</RCC>
|
||||||
|
@ -225,7 +225,6 @@ Rectangle{
|
|||||||
}
|
}
|
||||||
FluIconButton{
|
FluIconButton{
|
||||||
id:btn_maximize
|
id:btn_maximize
|
||||||
property bool hover: btn_maximize.hovered
|
|
||||||
Layout.preferredWidth: 40
|
Layout.preferredWidth: 40
|
||||||
Layout.preferredHeight: 30
|
Layout.preferredHeight: 30
|
||||||
padding: 0
|
padding: 0
|
||||||
@ -233,10 +232,10 @@ Rectangle{
|
|||||||
horizontalPadding: 0
|
horizontalPadding: 0
|
||||||
iconSource : d.isRestore ? FluentIcons.ChromeRestore : FluentIcons.ChromeMaximize
|
iconSource : d.isRestore ? FluentIcons.ChromeRestore : FluentIcons.ChromeMaximize
|
||||||
color: {
|
color: {
|
||||||
if(down){
|
if(pressed){
|
||||||
return maximizePressColor
|
return maximizePressColor
|
||||||
}
|
}
|
||||||
return btn_maximize.hover ? maximizeHoverColor : maximizeNormalColor
|
return hovered ? maximizeHoverColor : maximizeNormalColor
|
||||||
}
|
}
|
||||||
Layout.alignment: Qt.AlignVCenter
|
Layout.alignment: Qt.AlignVCenter
|
||||||
visible: d.resizable && !isMac && showMaximize
|
visible: d.resizable && !isMac && showMaximize
|
||||||
|
@ -42,8 +42,6 @@ Button {
|
|||||||
visible: control.activeFocus
|
visible: control.activeFocus
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
focusPolicy:Qt.TabFocus
|
|
||||||
font:FluTextStyle.Body
|
|
||||||
horizontalPadding:0
|
horizontalPadding:0
|
||||||
verticalPadding: 0
|
verticalPadding: 0
|
||||||
padding: 0
|
padding: 0
|
||||||
@ -51,6 +49,7 @@ Button {
|
|||||||
Accessible.name: control.text
|
Accessible.name: control.text
|
||||||
Accessible.description: contentDescription
|
Accessible.description: contentDescription
|
||||||
Accessible.onPressAction: control.clicked()
|
Accessible.onPressAction: control.clicked()
|
||||||
|
focusPolicy:Qt.TabFocus
|
||||||
contentItem: RowLayout{
|
contentItem: RowLayout{
|
||||||
spacing: control.textSpacing
|
spacing: control.textSpacing
|
||||||
layoutDirection:control.textRight ? Qt.LeftToRight : Qt.RightToLeft
|
layoutDirection:control.textRight ? Qt.LeftToRight : Qt.RightToLeft
|
||||||
@ -135,7 +134,6 @@ Button {
|
|||||||
text: control.text
|
text: control.text
|
||||||
Layout.alignment: Qt.AlignVCenter
|
Layout.alignment: Qt.AlignVCenter
|
||||||
visible: text !== ""
|
visible: text !== ""
|
||||||
font: control.font
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,39 +0,0 @@
|
|||||||
import QtQuick
|
|
||||||
import QtQuick.Controls
|
|
||||||
import QtQuick.Window
|
|
||||||
import QtQuick.Controls.impl
|
|
||||||
import QtQuick.Templates as T
|
|
||||||
import FluentUI
|
|
||||||
|
|
||||||
T.GroupBox {
|
|
||||||
id: control
|
|
||||||
property int borderWidth : 1
|
|
||||||
property color borderColor : FluTheme.dark ? Window.active ? Qt.rgba(55/255,55/255,55/255,1):Qt.rgba(45/255,45/255,45/255,1) : Qt.rgba(226/255,229/255,234/255,1)
|
|
||||||
property color color: FluTheme.dark ? Window.active ? Qt.rgba(38/255,44/255,54/255,1) : Qt.rgba(39/255,39/255,39/255,1) : Qt.rgba(251/255,251/255,253/255,1)
|
|
||||||
property int radius: 4
|
|
||||||
implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset,
|
|
||||||
contentWidth + leftPadding + rightPadding,
|
|
||||||
implicitLabelWidth + leftPadding + rightPadding)
|
|
||||||
implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset,
|
|
||||||
contentHeight + topPadding + bottomPadding)
|
|
||||||
spacing: 6
|
|
||||||
padding: 12
|
|
||||||
font: FluTextStyle.Body
|
|
||||||
topPadding: padding + (implicitLabelWidth > 0 ? implicitLabelHeight + spacing : 0)
|
|
||||||
label: FluText {
|
|
||||||
width: control.availableWidth
|
|
||||||
text: control.title
|
|
||||||
font: FluTextStyle.BodyStrong
|
|
||||||
elide: Text.ElideRight
|
|
||||||
verticalAlignment: Text.AlignVCenter
|
|
||||||
}
|
|
||||||
background: Rectangle {
|
|
||||||
y: control.topPadding - control.bottomPadding
|
|
||||||
width: parent.width
|
|
||||||
height: parent.height - control.topPadding + control.bottomPadding
|
|
||||||
radius: control.radius
|
|
||||||
border.color: control.borderColor
|
|
||||||
border.width: control.borderWidth
|
|
||||||
color: control.color
|
|
||||||
}
|
|
||||||
}
|
|
@ -16,7 +16,7 @@ Page {
|
|||||||
transform: Translate {
|
transform: Translate {
|
||||||
y: control.visible ? 0 : 80
|
y: control.visible ? 0 : 80
|
||||||
Behavior on y{
|
Behavior on y{
|
||||||
enabled: control.animationEnabled && FluTheme.animationEnabled
|
enabled: control.animationEnabled
|
||||||
NumberAnimation{
|
NumberAnimation{
|
||||||
duration: 167
|
duration: 167
|
||||||
easing.type: Easing.OutCubic
|
easing.type: Easing.OutCubic
|
||||||
@ -24,27 +24,21 @@ Page {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
Behavior on opacity {
|
Behavior on opacity {
|
||||||
enabled: control.animationEnabled && FluTheme.animationEnabled
|
enabled: control.animationEnabled
|
||||||
NumberAnimation{
|
NumberAnimation{
|
||||||
duration: 83
|
duration: 83
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
background: Item{}
|
background: Item{}
|
||||||
header: FluLoader{
|
header: Item{
|
||||||
sourceComponent: control.title === "" ? undefined : com_header
|
implicitHeight: 40
|
||||||
}
|
FluText{
|
||||||
Component{
|
id:text_title
|
||||||
id: com_header
|
text: control.title
|
||||||
Item{
|
font: FluTextStyle.Title
|
||||||
implicitHeight: 40
|
anchors{
|
||||||
FluText{
|
left: parent.left
|
||||||
id:text_title
|
leftMargin: 5
|
||||||
text: control.title
|
|
||||||
font: FluTextStyle.Title
|
|
||||||
anchors{
|
|
||||||
left: parent.left
|
|
||||||
leftMargin: 5
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -89,7 +89,6 @@ Button {
|
|||||||
text: control.text
|
text: control.text
|
||||||
Layout.alignment: Qt.AlignVCenter
|
Layout.alignment: Qt.AlignVCenter
|
||||||
font: control.font
|
font: control.font
|
||||||
visible: text !== ""
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -4,7 +4,7 @@ import FluentUI
|
|||||||
|
|
||||||
Item {
|
Item {
|
||||||
//高性能阴影!!!比DropShadow阴影性能高出数倍!!!
|
//高性能阴影!!!比DropShadow阴影性能高出数倍!!!
|
||||||
property color color: FluTheme.dark ? "#AAAAAA" : "#999999"
|
property color color: FluTheme.dark ? "#FFFFFF" : "#999999"
|
||||||
property int elevation: 6
|
property int elevation: 6
|
||||||
property int radius: 4
|
property int radius: 4
|
||||||
id:control
|
id:control
|
||||||
|
@ -1,210 +0,0 @@
|
|||||||
import QtQuick
|
|
||||||
import QtQuick.Layouts
|
|
||||||
import QtQuick.Controls
|
|
||||||
import QtQuick.Window
|
|
||||||
import FluentUI
|
|
||||||
|
|
||||||
Popup {
|
|
||||||
id: control
|
|
||||||
default property alias content : container.contentData
|
|
||||||
property string title
|
|
||||||
property var header : Item{
|
|
||||||
implicitHeight: 40
|
|
||||||
FluIconButton{
|
|
||||||
id: btn_close
|
|
||||||
iconSource: FluentIcons.Clear
|
|
||||||
iconSize: 15
|
|
||||||
verticalPadding: 6
|
|
||||||
horizontalPadding: 6
|
|
||||||
width: 30
|
|
||||||
height: 30
|
|
||||||
anchors{
|
|
||||||
verticalCenter: parent.verticalCenter
|
|
||||||
left: parent.left
|
|
||||||
leftMargin: 5
|
|
||||||
}
|
|
||||||
onClicked: {
|
|
||||||
control.visible = false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
FluText{
|
|
||||||
id:text_title
|
|
||||||
text: control.title
|
|
||||||
font: FluTextStyle.Subtitle
|
|
||||||
anchors{
|
|
||||||
verticalCenter: parent.verticalCenter
|
|
||||||
left: btn_close.right
|
|
||||||
leftMargin: 5
|
|
||||||
right: parent.right
|
|
||||||
rightMargin: 5
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
property int size: 278
|
|
||||||
|
|
||||||
closePolicy: Popup.CloseOnEscape | Popup.CloseOnPressOutside
|
|
||||||
padding: 0
|
|
||||||
modal:true
|
|
||||||
parent: Overlay.overlay
|
|
||||||
enter: {
|
|
||||||
if(d.position === FluSheetType.Top){
|
|
||||||
return enter_top
|
|
||||||
}else if(d.position === FluSheetType.Left){
|
|
||||||
return enter_left
|
|
||||||
}else if(d.position === FluSheetType.Right){
|
|
||||||
return enter_right
|
|
||||||
}else{
|
|
||||||
return enter_bottom
|
|
||||||
}
|
|
||||||
}
|
|
||||||
exit: {
|
|
||||||
if(d.position === FluSheetType.Top){
|
|
||||||
return exit_top
|
|
||||||
}else if(d.position === FluSheetType.Left){
|
|
||||||
return exit_left
|
|
||||||
}else if(d.position === FluSheetType.Right){
|
|
||||||
return exit_right
|
|
||||||
}else{
|
|
||||||
return exit_bottom
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Item {
|
|
||||||
id: d
|
|
||||||
property var win: Window.window
|
|
||||||
onWinChanged: {
|
|
||||||
if(win instanceof FluWindow){
|
|
||||||
win.setHitTestVisible(container)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
property int position: FluSheetType.Bottom
|
|
||||||
property int parentHeight: {
|
|
||||||
if(control.parent){
|
|
||||||
return control.parent.height
|
|
||||||
}
|
|
||||||
return control.height
|
|
||||||
}
|
|
||||||
property int parentWidth: {
|
|
||||||
if(control.parent){
|
|
||||||
return control.parent.width
|
|
||||||
}
|
|
||||||
return control.width
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Transition {
|
|
||||||
id:enter_right
|
|
||||||
onRunningChanged: {
|
|
||||||
if(!running){
|
|
||||||
control.x = Qt.binding(function(){return d.parentWidth - control.width})
|
|
||||||
}
|
|
||||||
}
|
|
||||||
NumberAnimation{
|
|
||||||
property: "x"
|
|
||||||
duration: 167
|
|
||||||
from: d.parentWidth
|
|
||||||
to: d.parentWidth - control.width
|
|
||||||
easing.type: Easing.OutCubic
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Transition {
|
|
||||||
id:exit_right
|
|
||||||
NumberAnimation{
|
|
||||||
property: "x"
|
|
||||||
duration: 167
|
|
||||||
from: d.parentWidth - control.width
|
|
||||||
to: d.parentWidth
|
|
||||||
easing.type: Easing.OutCubic
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Transition {
|
|
||||||
id:enter_left
|
|
||||||
NumberAnimation{
|
|
||||||
property: "x"
|
|
||||||
duration: 167
|
|
||||||
from: -control.width
|
|
||||||
to: 0
|
|
||||||
easing.type: Easing.OutCubic
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Transition {
|
|
||||||
id:exit_left
|
|
||||||
NumberAnimation{
|
|
||||||
property: "x"
|
|
||||||
duration: 167
|
|
||||||
from: 0
|
|
||||||
to: -control.width
|
|
||||||
easing.type: Easing.OutCubic
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Transition {
|
|
||||||
id:enter_top
|
|
||||||
NumberAnimation{
|
|
||||||
property: "y"
|
|
||||||
duration: 167
|
|
||||||
from: -control.height
|
|
||||||
to: 0
|
|
||||||
easing.type: Easing.OutCubic
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Transition {
|
|
||||||
id:exit_top
|
|
||||||
NumberAnimation{
|
|
||||||
property: "y"
|
|
||||||
duration: 167
|
|
||||||
from: 0
|
|
||||||
to: -control.height
|
|
||||||
easing.type: Easing.OutCubic
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Transition {
|
|
||||||
id:enter_bottom
|
|
||||||
onRunningChanged: {
|
|
||||||
if(!running){
|
|
||||||
control.y = Qt.binding(function(){return d.parentHeight - control.height})
|
|
||||||
}
|
|
||||||
}
|
|
||||||
NumberAnimation{
|
|
||||||
property: "y"
|
|
||||||
duration: 167
|
|
||||||
from: d.parentHeight
|
|
||||||
to: d.parentHeight - control.height
|
|
||||||
easing.type: Easing.OutCubic
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Transition {
|
|
||||||
id:exit_bottom
|
|
||||||
NumberAnimation{
|
|
||||||
property: "y"
|
|
||||||
duration: 167
|
|
||||||
from: d.parentHeight - control.height
|
|
||||||
to: d.parentHeight
|
|
||||||
easing.type: Easing.OutCubic
|
|
||||||
}
|
|
||||||
}
|
|
||||||
background: Rectangle {
|
|
||||||
FluShadow{
|
|
||||||
radius: 0
|
|
||||||
}
|
|
||||||
border.color: FluTheme.dark ? Window.active ? Qt.rgba(55/255,55/255,55/255,1):Qt.rgba(45/255,45/255,45/255,1) : Qt.rgba(226/255,229/255,234/255,1)
|
|
||||||
color: FluTheme.dark ? Window.active ? Qt.rgba(38/255,44/255,54/255,1) : Qt.rgba(39/255,39/255,39/255,1) : Qt.rgba(251/255,251/255,253/255,1)
|
|
||||||
}
|
|
||||||
Page{
|
|
||||||
id: container
|
|
||||||
anchors.fill: parent
|
|
||||||
header: control.header
|
|
||||||
background: Item{}
|
|
||||||
}
|
|
||||||
function open(position = FluSheetType.Bottom){
|
|
||||||
control.x = 0
|
|
||||||
control.y = 0
|
|
||||||
|
|
||||||
d.position = position
|
|
||||||
if(d.position === FluSheetType.Top || d.position === FluSheetType.Bottom){
|
|
||||||
control.width = Qt.binding(function(){return d.parentWidth})
|
|
||||||
control.height = size
|
|
||||||
}else{
|
|
||||||
control.width = size
|
|
||||||
control.height = Qt.binding(function(){return d.parentHeight})
|
|
||||||
}
|
|
||||||
control.visible = true
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user