• 大小: 9KB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-05-23
  • 语言: 其他
  • 标签: qml  qt  Dialog  

资源简介

qml 用item自定义dialog 对话框 很好用的一个自定义对话框

资源截图

代码片段和文件信息

#include 
#include 

int main(int argc char *argv[])
{
    qputenv(“QT_IM_MODULE“ QByteArray(“qtvirtualkeyboard“));

#if defined(Q_OS_WIN)
    QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
#endif

    QGuiApplication app(argc argv);

    QQmlApplicationEngine engine;
    engine.load(QUrl(QStringLiteral(“qrc:/main.qml“)));
    if (engine.rootobjects().isEmpty())
        return -1;

    return app.exec();
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-10-24 16:59  untitled8\
     文件         733  2018-09-20 15:29  untitled8\DefaultButton.qml
     文件        3652  2018-10-24 16:46  untitled8\DefaultItemDialog.qml
     文件         167  2018-09-20 15:29  untitled8\DefaultText.qml
     文件         487  2018-10-23 14:10  untitled8\main.cpp
     文件        2011  2018-10-24 16:59  untitled8\main.qml
     文件        7009  2018-10-23 15:58  untitled8\Msg.qml
     文件         244  2018-10-24 16:30  untitled8\qml.qrc
     文件        1103  2018-10-23 14:10  untitled8\untitled8.pro
     文件       23932  2018-10-24 16:59  untitled8\untitled8.pro.user

评论

共有 条评论