-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A lot of codes move from qml to Qt/C++, the qml codes only do animation or create GUI items. --------- Other developers: Signed-off-by: pengwenhao <[email protected]> Co-authored-by: rewine <[email protected]> Co-authored-by: pengwenhao <[email protected]> Co-authored-by: Lu YaNing <[email protected]> Co-authored-by: groveer <[email protected]>
- Loading branch information
1 parent
4516c38
commit 0663991
Showing
95 changed files
with
6,728 additions
and
3,396 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,3 +37,5 @@ compile_commands.json | |
# qtcreator | ||
*.autosave | ||
|
||
# vscode | ||
.vscode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,40 +2,39 @@ Source: waylib | |
Section: libdevel | ||
Priority: optional | ||
Maintainer: JiDe Zhang <[email protected]> | ||
Build-Depends: debhelper (>= 9), | ||
cmake, | ||
pkg-config, | ||
qt6-base-private-dev (>= 6.4.0), | ||
qt6-base-dev-tools (>= 6.4.0), | ||
qt6-declarative-private-dev (>= 6.4.0), | ||
qml6-module-qtquick-templates, | ||
qwlroots, | ||
libwlroots-dev (>= 0.17.0), | ||
libpixman-1-dev, | ||
libxcb-ewmh-dev, | ||
wayland-protocols, | ||
wlr-protocols | ||
Build-Depends: cmake, | ||
debhelper (>= 9), | ||
libpixman-1-dev, | ||
libwlroots-dev (>= 0.17.0), | ||
libxcb-ewmh-dev, | ||
pkg-config, | ||
qml6-module-qtquick-templates, | ||
qt6-base-dev-tools (>= 6.4.0), | ||
qt6-base-private-dev (>= 6.4.0), | ||
qt6-declarative-private-dev (>= 6.4.0), | ||
qwlroots, | ||
wayland-protocols, | ||
wlr-protocols, | ||
Standards-Version: 3.9.8 | ||
|
||
Package: libwaylib | ||
Architecture: any | ||
Depends: ${shlibs:Depends}, ${misc:Depends} | ||
Depends: ${misc:Depends}, ${shlibs:Depends}, | ||
Multi-Arch: same | ||
Description: A wrapper for wlroots based on Qt | ||
. | ||
This package contains the shared libraries. | ||
|
||
Package: libwaylib-dev | ||
Architecture: any | ||
Depends: ${shlibs:Depends}, | ||
${misc:Depends}, | ||
libwaylib (=${binary:Version}), | ||
qt6-base-private-dev (>= 6.6.0), | ||
qt6-base-dev-tools (>= 6.6.0), | ||
qt6-declarative-private-dev (>= 6.6.0), | ||
libwlroots-dev (>= 0.17.0), | ||
wlr-protocols | ||
Depends: libwaylib (=${binary:Version}), | ||
libwlroots-dev (>= 0.17.0), | ||
qt6-base-dev-tools (>= 6.6.0), | ||
qt6-base-private-dev (>= 6.6.0), | ||
qt6-declarative-private-dev (>= 6.6.0), | ||
wlr-protocols, | ||
${misc:Depends}, | ||
${shlibs:Depends}, | ||
Description: A devel package for libwaylib | ||
. | ||
This package contains the header files and static libraries of waylib. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
usr/lib/*/lib*.so | ||
usr/include | ||
usr/lib/*/pkgconfig | ||
usr/lib/*/cmake | ||
usr/lib/*/lib*.so | ||
usr/lib/*/pkgconfig |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
// Copyright (C) 2024 UnionTech Software Technology Co., Ltd. | ||
// SPDX-License-Identifier: Apache-2.0 OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only | ||
|
||
import QtQuick | ||
|
||
Item { | ||
id: root | ||
|
||
property real radius: 0 | ||
|
||
Rectangle { | ||
id: outsideBorder | ||
anchors { | ||
fill: parent | ||
margins: -border.width | ||
} | ||
|
||
color: "transparent" | ||
border { | ||
color: "yellow" | ||
width: 1 | ||
} | ||
radius: root.radius + border.width | ||
} | ||
|
||
Rectangle { | ||
id: insideBorder | ||
anchors.fill: parent | ||
color: "transparent" | ||
border { | ||
color: "green" | ||
width: 1 | ||
} | ||
radius: root.radius | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.