小编cyb*_*udy的帖子

Android上的PyQt

我现在正在研究PyQt,我必须在Android上创建应用程序,我已经看到了kivy库,但它太粗糙了.

现在有没有办法在PyQt上运行Android上的应用程序?

python android pyqt

21
推荐指数
2
解决办法
2万
查看次数

在qml中恢复最小化的无框窗口

我有一个默认的main.cpp文件,并在我的qml文件中写了一些代码.像这样的东西:

ApplicationWindow {
id: mainWindow

width: 640
height: 480
color: "white"

visible: true

flags: Qt.FramelessWindowHint

      Rectangle {
            id: minimizeButton

            width: 32
            height: 32

            Rectangle {
                anchors {
                    bottom: parent.bottom
                    left: parent.left
                    right: parent.right
                }

                color: "grey"

                height: 2

                scale: mouse.pressed ? 0.8 : 1.0
                smooth: mouse.pressed
            }

            MouseArea {
                id: mouse
                anchors.fill: parent

                hoverEnabled: true

                onClicked: mainWindow.showMinimized()
            }
        }
}
Run Code Online (Sandbox Code Playgroud)

所以,我的问题是:如何在我最小化窗口后恢复它?因为Windows中的控制面板上没有程序.

c++ qt qml

2
推荐指数
1
解决办法
1351
查看次数

标签 统计

android ×1

c++ ×1

pyqt ×1

python ×1

qml ×1

qt ×1