05 2022 档案

摘要:ui.lineEdit->setStyleSheet("QLineEdit{background: rgb(255,255,255,255);border-radius: 8px;border: 2px solid gray;}" "QLineEdit:hover{border: 3px solid 阅读全文
posted @ 2022-05-27 14:35 雾枫 阅读(45) 评论(0) 推荐(0) 编辑
摘要:https://vimsky.com/examples/detail/cpp-ex QPalette-setBrush-method.html 阅读全文
posted @ 2022-05-27 09:38 雾枫 阅读(26) 评论(0) 推荐(0) 编辑
摘要:#pragma once #include <QtWidgets/QMainWindow> #include "ui_mainwindow.h" #include <QMenuBar> //菜单栏 #include <QMenu> //菜单 #include <QAction> //菜单里面的选项 阅读全文
posted @ 2022-05-17 15:30 雾枫 阅读(360) 评论(0) 推荐(0) 编辑
摘要:1.在Windows系统环境变量下增加 QTDIR = 你QT的安装目录. 2启动VS->工具->选项->项目和解决方案->VC++目录:(VS2015及以上版本则为启动VS->项目->属性->VC++目录) 可执行文件下增加:$(QTDIR)\bin 包含文件下增加:$(QTDIR)\includ 阅读全文
posted @ 2022-05-17 11:26 雾枫 阅读(1699) 评论(0) 推荐(0) 编辑
摘要:一、c++控制台部分 #include <iostream> #include <fstream> #include <string> #include <vector> using namespace std; int main( int arge,char **argv) { ofstream 阅读全文
posted @ 2022-05-12 18:26 雾枫 阅读(577) 评论(0) 推荐(0) 编辑
摘要:#include <iostream> #include <string> #include <vector> //字符串分割函数 std::vector<std::string> split(std::string str,std::string pattern) { std::string::s 阅读全文
posted @ 2022-05-12 13:32 雾枫 阅读(30) 评论(0) 推荐(0) 编辑
摘要:#include <iostream> #include <fstream> #include <string> #include <vector> using namespace std; //文本文件 写文件 int main( int arge,char **argv) { cout << " 阅读全文
posted @ 2022-05-12 13:07 雾枫 阅读(69) 评论(0) 推荐(0) 编辑
摘要:1 #include <iostream> 2 #include <fstream> 3 #include <string> 4 using namespace std; 5 //文本文件 写文件 6 void write_() 7 { 8 //以下一一种建立并写入TXT文件的方式 9 ofstre 阅读全文
posted @ 2022-05-12 10:00 雾枫 阅读(3298) 评论(0) 推荐(0) 编辑
摘要:#define CALC_MODEL_1 QApplication::applicationDirPath() + "/calcApp" + "/readFile.exe" void MainWindow::on_pushButton_clicked() { QProcess *myProcess 阅读全文
posted @ 2022-05-12 09:28 雾枫 阅读(139) 评论(0) 推荐(0) 编辑
摘要:(49条消息) VS打开Qt的ui界面几秒后闪退(ui无法打开文件)的解决办法_liming4675的博客-CSDN博客_qt闪退 阅读全文
posted @ 2022-05-11 20:06 雾枫 阅读(195) 评论(0) 推荐(0) 编辑
摘要:Qt随笔 一、 Qt c++基础 1. Qt的移植性是非常的强。一套代码不需要改太多,直接通用所有平台。 2. 不久的将来qt被用到单片机上。 1.什么是C++ c++是c语言的升级版,在c的基础上增加了许多新功能,是一种高级语言。 2.什么是面向对象,什么是面向过程 c语言就是面向过程,c++就是 阅读全文
posted @ 2022-05-09 21:53 雾枫 阅读(534) 评论(0) 推荐(0) 编辑
摘要:找到对应 的Qxxx源文件所在 qt5.12.12_msvc2017 目录下的哪个具体目录,将该源文件所在的目录的路径copy ,复制到 阅读全文
posted @ 2022-05-09 18:34 雾枫 阅读(543) 评论(0) 推荐(0) 编辑
摘要:以管理员身份运行 阅读全文
posted @ 2022-05-04 12:18 雾枫 阅读(77) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示