我的主页

快递查询 :http://m.kuaidi100.com     爱快递查询 :http://www.aikuaidi.cn/              

http://www.qtcn.org/bbs/u/168050  [收藏] [复制]

w642833823

  • 10

    关注

  • 65

    粉丝

  • 42

    访客

  • 等级:新手上路
  • 总积分:43
  • 保密,2011-12-07

最后登录:2024-03-28

更多资料

新鲜事

w642833823
求阶乘 //计算阶乘2! double factorial(double n) { if (n == 0) { return 0; } else { return n * (M_PI / 180); } }
转发  |  收藏  |  评论
02-18 [来自日志]
w642833823
void Qsort(int* a, int n) { assert(a);//断言防止越界 for (int i = 0; i < n-1; i++) { for (int j = 0; j < n - 1 - i; ..
w642833823
1.Qpainter中setPen函数和setBrush函数在绘制图形时起到不同的作用。 setPen函数用于设置绘制图形边框的画笔,包括线条的颜色、宽度、 ..
w642833823
C语言版: void HSLtoRGB(float h, float s, float l, int* r, int* g, int* b) { if (s == 0) { // 灰色阶段 *r = *g = *b = l * ..
w642833823
tableWidget->setColumnCount(25); tableWidget->setRowCount(11); tableWidget->horizontalHeader()->setVisible(fal ..
w642833823
1.带绝对路径 QString video_File; //mnt/sdcard/ //将路径写入video.txt QString name_file="video.txt"; QFileIn ..
w642833823
文章来源: 将QQ中的图文聊天内容显示到Qt界面 #include <QMimeData>#include <QClipboard> #include <QDebug> Wi ..
w642833823
1.如何确定中心点: QPainter painter(this); painter.setRenderHints(QPainter::Antialiasing|QPainter::TextAntialiasing); paint ..
w642833823
1.实现动画效果 void Widget::SetButtonStyle(QPushButton *button, QString imgsrc, int CutSec) {//=========================Qss切 ..
w642833823
Qt播放qrc中的mp3 player=new QMediaPlayer(this); //如果是在qrc资源文件中用fromEncoded函数获取mp3地址(记得有前缀(/new或其他的 ..
w642833823
#android: { message("android") LIBS += -L$$PWD/Android_ssl_lib/libcrypto_1_1.so LIBS += -L$$PWD/Android_ssl ..
w642833823
1.需要时间戳:// 获取当前时间戳 QDateTime timeDate = QDateTime::currentDateTime(); // 获取当前时间 int r = timeDate .toTime ..
w642833823
QByteArray bytes = reply->readAll(); //获取字节 QJsonParseError json_error; QJsonDocument jsonDoc(QJsonDocument::fromJso ..
w642833823
原文章出处 1.不换行:QJsonObject json; //... QJsonDocument doc(json); QString str_json(doc.toJson(QJsonDocument::Compact)); ..
w642833823
#include <QMainWindow> //包含头文件#include <QtTextToSpeech/QTextToSpeech> //添加用到的头文件 #include <QTimer ..
w642833823
auto font = this->font(); //使用自定义字体 QString fontName; int loadedFontID = QFontDatabase::addApplicationFont(&q ..
w642833823
.h #pragma once#include <QString> class GlobalApiClass { private: GlobalApiClass(); ~GlobalApiClass(); public: st ..
w642833823
QString Widget::getIP() //获取ip地址 { QList<QHostAddress> list = QNetworkInterface::allAddresses(); for (int i=0;i&l ..
w642833823
//方式1 需要主函数中事件循环判断 //qApp->exit(773); //重启代码,773 = 'r'+'e'+'s'+'t&# ..
w642833823
在ubuntu软件中心搜索byzanz或者通过apt-get下载 sudo apt-get install byzanz 下载完成后打开命令行输入byzanz-record --help 其 ..

Powered by phpwind v8.7 Certificate Copyright Time now is:03-28 20:28
©2005-2016 QTCN开发网 版权所有 Gzip disabled

-->