init
|
@ -2,7 +2,34 @@
|
|||
|
||||
![build](https://github.com/ukui/ukui-menu/workflows/Check%20build/badge.svg?branch=master)
|
||||
|
||||
An advanced menu for UKUI, providing common and all software mixed sort module, alphabet classification module, functional classification module and search module.
|
||||
An advanced menu for UKUI, providing common and all software mixed sort module, alphabet classification module, functional classification module and search module. Provides favorites and recent file functions, You can fix it to your favorites area by right-clicking the application. Provides two display modes: default window and full-screen window.
|
||||
|
||||
# The project structure
|
||||
|
||||
## data/img
|
||||
|
||||
Provide icon files for the projec.
|
||||
|
||||
## src/BackProcess
|
||||
|
||||
Background data processing function realization, Includes DBUS, path listening, data acquisition, and search functions.
|
||||
|
||||
## src/QtSingleApplication
|
||||
|
||||
Singleton pattern processing.
|
||||
|
||||
## src/UserInterface
|
||||
|
||||
The UI implementation.
|
||||
|
||||
## src/UtilityFunction
|
||||
|
||||
Implementation of common functions, including database operations.
|
||||
|
||||
## translations
|
||||
|
||||
Translation files
|
||||
|
||||
|
||||
# How to report bugs
|
||||
Bugs should be reported to the UKUI bug tracking system:
|
||||
|
@ -15,6 +42,7 @@ Please read the HACKING file for information on where to send changes or
|
|||
bugfixes for this package.
|
||||
|
||||
# How to build
|
||||
|
||||
## Preparation
|
||||
You can build pre-depends with such command:
|
||||
|
||||
|
@ -33,3 +61,24 @@ Note: build-depends references the paragraph in debian/control.
|
|||
> sudo make install
|
||||
|
||||
Note: If you want to run ukui-menu, You just need to execute the ukui-menu command at the terminal.
|
||||
|
||||
# DBUS interface
|
||||
|
||||
BUS Name:org.ukui.menu
|
||||
|
||||
path:/org/ukui/menu
|
||||
|
||||
Interface:org.ukui.menu
|
||||
|
||||
Method name:
|
||||
|
||||
GetMenuStatus () <---> Get ukui-menu display hidden status
|
||||
|
||||
WinKeyResponse () <---> ukui-menu display hidden state change interface
|
||||
|
||||
GetSecurityConfigPath () <---> Get security control profile path
|
||||
|
||||
# Configuration file
|
||||
|
||||
.config/ukui/Ukuimenu.db
|
||||
|
||||
|
|
After Width: | Height: | Size: 633 B |
After Width: | Height: | Size: 361 B |
|
@ -0,0 +1,6 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
|
||||
<g id="DM-icon-所有应用" transform="translate(-441 -38)">
|
||||
<rect id="尺寸-16" width="16" height="16" transform="translate(441 38)" fill="none"/>
|
||||
<path id="所有应用" d="M5.5,0H2.3A1.2,1.2,0,0,0,1.1,1.2V4.4A1.2,1.2,0,0,0,2.3,5.6H5.5A1.2,1.2,0,0,0,6.7,4.4V1.2A1.2,1.2,0,0,0,5.5,0ZM2.3.8H5.5a.4.4,0,0,1,.4.4V4.4a.4.4,0,0,1-.4.4H2.3a.4.4,0,0,1-.4-.4V1.2A.4.4,0,0,1,2.3.8ZM11.9,0H8.7A1.2,1.2,0,0,0,7.5,1.2V4.4A1.2,1.2,0,0,0,8.7,5.6h3.2a1.2,1.2,0,0,0,1.2-1.2V1.2A1.2,1.2,0,0,0,11.9,0ZM8.7.8h3.2a.4.4,0,0,1,.4.4V4.4a.4.4,0,0,1-.4.4H8.7a.4.4,0,0,1-.4-.4V1.2A.4.4,0,0,1,8.7.8Zm3.2,5.6H8.7A1.2,1.2,0,0,0,7.5,7.6v3.2A1.2,1.2,0,0,0,8.7,12h3.2a1.2,1.2,0,0,0,1.2-1.2V7.6a1.2,1.2,0,0,0-1.2-1.2Zm-3.2.8h3.2a.4.4,0,0,1,.4.4v3.2a.4.4,0,0,1-.4.4H8.7a.4.4,0,0,1-.4-.4V7.6a.4.4,0,0,1,.4-.4ZM5.5,6.4H2.3A1.2,1.2,0,0,0,1.1,7.6v3.2A1.2,1.2,0,0,0,2.3,12H5.5a1.2,1.2,0,0,0,1.2-1.2V7.6A1.2,1.2,0,0,0,5.5,6.4Zm-3.2.8H5.5a.4.4,0,0,1,.4.4v3.2a.4.4,0,0,1-.4.4H2.3a.4.4,0,0,1-.4-.4V7.6a.4.4,0,0,1,.4-.4Z" transform="translate(441.898 40)" fill="#e0e0e0"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 360 B |
After Width: | Height: | Size: 230 B |
|
@ -0,0 +1,4 @@
|
|||
<svg id="DM-icon-_arrow" data-name="DM-icon- arrow" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
|
||||
<rect id="热点区域" width="16" height="16" fill="#fff" opacity="0"/>
|
||||
<path id="arrow" d="M303.35,388.438l-2.091,2.364-2.091-2.364a.478.478,0,0,0-.751,0,.64.64,0,0,0,0,.849l2.466,2.788a.478.478,0,0,0,.751,0l2.466-2.788a.657.657,0,0,0,0-.849.489.489,0,0,0-.751,0Z" transform="translate(-293.256 -382.256)" fill="#fff" opacity="0.45"/>
|
||||
</svg>
|
After Width: | Height: | Size: 479 B |
After Width: | Height: | Size: 460 B |
After Width: | Height: | Size: 323 B |
|
@ -0,0 +1,13 @@
|
|||
<svg id="DM-icon-关闭" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="16" height="16" viewBox="0 0 16 16">
|
||||
<defs>
|
||||
<clipPath id="clip-path">
|
||||
<rect x="1" y="1" width="16" height="16" fill="none"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<rect id="尺寸-16" width="16" height="16" fill="none"/>
|
||||
<g id="icon-关闭" transform="translate(-1 -1)" clip-path="url(#clip-path)" style="isolation: isolate">
|
||||
<g id="icon-关闭-2" data-name="icon-关闭" transform="translate(-261.743 -495)">
|
||||
<path id="联合_10" data-name="联合 10" d="M6.5,6.5h0v0h0v0Z" transform="translate(261.743 504.194) rotate(-45)" fill="none" stroke="#e0e0e0" stroke-width="1"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 721 B |
After Width: | Height: | Size: 427 B |
After Width: | Height: | Size: 292 B |
|
@ -0,0 +1,13 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
|
||||
<g id="DM-icon-功能排序" transform="translate(-412 -38)">
|
||||
<rect id="尺寸-16" width="16" height="16" transform="translate(412 38)" fill="none"/>
|
||||
<g id="功能" transform="translate(153 -597)">
|
||||
<g id="矩形_218" data-name="矩形 218" transform="translate(261 637)" fill="none" stroke="#e0e0e0" stroke-width="1">
|
||||
<rect width="12" height="12" rx="2" stroke="none"/>
|
||||
<rect x="0.5" y="0.5" width="11" height="11" rx="1.5" fill="none"/>
|
||||
</g>
|
||||
<rect id="矩形_219" data-name="矩形 219" width="5" height="1" transform="translate(267 642)" fill="#e0e0e0" opacity="0.752"/>
|
||||
<rect id="矩形_220" data-name="矩形 220" width="1" height="10" transform="translate(266 638)" fill="#e0e0e0" opacity="0.752"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 861 B |
After Width: | Height: | Size: 285 B |
|
@ -0,0 +1,6 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
|
||||
<g id="DM-icon-check" transform="translate(-317 -38)">
|
||||
<rect id="矩形" width="16" height="16" rx="1" transform="translate(317 38)" fill="#d8d8d8" opacity="0"/>
|
||||
<path id="路径" d="M8.489.287A1.068,1.068,0,0,1,9.22,0H10.6a.2.2,0,0,1,.146.354l-6.977,6.5a.535.535,0,0,1-.795-.076L-.147,2.455a.205.205,0,0,1,.172-.324h.99a1.062,1.062,0,0,1,.862.437L3.422,4.715a.214.214,0,0,0,.319.03Z" transform="translate(320.186 43)" fill="#e0e0e0"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 544 B |
After Width: | Height: | Size: 486 B |
|
@ -0,0 +1,4 @@
|
|||
<svg id="DM-icon-选项" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
|
||||
<rect id="尺寸-16" width="16" height="16" fill="none"/>
|
||||
<path id="icon-三杠" d="M12682-11771v-1h14v1Zm0-5v-1h14v1Zm0-5v-1h14v1Z" transform="translate(-12681 11783.998)" fill="#e0e0e0"/>
|
||||
</svg>
|
After Width: | Height: | Size: 305 B |
After Width: | Height: | Size: 432 B |
|
@ -0,0 +1,10 @@
|
|||
<svg id="DM-icon-search" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
|
||||
<rect id="尺寸-16" width="16" height="16" fill="none"/>
|
||||
<g id="搜索" transform="translate(-230 -499)">
|
||||
<g id="椭圆_83" data-name="椭圆 83" transform="translate(232 501)" fill="none" stroke="#e0e0e0" stroke-width="1">
|
||||
<circle cx="6" cy="6" r="6" stroke="none"/>
|
||||
<circle cx="6" cy="6" r="5.5" fill="none"/>
|
||||
</g>
|
||||
<line id="直线_105" data-name="直线 105" x2="2" y2="2" transform="translate(242 511)" fill="none" stroke="#e0e0e0" stroke-linecap="round" stroke-width="1.2"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 627 B |
After Width: | Height: | Size: 762 B |
After Width: | Height: | Size: 373 B |
|
@ -0,0 +1,6 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
|
||||
<g id="DM-icon-返回" transform="translate(-520 -38)">
|
||||
<rect id="尺寸-16" width="16" height="16" transform="translate(520 38)" fill="none"/>
|
||||
<path id="icon-back" d="M20.309,14.869l-5.621,5.194,6,4.806" transform="translate(510.313 26.131)" fill="none" stroke="#e0e0e0" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" opacity="0.604"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 464 B |
After Width: | Height: | Size: 627 B |
After Width: | Height: | Size: 180 B |
After Width: | Height: | Size: 214 B |
After Width: | Height: | Size: 669 B |
After Width: | Height: | Size: 392 B |
|
@ -0,0 +1,7 @@
|
|||
<svg id="DM-icon-字母排序" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
|
||||
<rect id="尺寸-16" width="16" height="16" fill="none"/>
|
||||
<g id="字母" transform="translate(-259.451 -579.866)">
|
||||
<path id="路径_324" data-name="路径 324" d="M-22710,10451.866l5-12,5,12" transform="translate(22972.451 -9858)" fill="none" stroke="#e0e0e0" stroke-linejoin="bevel" stroke-width="1"/>
|
||||
<rect id="矩形_217" data-name="矩形 217" width="7" height="1" transform="translate(264 589)" fill="#e0e0e0"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 553 B |
After Width: | Height: | Size: 559 B |
After Width: | Height: | Size: 378 B |
|
@ -0,0 +1,8 @@
|
|||
<svg id="DM-icon-放大" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
|
||||
<rect id="尺寸" width="16" height="16" fill="none"/>
|
||||
<g id="icon" transform="translate(-622.5 -494.5)">
|
||||
<path id="路径_16" data-name="路径 16" d="M.45,10v4.5h4.5" transform="translate(623.551 494.5)" fill="none" stroke="#e6e6e6" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"/>
|
||||
<path id="路径_17" data-name="路径 17" d="M0,0V4.5H4.5" transform="translate(636.999 500.5) rotate(180)" fill="none" stroke="#e6e6e6" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"/>
|
||||
<circle id="椭圆_12" data-name="椭圆 12" cx="2" cy="2" r="2" transform="translate(628.5 500.5)" fill="#e6e6e6"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 760 B |
Before Width: | Height: | Size: 745 B After Width: | Height: | Size: 745 B |
Before Width: | Height: | Size: 833 B After Width: | Height: | Size: 833 B |
Before Width: | Height: | Size: 880 B After Width: | Height: | Size: 880 B |
Before Width: | Height: | Size: 832 B After Width: | Height: | Size: 832 B |
Before Width: | Height: | Size: 621 B After Width: | Height: | Size: 621 B |
Before Width: | Height: | Size: 734 B After Width: | Height: | Size: 734 B |
Before Width: | Height: | Size: 784 B After Width: | Height: | Size: 784 B |
Before Width: | Height: | Size: 707 B After Width: | Height: | Size: 707 B |
Before Width: | Height: | Size: 788 B After Width: | Height: | Size: 788 B |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 644 B After Width: | Height: | Size: 644 B |
Before Width: | Height: | Size: 636 B After Width: | Height: | Size: 636 B |
Before Width: | Height: | Size: 799 B After Width: | Height: | Size: 799 B |
Before Width: | Height: | Size: 878 B After Width: | Height: | Size: 878 B |
Before Width: | Height: | Size: 847 B After Width: | Height: | Size: 847 B |
Before Width: | Height: | Size: 999 B After Width: | Height: | Size: 999 B |
Before Width: | Height: | Size: 922 B After Width: | Height: | Size: 922 B |
Before Width: | Height: | Size: 998 B After Width: | Height: | Size: 998 B |
Before Width: | Height: | Size: 979 B After Width: | Height: | Size: 979 B |
Before Width: | Height: | Size: 730 B After Width: | Height: | Size: 730 B |
Before Width: | Height: | Size: 692 B After Width: | Height: | Size: 692 B |
Before Width: | Height: | Size: 729 B After Width: | Height: | Size: 729 B |
Before Width: | Height: | Size: 713 B After Width: | Height: | Size: 713 B |
Before Width: | Height: | Size: 872 B After Width: | Height: | Size: 872 B |
Before Width: | Height: | Size: 924 B After Width: | Height: | Size: 924 B |
Before Width: | Height: | Size: 871 B After Width: | Height: | Size: 871 B |
Before Width: | Height: | Size: 742 B After Width: | Height: | Size: 742 B |
Before Width: | Height: | Size: 852 B After Width: | Height: | Size: 852 B |
Before Width: | Height: | Size: 782 B After Width: | Height: | Size: 782 B |
Before Width: | Height: | Size: 851 B After Width: | Height: | Size: 851 B |
Before Width: | Height: | Size: 792 B After Width: | Height: | Size: 792 B |
Before Width: | Height: | Size: 991 B After Width: | Height: | Size: 991 B |
Before Width: | Height: | Size: 927 B After Width: | Height: | Size: 927 B |
Before Width: | Height: | Size: 990 B After Width: | Height: | Size: 990 B |
Before Width: | Height: | Size: 726 B After Width: | Height: | Size: 726 B |
Before Width: | Height: | Size: 1003 B After Width: | Height: | Size: 1003 B |
Before Width: | Height: | Size: 723 B After Width: | Height: | Size: 723 B |
Before Width: | Height: | Size: 1005 B After Width: | Height: | Size: 1005 B |
Before Width: | Height: | Size: 957 B After Width: | Height: | Size: 957 B |
Before Width: | Height: | Size: 1022 B After Width: | Height: | Size: 1022 B |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1021 B After Width: | Height: | Size: 1021 B |
After Width: | Height: | Size: 536 B |
After Width: | Height: | Size: 327 B |
|
@ -0,0 +1,4 @@
|
|||
<svg id="icon-_所有应用" data-name="icon- 所有应用" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
|
||||
<rect id="尺寸-16" width="16" height="16" fill="none"/>
|
||||
<path id="所有应用" d="M5.5,0H2.3A1.2,1.2,0,0,0,1.1,1.2V4.4A1.2,1.2,0,0,0,2.3,5.6H5.5A1.2,1.2,0,0,0,6.7,4.4V1.2A1.2,1.2,0,0,0,5.5,0ZM2.3.8H5.5a.4.4,0,0,1,.4.4V4.4a.4.4,0,0,1-.4.4H2.3a.4.4,0,0,1-.4-.4V1.2A.4.4,0,0,1,2.3.8ZM11.9,0H8.7A1.2,1.2,0,0,0,7.5,1.2V4.4A1.2,1.2,0,0,0,8.7,5.6h3.2a1.2,1.2,0,0,0,1.2-1.2V1.2A1.2,1.2,0,0,0,11.9,0ZM8.7.8h3.2a.4.4,0,0,1,.4.4V4.4a.4.4,0,0,1-.4.4H8.7a.4.4,0,0,1-.4-.4V1.2A.4.4,0,0,1,8.7.8Zm3.2,5.6H8.7A1.2,1.2,0,0,0,7.5,7.6v3.2A1.2,1.2,0,0,0,8.7,12h3.2a1.2,1.2,0,0,0,1.2-1.2V7.6a1.2,1.2,0,0,0-1.2-1.2Zm-3.2.8h3.2a.4.4,0,0,1,.4.4v3.2a.4.4,0,0,1-.4.4H8.7a.4.4,0,0,1-.4-.4V7.6a.4.4,0,0,1,.4-.4ZM5.5,6.4H2.3A1.2,1.2,0,0,0,1.1,7.6v3.2A1.2,1.2,0,0,0,2.3,12H5.5a1.2,1.2,0,0,0,1.2-1.2V7.6A1.2,1.2,0,0,0,5.5,6.4Zm-3.2.8H5.5a.4.4,0,0,1,.4.4v3.2a.4.4,0,0,1-.4.4H2.3a.4.4,0,0,1-.4-.4V7.6a.4.4,0,0,1,.4-.4Z" transform="translate(0.898 2)"/>
|
||||
</svg>
|
After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 765 B After Width: | Height: | Size: 765 B |
After Width: | Height: | Size: 491 B |
After Width: | Height: | Size: 345 B |
|
@ -0,0 +1,13 @@
|
|||
<svg id="icon-_关闭" data-name="icon- 关闭" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="16" height="16" viewBox="0 0 16 16">
|
||||
<defs>
|
||||
<clipPath id="clip-path">
|
||||
<rect x="1" y="1" width="16" height="16" fill="none"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<rect id="尺寸-16" width="16" height="16" fill="none"/>
|
||||
<g id="icon-关闭" transform="translate(-1 -1)" clip-path="url(#clip-path)" style="isolation: isolate">
|
||||
<g id="icon-关闭-2" data-name="icon-关闭" transform="translate(-261.743 -495)">
|
||||
<path id="联合_10" data-name="联合 10" d="M6.5,6.5h0v0h0v0Z" transform="translate(261.743 504.194) rotate(-45)" fill="none" stroke="#262626" stroke-width="1"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 744 B |
Before Width: | Height: | Size: 541 B After Width: | Height: | Size: 541 B |
Before Width: | Height: | Size: 541 B After Width: | Height: | Size: 541 B |
After Width: | Height: | Size: 371 B |
After Width: | Height: | Size: 226 B |
|
@ -0,0 +1,4 @@
|
|||
<svg id="icon-_下拉_小" data-name="icon- 下拉 小" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
|
||||
<rect id="热点区域" width="16" height="16" fill="#fff" opacity="0"/>
|
||||
<path id="arrow" d="M303.35,388.438l-2.091,2.364-2.091-2.364a.478.478,0,0,0-.751,0,.64.64,0,0,0,0,.849l2.466,2.788a.478.478,0,0,0,.751,0l2.466-2.788a.657.657,0,0,0,0-.849.489.489,0,0,0-.751,0Z" transform="translate(-293.256 -382.256)" opacity="0.504"/>
|
||||
</svg>
|
After Width: | Height: | Size: 472 B |
Before Width: | Height: | Size: 678 B After Width: | Height: | Size: 678 B |
After Width: | Height: | Size: 899 B |
After Width: | Height: | Size: 477 B |
After Width: | Height: | Size: 304 B |
|
@ -0,0 +1,4 @@
|
|||
<svg id="全屏_icon-关闭_" data-name="全屏 icon-关闭 " xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
|
||||
<rect id="尺寸-16" width="16" height="16" fill="none"/>
|
||||
<path id="联合_10" data-name="联合 10" d="M5.658,5.657h0v0h0v0Z" transform="translate(0 8) rotate(-45)" fill="none" stroke="#333" stroke-width="1"/>
|
||||
</svg>
|
After Width: | Height: | Size: 363 B |
After Width: | Height: | Size: 393 B |
After Width: | Height: | Size: 260 B |
|
@ -0,0 +1,4 @@
|
|||
<svg id="全屏_icon-_下拉_" data-name="全屏 icon- 下拉 " xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
|
||||
<rect id="矩形_237" data-name="矩形 237" width="16" height="16" fill="none"/>
|
||||
<path id="icon-_arrow_白" data-name="icon- arrow 白" d="M306.746,388.528l-3.485,3.546-3.485-3.546a.854.854,0,0,0-1.251,0,.89.89,0,0,0,0,1.273l4.111,4.182a.854.854,0,0,0,1.251,0L308,389.8a.911.911,0,0,0,0-1.273.874.874,0,0,0-1.251,0Z" transform="translate(-295.256 -383.256)" fill="#fff" opacity="0.351"/>
|
||||
</svg>
|
After Width: | Height: | Size: 543 B |
After Width: | Height: | Size: 550 B |
After Width: | Height: | Size: 380 B |