原创 QT mvc入門 4 可以編輯的模型
#ifndef STRINGLISTMODEL_H #define STRINGLISTMODEL_H #include <QAbstractListModel> #include <QModelIndex> #include <QS
原创 OpenGL入門教程(2)
// Primitieves.cpp // OpenGL SuperBible, Chapter 2 // Demonstrates the 7 Geometric Primitives // Program by Richa
原创 OpenGL超級寶典第五版 Windows + VS2013配置
最近開始研究OpenGL,於是在網上搜索了相關書籍,適合我這種小白來說,找到本合適的書籍不容易,有人就推薦了OpenGL藍寶書《OpenGL超級寶典》和OpenGL紅寶書《OpenGL編程指南》。爲什麼我會選擇購買藍包書呢?
原创 qml anchors描點教程
Qt Documentation Qt 5.10 Qt Quick Positioning with Anchors Positioning with Anchors In addition to the
原创 OpenGL 入門教程(六) 旋轉加平移
// SphereWorld.cpp // OpenGL SuperBible // New and improved (performance) sphere world // Program by Richard S. Wright
原创 Qt MVC入門2 - 可以編輯的自定義模型
#ifndef STRINGLISTMODEL_H #define STRINGLISTMODEL_H #include <QAbstractListModel> #include <QModelIndex> #include <QS
原创 Qt mvc框架入門 1
文章來自:qt幫助文檔 檢索model/view programming Using Models and Views The following sections explain how to use the model/view pa
原创 Qt mvc框架入門 3 自定義模型
A read-only example model The model implemented here is a simple, non-hierarchical, read-only data model based on the s
原创 vs2015安裝Qt插件問題
當在安裝好VS2015時,新建Qt工程是吧,可能是Qt插件安裝失敗,可以關掉VS2015,然後以管理員運行VS2015,重新安裝Qt插件就可以了,當安裝好插件之後,創建Qt項目後,編譯失敗,報Moc's xxx.h系統找不到指定的文件的錯
原创 Qt MVC入門2 - 模型索引
Model indexes To ensure that the representation of the data is kept separate from the way it is accessed, the concept o
原创 Qt Item qml
Item QML Type A basic visual QML type More... Import Statement: import QtQuick 2.7 Instantiates: QQuick
原创 Qt5 拖拽
#ifndef MAINWINDOW_H #define MAINWINDOW_H #include <QMainWindow> #include <QTextEdit> #include <QUrl> namespace Ui {
原创 OpenGL 入門教程(三) -- 混合
// Blending.cpp // Move a Block based on arrow key movements, // Blend it with background blocks #include <GLTools.h>
原创 OpenGL 入門教程 模型視圖投影矩陣 變換光線
// SphereWorld.cpp // OpenGL SuperBible // New and improved (performance) sphere world // Program by Richard S. Wright
原创 網頁加載ActiveX控件
我在做網頁加載在ActiveX控件需要按一下步驟進行: 1.管理員權限打開終端:輸入 regsvr32 xxx.ocx 2.regedit打開註冊表,搜索xxx.ocx對應的uuid 3.編寫測試html <!DOCTYPE HTML