4 Star 3 Fork 4

Gitee 极速下载/Tiny-httpd

Create your Gitee Account
Explore and code with more than 13.5 million developers,Free private repositories !:)
Sign up
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/Huangtuzhi/Tinyhttpd
Clone or Download
ips.cpp 722 Bytes
Copy Edit Raw Blame History
Huangtuzhi authored 10 years ago . a
#include "ips.h"
#include "ui_ips.h"
#include "monitorui.h"
#include "ui_monitorui.h"
#include <iostream>
#include <log.h>
ips::ips(QWidget *parent) :
QWidget(parent),
ui(new Ui::ips)
{
ui->setupUi(this);
this->setFixedSize( this->width (),this->height ()); // 禁止改变窗口大小。
this->setWindowFlags(Qt::CustomizeWindowHint|Qt::FramelessWindowHint);
}
ips::~ips()
{
delete ui;
}
void ips::getData()
{
std::string buffer, text;
redis = new Database(6378);
int index = 1;
buffer = redis->readIP(index);
while (buffer != std::string(""))
{
buffer = redis->readIP(++index);
text = text + "\n" + buffer;
}
ui->info->setText(text.data());
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C/C++
1
https://gitee.com/mirrors/Tiny-httpd.git
git@gitee.com:mirrors/Tiny-httpd.git
mirrors
Tiny-httpd
Tiny-httpd
master

Search