資源簡介
qml 實現的Qt Creator界面;讀寫文檔的功能等;在Qt5上可編譯,運行;最重要的一點是qml應用程序的框架的搭建以及各個組件的使用

代碼片段和文件信息
/****************************************************************************
**
**?Copyright?(C)?2013-2015?Oleg?Yadrov
**
**?Licensed?under?the?Apache?License?Version?2.0?(the?“License“);
**?you?may?not?use?this?file?except?in?compliance?with?the?License.
**?You?may?obtain?a?copy?of?the?License?at
**
**?http://www.apache.org/licenses/LICENSE-2.0
**
**?Unless?required?by?applicable?law?or?agreed?to?in?writing?software
**?distributed?under?the?License?is?distributed?on?an?“AS?IS“?BASIS
**?WITHOUT?WARRANTIES?OR?CONDITIONS?OF?ANY?KIND?either?express?or?implied.
**?See?the?License?for?the?specific?language?governing?permissions?and
**?limitations?under?the?License.
**
****************************************************************************/
#include?
#include?
#include?
#include?“MessageHandler.h“
#include?“ProjectManager.h“
#include?“SyntaxHighlighter.h“
int?main(int?argc?char?*argv[])
{
????qInstallMessageHandler(&MessageHandler::handler);
????QGuiApplication?app(argc?argv);
????app.setApplicationName(“QML?Creator“);
????app.setApplicationVersion(“1.2.4“);
????app.setOrganizationName(“wearyinside“);
????app.setOrganizationDomain(“com.wearyinside.qmlcreator“);
????QTranslator?translator;
????translator.load(“qmlcreator_“?+?QLocale::system().name()?“:/resources/translations“);
????app.installTranslator(&translator);
????qmlRegisterSingletonType(“ProjectManager“?1?1?“ProjectManager“?&ProjectManager::projectManagerProvider);
????qmlRegisterType(“SyntaxHighlighter“?1?1?“SyntaxHighlighter“);
????QQmlApplicationEngine?engine(QUrl(“qrc:/qml/main.qml“));
????ProjectManager::setQmlEngine(&engine);
????MessageHandler::setQmlEngine(&engine);
????return?app.exec();
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????1793??2015-09-28?13:42??qmlcreator\cpp\main.cpp
?????文件???????1599??2015-09-28?13:42??qmlcreator\cpp\MessageHandler.cpp
?????文件????????610??2015-09-28?13:42??qmlcreator\cpp\MessageHandler.h
?????文件???????8497??2015-09-28?13:42??qmlcreator\cpp\ProjectManager.cpp
?????文件???????3331??2015-09-28?13:42??qmlcreator\cpp\ProjectManager.h
?????文件???????6831??2015-09-28?13:42??qmlcreator\cpp\QMLHighlighter.cpp
?????文件???????1953??2015-09-28?13:42??qmlcreator\cpp\QMLHighlighter.h
?????文件???????5808??2015-09-28?13:42??qmlcreator\cpp\SyntaxHighlighter.cpp
?????文件???????3881??2015-09-28?13:42??qmlcreator\cpp\SyntaxHighlighter.h
?????文件???????4424??2015-09-28?13:42??qmlcreator\platform-specific\android\AndroidManifest.xm
?????文件???????8255??2015-09-28?13:42??qmlcreator\platform-specific\android\res\drawable-hdpi\icon.png
?????文件???????5223??2015-09-28?13:42??qmlcreator\platform-specific\android\res\drawable-ldpi\icon.png
?????文件???????6251??2015-09-28?13:42??qmlcreator\platform-specific\android\res\drawable-mdpi\icon.png
?????文件???????7584??2015-09-28?13:42??qmlcreator\platform-specific\android\res\drawable-tvdpi\icon.png
?????文件??????10342??2015-09-28?13:42??qmlcreator\platform-specific\android\res\drawable-xhdpi\icon.png
?????文件??????14708??2015-09-28?13:42??qmlcreator\platform-specific\android\res\drawable-xxhdpi\icon.png
?????文件??????19135??2015-09-28?13:42??qmlcreator\platform-specific\android\res\drawable-xxxhdpi\icon.png
?????文件??????40772??2015-09-28?13:42??qmlcreator\platform-specific\ios\Def-568h@2x.png
?????文件??????44926??2015-09-28?13:42??qmlcreator\platform-specific\ios\Def-Landscape.png
?????文件??????44877??2015-09-28?13:42??qmlcreator\platform-specific\ios\Def-Portrait.png
?????文件??????17750??2015-09-28?13:42??qmlcreator\platform-specific\ios\Def.png
?????文件??????43478??2015-09-28?13:42??qmlcreator\platform-specific\ios\Def@2x.png
?????文件???????7783??2015-09-28?13:42??qmlcreator\platform-specific\ios\Icon-60.png
?????文件??????15499??2015-09-28?13:42??qmlcreator\platform-specific\ios\Icon-60@2x.png
?????文件???????9222??2015-09-28?13:42??qmlcreator\platform-specific\ios\Icon-72.png
?????文件??????19271??2015-09-28?13:42??qmlcreator\platform-specific\ios\Icon-72@2x.png
?????文件???????9630??2015-09-28?13:42??qmlcreator\platform-specific\ios\Icon-76.png
?????文件??????20466??2015-09-28?13:42??qmlcreator\platform-specific\ios\Icon-76@2x.png
?????文件???????7466??2015-09-28?13:42??qmlcreator\platform-specific\ios\icon.png
?????文件??????14671??2015-09-28?13:42??qmlcreator\platform-specific\ios\Icon@2x.png
............此處省略238個文件信息
- 上一篇:verilog 編寫fft
- 下一篇:太陽能小屋
評論
共有 條評論