- 博客(69)
- 资源 (31)
- 收藏
- 关注
原创 QT30 how to use QcheckBox and QRadioButton in qt
mainwindow.cpp#include "mainwindow.h"#include "ui_mainwindow.h"#include MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow){ ui->setupUi(this);
2016-03-31 04:01:31 540
原创 QT29 how to use QWebView and open web page in QWebView
for qt 5 or above1. modify pro file#-------------------------------------------------## Project created by QtCreator 2016-03-30T20:04:00##-------------------------------------------------QT
2016-03-31 03:53:19 526
原创 QT28 how to display a splash screen in qt
modify main.cpp#include "mainwindow.h"#include #include #include int main(int argc, char *argv[]){ QApplication a(argc, argv); QSplashScreen *splash = new QSplashScreen(); sp
2016-03-31 03:44:49 406
原创 QT27 how to read text file and display file to a textbrowser or textedit
#include "mainwindow.h"#include "ui_mainwindow.h"#include #include #include MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow){ ui->setupUi(this);
2016-03-31 03:36:50 452
原创 QT26 show time and date
1. mainwindow.h#ifndef MAINWINDOW_H#define MAINWINDOW_H#include namespace Ui {class MainWindow;}class MainWindow : public QMainWindow{ Q_OBJECTpublic: explicit MainWindow(QWidge
2016-03-31 03:29:59 402
原创 QT24&25 how to run exe file by clicking a button in Qt
#include "mainwindow.h"#include "ui_mainwindow.h"#include #include MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow){ ui->setupUi(this);}MainWin
2016-03-31 03:16:41 548
原创 QT23 how to open a website in a default user browser
#include "mainwindow.h"#include "ui_mainwindow.h"#include #include MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow){ ui->setupUi(this);}MainWi
2016-03-31 03:08:25 687
原创 QT22 database values in QLineEdit or textbox if select QListView
1.modify the employeeinfo.cpp#include "employeeinfo.h"#include "ui_employeeinfo.h"#include "login.h"#include EmployeeInfo::EmployeeInfo(QWidget *parent) : QDialog(parent), ui(new Ui::Emp
2016-03-31 02:59:53 525
原创 QT21 Display selected row from QTableView to QlineEdit
1. modify employeeinfo.cpp #include "employeeinfo.h"#include "ui_employeeinfo.h"#include "login.h"#include EmployeeInfo::EmployeeInfo(QWidget *parent) : QDialog(parent), ui(new Ui::Emplo
2016-03-31 02:53:51 825
原创 QT20 database values in QLineEdit or textbox if select combobox
1.modify employeeinfo window2. modify employee.cpp #include "employeeinfo.h"#include "ui_employeeinfo.h"#include "login.h"#include EmployeeInfo::EmployeeInfo(QWidget *parent) : QDialog
2016-03-31 02:28:05 585
原创 QT19 How to link QComboBox with sqlite Database values
1.modify employeeinfo window2.modify employeeinfo.cpp#include "employeeinfo.h"#include "ui_employeeinfo.h"#include "login.h"#include EmployeeInfo::EmployeeInfo(QWidget *parent) : QDial
2016-03-31 02:12:51 601
原创 QT18 how to link QListView with sqlite Database values
1. modify employeeinfo window2. modify employeeinfo.cpp#include "employeeinfo.h"#include "ui_employeeinfo.h"#include "login.h"#include EmployeeInfo::EmployeeInfo(QWidget *parent) : QDi
2016-03-31 02:02:27 532
原创 Qt17 load sqlite table data to qtableview
1. reedit employeeinfo window2. modify employeeinfo.cpp#include "employeeinfo.h"#include "ui_employeeinfo.h"#include "login.h"#include EmployeeInfo::EmployeeInfo(QWidget *parent) : QDi
2016-03-31 01:52:49 941
原创 QT16 delete data from sqlite database with pushbutton
1. modify the employeeinfo window2. modify the employeeinfo.cpp#include "employeeinfo.h"#include "ui_employeeinfo.h"#include "login.h"#include EmployeeInfo::EmployeeInfo(QWidget *parent) :
2016-03-31 01:31:31 525
原创 Qt15 Update a data from Sqlite database with pushbutton
1. reedit the employeeinfo window as2. modify the employeeinfo.cpp#include "employeeinfo.h"#include "ui_employeeinfo.h"#include "login.h"#include EmployeeInfo::EmployeeInfo(QWidget *parent
2016-03-31 01:19:40 621
原创 QT14 how to save data in sqlite database with pushbutton
1. reedit the employinfo window like2.reedit the employinfo.cpp as#include "employeeinfo.h"#include "ui_employeeinfo.h"#include "login.h"#include EmployeeInfo::EmployeeInfo(QWidget *pa
2016-03-31 01:01:07 550
原创 Qt13 Creating connection open and close function with sqlite database
1. drag a label widget on employeeinfo window, name as label_sec_status2. modify login.h#ifndef LOGIN_H#define LOGIN_H#include #include #include #include #include "employeeinfo.h"nam
2016-03-30 07:14:30 706
原创 QT12 How to open a new window after successful Login
1. create a qt design form classFile->New File or Project->Files and Classes(QT)->Qt Designer Form ClassForm Template(Dialog without Buttons)Class name(EmployeeInfo)2. modify login.h
2016-03-30 01:58:52 636
原创 QT11 How to set image with QLabel in Qt
1. drag a label widget on the window, remove the string contained:2. insert two lines into class login constructor function in login.cpp:login::login(QWidget *parent) : QMainWindow(parent)
2016-03-30 01:38:46 1082
原创 QT8&9&10 Login Form using sqlite in QT application
1. Following the work in qt tutorial 7, we add some widgets on our window2. create a table named employeeinfoinsert some data into the table3. modify login.h as follows:#ifndef
2016-03-30 01:02:56 943
原创 QT7 How to connect Qt to SQLite
1. create a qt widgets application, name it as Sqlite_DB, modify the class name as Login2. switch to ui designer, drag a label onto the window used for showing the prompting information3. modify t
2016-03-29 23:00:57 609
原创 SQLite1 Install SQLite on windows
1. download sqlite tools containing sqlite3.exe from the official website:https://www.sqlite.org/download.htmlAt this time in my situation the link is:https://www.sqlite.org/2016/sqlite-tools-wi
2016-03-29 22:22:12 438
原创 using tetgen to generate tetrahedra
for tetgen installation please refer to http://blog.csdn.net/seamanj/article/details/510020861. edit object and export as .obj file in maya2. convert .obj to .off format in meshlab
2016-03-28 23:17:38 1186
原创 install tetgen on windows
1.download source code from the official wetbsite:http://wias-berlin.de/software/tetgen/#Download2. extract to a target directory, here which is like:C:\work_files\tetgen1.5.03. open cmake
2016-03-28 23:06:05 2649 5
原创 install boost 1.6.0
1. download boost 1.6.0 from the official websitehttp://www.boost.org/users/history/version_1_60_0.html2.extract the compressed file to a target directory, in my case it's:C:\work_files\boost_
2016-03-28 22:01:52 1930
原创 PDE3&4 Transport equation: derivation & general solution
F(x,t)=0法向量为:(Fx, Fy)方向向量为:(-Fy, Fx)所以对于直线 x - ct = x0方向向量为:(c, 1)
2016-03-18 07:01:31 926
Farthest Sampling on 3D meshes with mesh kept based on diffusion distance
2016-08-13
Fast Marching on 3D Meshes with diffusion distance
2016-08-13
Farthest Sampling on 3D meshes with mesh kept
2016-08-03
princal component analysis implemented in matlab
2016-07-09
as-conformal-as-possible surface registration
2016-07-07
softmax regression
2015-11-20
3D_Shader_CubeEnvMapping.rar
2013-08-29
3D_Math_Solve_Matrix_Inverse_by_Seamanj.rar
2013-03-06
3D_Math_Quaternion_by_Seamanj.rar
2013-03-06
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人