Qt HUD(平显)演示程序绿色版
把一个黑底白字的程序改成黑底绿字
上对比图,左侧是原本,右侧是仿造,有些地方比例还是有问题
其实这个程序没有啥技术含量,就是画
#include "mainwindow.h"
#include "ui_mainwindow.h"
#include <QLayout>
#include <QDebug> int painter_x =800,
painter_y =580;
int temp_temp_1 = 4408;
float temp_temp_2 = 10;
int temp_temp = 4408;
int angle = 0; MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
ui->setupUi(this);
this->setWindowTitle("HUG_G");
pixmap1.load(":/images/0001.png");
pixmap2.load(":/images/0002.png");
pixmap3.load(":/images/0003.png");
pixmap4.load(":/images/0004.png");
ui->label->installEventFilter(this);
this->centralWidget()->layout()->setMargin(0);
painter(painter_x,painter_y);
timer = new QTimer;
timer1 = new QTimer;
connect(timer,SIGNAL(timeout()),this,SLOT(timer_out()));
connect(timer1,SIGNAL(timeout()),this,SLOT(timer_out1()));
timer->start(200);
timer1->start(50);
about_d = new about(this);
} MainWindow::~MainWindow()
{
timer->stop();
timer1->stop();
delete ui;
}
// show Full SCreen
void MainWindow::on_action_triggered()
{
this->showFullScreen();
this->menuBar()->hide();
}
// ESC quit FullScreen
void MainWindow::keyPressEvent(QKeyEvent *event)
{
if(event->key() == Qt::Key_Escape)
{
this->showNormal();
this->menuBar()->show();
}
else if (event->key() == Qt::Key_Enter||event->key() == Qt::Key_Return)
{
this->showFullScreen();
this->menuBar()->hide();
}
else
{ }
} bool MainWindow::eventFilter(QObject *watched, QEvent *event)
{
if((watched == ui->label) && (event->type() == QEvent::Paint))
{
painter(painter_x,painter_y);
return true;
}
else
{ }
return false;
} void MainWindow::timer_out()
{
if(temp_temp<99999)
{
temp_temp++;
}
else
{
temp_temp = 1000;
}
if(angle>=-360)
{
angle--;
}
else
{
angle = 0;
}
} void MainWindow::timer_out1()
{
if(temp_temp_1<99999)
{
temp_temp_1++;
}
else
{
temp_temp_1=1000;
}
if(temp_temp_2<99999)
{
temp_temp_2=temp_temp_2+0.1;
}
else
{
temp_temp_2=10.0;
} this->update();
} void MainWindow::resizeEvent(QResizeEvent *event)
{
Q_UNUSED(event);
painter_x = ui->label->width();
painter_y = ui->label->height();
// painter(painter_x,painter_y);
}
//4:3 void MainWindow::painter(int x, int y)
{
QPainter painter(ui->label);
painter.setPen(QPen(Qt::green,2.0));
painter.setFont(QFont("等线",12,QFont::Bold));
if(x>=(y/3*4))
{
float temp_x = y/3*4;
float flag_1 = y*175/1080.0;
float flag_2 = flag_1+40;
float flag_3 = y*110/1080.0;
painter.drawText(QRect((x-y)/2,flag_1,100,20),Qt::AlignLeft,"A 0.2");
painter.drawText(QRect((x-y)/2,flag_1+20,100,20),Qt::AlignLeft,"G 5.00");
painter.drawText(QRect((x-y)/2,flag_1+40,100,20),Qt::AlignLeft,"GM 4.2");
painter.drawText(QRect((x-y)/2,flag_1+60,100,20),Qt::AlignLeft," 0.0");
painter.drawText(QRect((x-y)/2,y-(y*120/580.0)+20,100,20),Qt::AlignLeft,"IEOS");
painter.drawText(QRect((x-y)/2,y-(y*120/580.0)+40,100,20),Qt::AlignLeft,"RΘ");
painter.drawText(QRect((x-y)/2,y-(y*120/580.0)+60,100,20),Qt::AlignLeft,"DGFT");
painter.drawText(QRect((x-y)/2,y-(y*120/580.0)+80,100,20),Qt::AlignLeft,"LOAL");
painter.drawText(QRect((x-y)/2+(y*60/580),y-(y*120/580.0)+60*(y/580.0),100,20),Qt::AlignLeft,"MRM");
painter.drawText(QRect((x-y)/2+(y*60/580),y-(y*120/580.0)+80*(y/580.0),100,20),Qt::AlignLeft,"T:40");
painter.drawText(QRect((x-y)/2+(y*60/580),y-(y*120/580.0)+100*(y/580.0),100,20),Qt::AlignLeft,"2/4");
painter.drawText(QRect(x-(x-y)/2-100,flag_1-5,100,20),Qt::AlignRight,"00 0.0");
painter.drawText(QRect(x-(x-y)/2-100,flag_1+25,100,20),Qt::AlignRight,"Time=0.00");
painter.drawText(QRect(x-(x-y)/2-100,flag_1+40,100,20),Qt::AlignRight,"1500.0 Kg");
painter.drawText(QRect(x-(x-y)/2-100,y-(y*120/580.0)+20,100,20),Qt::AlignRight,"0.0");
painter.drawText(QRect(x-(x-y)/2-100,y-(y*120/580.0)+40,100,20),Qt::AlignRight," 0R");
painter.drawText(QRect(x-(x-y)/2-100,y-(y*120/580.0)+60,100,20),Qt::AlignRight,"+0");
painter.drawText(QRect(x-(x-y)/2-100,y-(y*120/580.0)+80,100,20),Qt::AlignRight,"IRM");
painter.drawLine(x/2-1,flag_2,x/2-1,flag_2+flag_3);
painter.drawLine(x/2-1-(temp_x*54/1920)/2,(flag_2+flag_3)-flag_3*2/11,x/2-1+(temp_x*54/1920)/2,(flag_2+flag_3)-flag_3*2/11);
int flag_r = (temp_x*54/1920*23/54);
painter.drawArc((x/2-1)-flag_r/2,(flag_2+flag_3)-flag_3*2/11-flag_r/2,flag_r,flag_r,0,16*360);
float line_temp = y*30/1080.0;
float line_temp_1 = y*3/1080.0;
float line_y = flag_1+80;
float line_x = (x-y)/2+50;
int line_temp_2 = temp_temp+100;
float line_y_1 = (float)(line_y+line_temp_1*(line_temp_2%10));
for(int i = 1;i<=200;i++)
{
if(line_temp_2%50 ==0)
{
painter.drawLine(line_x,line_y_1,line_x-x*30/1920.0,line_y_1);
painter.drawText(QRect(line_x-105-x*30/1920.0,line_y_1-10,100,20),Qt::AlignRight,QString::number(line_temp_2/10,10));
line_y_1=line_y_1+line_temp;
}
else
{
painter.drawLine(line_x,line_y_1,line_x-x*19/1920.0,line_y_1);
if(line_temp_2%10 ==0)
{
line_y_1=line_y_1+line_temp;
}
}
line_temp_2--;
}
painter.setBrush(Qt::black);
painter.drawRect(line_x-55-x*30/1920.0,(line_y+line_temp*10),50,20);
painter.drawText(QRect(line_x-105-x*30/1920.0,(line_y+line_temp*10),100,20),Qt::AlignRight,QString::number(temp_temp,10));
line_temp = y*30/1080.0;
line_temp_1 = y*3/1080.0;
line_y = flag_1+80;
line_x = x-(x-y)/2-50;
int line_temp_3 = temp_temp_1+100;
line_y_1 = (float)(line_y+line_temp_1*(line_temp_3%10)); for(int j = 1;j<=200;j++)
{
if(line_temp_3%50 ==0)
{
painter.drawLine(line_x,line_y_1,line_x+x*30/1920.0,line_y_1);
painter.drawText(QRect(line_x-70+x*30/1920.0,line_y_1-10,100,20),Qt::AlignRight,QString::number(line_temp_3/100.0,10.0,1));
line_y_1=line_y_1+line_temp;
}
else
{
painter.drawLine(line_x,line_y_1,line_x+x*19/1920.0,line_y_1);
if(line_temp_3%10 ==0)
{
line_y_1=line_y_1+line_temp;
}
}
line_temp_3--;
}
painter.setBrush(Qt::black);
painter.drawRect(line_x+3+x*30/1920.0,(line_y+line_temp*10),50,20);
painter.drawLine(line_x-70*(y/800.0)+x*30/1920.0,(line_y+line_temp*10)+10,line_x-20*(y/800.0)+x*30/1920.0,(line_y+line_temp*10)+10);
painter.drawText(QRect(line_x+3+x*30/1920.0,(line_y+line_temp*10),50,20),Qt::AlignLeft,QString::number(temp_temp_1,10));
painter.drawText(QRect(line_x-90*(y/800.0)+x*30/1920.0,(line_y+line_temp*10)-10,50,20),Qt::AlignRight,"+0.0");
painter.drawText(QRect(line_x-90*(y/800.0)+x*30/1920.0,(line_y+line_temp*10)+10,50,20),Qt::AlignRight,"'H");
float line_temp_H = y*134/1080.0;
float line_H_x = x-(x-y)/2.0-line_temp_H*2*(int(temp_temp_2*10)%10/10.0);
float lint_temp_d = y*20/1080;
float line_H_y = flag_1-10;
for(int k =1;k<=7;k++)
{
if(k%2!=0)
{
painter.drawLine(line_H_x,line_H_y,line_H_x,line_H_y-lint_temp_d);
painter.drawText(QRect(line_H_x-25,(line_H_y-lint_temp_d-20),50,20),Qt::AlignCenter,QString::number(temp_temp_2,10.0,1));
}
else
{
painter.drawLine(line_H_x,line_H_y,line_H_x,line_H_y-lint_temp_d/2.0);
}
line_H_x = line_H_x-line_temp_H;
}
// painter.drawArc((x-y)/2,(y/2.0-40),80,80,180*16,16*270);
painter.drawPixmap((x-y)/2+112*(y/1080.0),y/2,112*(y/1080.0),124*(y/1080.0),pixmap1);
painter.drawPixmap((x-y)/2+217*(y/1080.0),y-58*(y/1080.0),434*(y/1080.0),38*(y/1080.0),pixmap2);
painter.translate((x/2-1),(y/2));
painter.rotate(angle);
painter.save();
painter.drawLine(-220,0,-30,0);
painter.drawLine(30,0,220,0);
painter.drawLine(-180*(y/800.0),-150*(y/580.0),-30*(y/800.0),-150*(y/580.0));
painter.drawLine(-180*(y/800.0),-150*(y/580.0),-180*(y/800.0),-150*(y/580.0)+20);
painter.drawText(QRect(-230*(y/800.0),-150*(y/580.0),50,20),Qt::AlignCenter,"05");
painter.drawLine(30*(y/800.0),-150*(y/580.0),180*(y/800.0),-150*(y/580.0));
painter.drawLine(180*(y/800.0),-150*(y/580.0),180*(y/800.0),-150*(y/580.0)+20);
painter.drawText(QRect(180*(y/800.0),-150*(y/580.0),50,20),Qt::AlignCenter,"05");
painter.drawLine(-180*(y/800.0),-300*(y/580.0),-30*(y/800.0),-300*(y/580.0));
painter.drawLine(-180*(y/800.0),-300*(y/580.0),-180*(y/800.0),-300*(y/580.0)+20);
painter.drawText(QRect(-230*(y/800.0),-300*(y/580.0),50,20),Qt::AlignCenter,"10");
painter.drawLine(30*(y/800.0),-300*(y/580.0),180*(y/800.0),-300*(y/580.0));
painter.drawLine(180*(y/800.0),-300*(y/580.0),180*(y/800.0),-300*(y/580.0)+20);
painter.drawText(QRect(180*(y/800.0),-300*(y/580.0),50,20),Qt::AlignCenter,"10");
// painter.setPen(QPen(Qt::green,2.0,Qt::DotLine));
painter.drawLine(-180*(y/800.0),150*(y/580.0),-30*(y/800.0),150*(y/580.0));
painter.drawLine(-180*(y/800.0),150*(y/580.0),-180*(y/800.0),150*(y/580.0)-20);
painter.drawText(QRect(-230*(y/800.0),150*(y/580.0),50,20),Qt::AlignCenter,"-05");
painter.drawLine(30*(y/800.0),150*(y/580.0),180*(y/800.0),150*(y/580.0));
painter.drawLine(180*(y/800.0),150*(y/580.0),180*(y/800.0),150*(y/580.0)-20);
painter.drawText(QRect(180*(y/800.0),150*(y/580.0),50,20),Qt::AlignCenter,"-05");
painter.drawLine(-180*(y/800.0),300*(y/580.0),-30*(y/800.0),300*(y/580.0));
painter.drawLine(-180*(y/800.0),300*(y/580.0),-180*(y/800.0),300*(y/580.0)-20);
painter.drawText(QRect(-230*(y/800.0),300*(y/580.0),50,20),Qt::AlignCenter,"-10");
painter.drawLine(30*(y/800.0),300*(y/580.0),180*(y/800.0),300*(y/580.0));
painter.drawLine(180*(y/800.0),300*(y/580.0),180*(y/800.0),300*(y/580.0)-20);
painter.drawText(QRect(180*(y/800.0),300*(y/580.0),50,20),Qt::AlignCenter,"-10");
painter.restore();
}
else
{
y = x*3/4;
int temp_x = x;
int flag_1 = y*175/1080;
int flag_2 = flag_1+40;
int flag_3 = y*110/1080;
painter.drawText(QRect((x-y)/2,flag_1,100,20),Qt::AlignLeft,"A 0.2");
painter.drawText(QRect((x-y)/2,flag_1+20,100,20),Qt::AlignLeft,"G 5.00");
painter.drawText(QRect((x-y)/2,flag_1+40,100,20),Qt::AlignLeft,"GM 4.2");
painter.drawText(QRect((x-y)/2,y-(y*120/580.0)+20,100,20),Qt::AlignLeft,"IEOS");
painter.drawText(QRect((x-y)/2,y-(y*120/580.0)+40,100,20),Qt::AlignLeft,"RΘ");
painter.drawText(QRect((x-y)/2,y-(y*120/580.0)+60,100,20),Qt::AlignLeft,"DGFT");
painter.drawText(QRect((x-y)/2,y-(y*120/580.0)+80,100,20),Qt::AlignLeft,"LOAL");
painter.drawText(QRect((x-y)/2+(y*60/580),y-(y*120/580.0)+60*(y/580.0),100,20),Qt::AlignLeft,"MRM");
painter.drawText(QRect((x-y)/2+(y*60/580),y-(y*120/580.0)+80*(y/580.0),100,20),Qt::AlignLeft,"T:40");
painter.drawText(QRect((x-y)/2+(y*60/580),y-(y*120/580.0)+100*(y/580.0),100,20),Qt::AlignLeft,"2/4");
painter.drawText(QRect(x-(x-y)/2-100,flag_1-5,100,20),Qt::AlignRight,"00 0.0");
painter.drawText(QRect(x-(x-y)/2-100,flag_1+25,100,20),Qt::AlignRight,"Time=0.00");
painter.drawText(QRect(x-(x-y)/2-100,flag_1+40,100,20),Qt::AlignRight,"1500.0 Kg");
painter.drawText(QRect(x-(x-y)/2-100,y-(y*120/580.0)+20,100,20),Qt::AlignRight,"0.0");
painter.drawText(QRect(x-(x-y)/2-100,y-(y*120/580.0)+40,100,20),Qt::AlignRight," 0R");
painter.drawText(QRect(x-(x-y)/2-100,y-(y*120/580.0)+60,100,20),Qt::AlignRight,"+0");
painter.drawText(QRect(x-(x-y)/2-100,y-(y*120/580.0)+80,100,20),Qt::AlignRight,"IRM");
painter.drawLine(x/2-1,flag_2,x/2-1,flag_2+flag_3);
painter.drawLine(x/2-1-(temp_x*54/1920)/2,(flag_2+flag_3)-flag_3*2/11,x/2-1+(temp_x*54/1920)/2,(flag_2+flag_3)-flag_3*2/11);
int flag_r = (temp_x*54/1920*23/54);
painter.drawArc((x/2-1)-flag_r/2,(flag_2+flag_3)-flag_3*2/11-flag_r/2,flag_r,flag_r,0,16*360);
float line_temp = y*30/1080.0;
float line_temp_1 = y*3/1080.0;
float line_y = flag_1+80;
float line_x = (x-y)/2+50;
int line_temp_2 = temp_temp+100;
float line_y_1 = (float)(line_y+line_temp_1*(line_temp_2%10));
for(int i = 1;i<=200;i++)
{
if(line_temp_2%50 ==0)
{
painter.drawLine(line_x,line_y_1,line_x-x*30/1920.0,line_y_1);
painter.drawText(QRect(line_x-105-x*30/1920.0,line_y_1-10,100,20),Qt::AlignRight,QString::number(line_temp_2/10,10));
line_y_1=line_y_1+line_temp;
}
else
{
painter.drawLine(line_x,line_y_1,line_x-x*19/1920.0,line_y_1);
if(line_temp_2%10 ==0)
{
line_y_1=line_y_1+line_temp;
}
}
line_temp_2--;
}
painter.setBrush(Qt::black);
painter.drawRect(line_x-55-x*30/1920.0,(line_y+line_temp*10),50,20);
painter.drawText(QRect(line_x-105-x*30/1920.0,(line_y+line_temp*10),100,20),Qt::AlignRight,QString::number(temp_temp,10));
line_temp = y*30/1080.0;
line_temp_1 = y*3/1080.0;
line_y = flag_1+80;
line_x = x-(x-y)/2-50;
int line_temp_3 = temp_temp_1+100;
line_y_1 = (float)(line_y+line_temp_1*(line_temp_3%10)); for(int j = 1;j<=200;j++)
{
if(line_temp_3%50 ==0)
{
painter.drawLine(line_x,line_y_1,line_x+x*30/1920.0,line_y_1);
painter.drawText(QRect(line_x-70+x*30/1920.0,line_y_1-10,100,20),Qt::AlignRight,QString::number(line_temp_3/10,10));
line_y_1=line_y_1+line_temp;
}
else
{
painter.drawLine(line_x,line_y_1,line_x+x*19/1920.0,line_y_1);
if(line_temp_3%10 ==0)
{
line_y_1=line_y_1+line_temp;
}
}
line_temp_3--;
}
painter.setBrush(Qt::black);
painter.drawRect(line_x+3+x*30/1920.0,(line_y+line_temp*10),50,20);
painter.drawText(QRect(line_x+3+x*30/1920.0,(line_y+line_temp*10),50,20),Qt::AlignLeft,QString::number(temp_temp_1,10));
float line_temp_H = y*134/1080.0;
float line_H_x = x-(x-y)/2.0-line_temp_H*2*(int(temp_temp_2*10)%10/10.0);
float lint_temp_d = y*20/1080;
float line_H_y = flag_1-10;
for(int k =1;k<=7;k++)
{
if(k%2!=0)
{
painter.drawLine(line_H_x,line_H_y,line_H_x,line_H_y-lint_temp_d);
painter.drawText(QRect(line_H_x-25,(line_H_y-lint_temp_d-20),50,20),Qt::AlignCenter,QString::number(temp_temp_2,10.0,1));
}
else
{
painter.drawLine(line_H_x,line_H_y,line_H_x,line_H_y-lint_temp_d/2.0);
}
line_H_x = line_H_x-line_temp_H;
} painter.drawPixmap((x-y)/2+112*(y/1080.0),y/2,112*(y/1080.0),124*(y/1080.0),pixmap1);
painter.drawPixmap((x-y)/2+217*(y/1080.0),y-58*(y/1080.0),434*(y/1080.0),38*(y/1080.0),pixmap2);
painter.translate((x/2-1),(y/2));
painter.rotate(angle);
painter.save();
painter.drawLine(-220,0,-30,0);
painter.drawLine(30,0,220,0);
painter.drawLine(-180*(y/800.0),-150*(y/580.0),-30*(y/800.0),-150*(y/580.0));
painter.drawLine(-180*(y/800.0),-150*(y/580.0),-180*(y/800.0),-150*(y/580.0)+20);
painter.drawText(QRect(-230*(y/800.0),-150*(y/580.0),50,20),Qt::AlignCenter,"05");
painter.drawLine(30*(y/800.0),-150*(y/580.0),180*(y/800.0),-150*(y/580.0));
painter.drawLine(180*(y/800.0),-150*(y/580.0),180*(y/800.0),-150*(y/580.0)+20);
painter.drawText(QRect(180*(y/800.0),-150*(y/580.0),50,20),Qt::AlignCenter,"05");
painter.drawLine(-180*(y/800.0),-300*(y/580.0),-30*(y/800.0),-300*(y/580.0));
painter.drawLine(-180*(y/800.0),-300*(y/580.0),-180*(y/800.0),-300*(y/580.0)+20);
painter.drawText(QRect(-230*(y/800.0),-300*(y/580.0),50,20),Qt::AlignCenter,"10");
painter.drawLine(30*(y/800.0),-300*(y/580.0),180*(y/800.0),-300*(y/580.0));
painter.drawLine(180*(y/800.0),-300*(y/580.0),180*(y/800.0),-300*(y/580.0)+20);
painter.drawText(QRect(180*(y/800.0),-300*(y/580.0),50,20),Qt::AlignCenter,"10");
// painter.setPen(QPen(Qt::green,2.0,Qt::DotLine));
painter.drawLine(-180*(y/800.0),150*(y/580.0),-30*(y/800.0),150*(y/580.0));
painter.drawLine(-180*(y/800.0),150*(y/580.0),-180*(y/800.0),150*(y/580.0)-20);
painter.drawText(QRect(-230*(y/800.0),150*(y/580.0),50,20),Qt::AlignCenter,"-05");
painter.drawLine(30*(y/800.0),150*(y/580.0),180*(y/800.0),150*(y/580.0));
painter.drawLine(180*(y/800.0),150*(y/580.0),180*(y/800.0),150*(y/580.0)-20);
painter.drawText(QRect(180*(y/800.0),150*(y/580.0),50,20),Qt::AlignCenter,"-05");
painter.drawLine(-180*(y/800.0),300*(y/580.0),-30*(y/800.0),300*(y/580.0));
painter.drawLine(-180*(y/800.0),300*(y/580.0),-180*(y/800.0),300*(y/580.0)-20);
painter.drawText(QRect(-230*(y/800.0),300*(y/580.0),50,20),Qt::AlignCenter,"-10");
painter.drawLine(30*(y/800.0),300*(y/580.0),180*(y/800.0),300*(y/580.0));
painter.drawLine(180*(y/800.0),300*(y/580.0),180*(y/800.0),300*(y/580.0)-20);
painter.drawText(QRect(180*(y/800.0),300*(y/580.0),50,20),Qt::AlignCenter,"-10");
painter.restore();
}
} void MainWindow::on_action_HUD_G_triggered()
{
about_d->show();
}
都在这里了,这代码估计是我这辈子写的最次的代码了,感觉第二次都看不懂自己写的啥了
Qt HUD(平显)演示程序绿色版的更多相关文章
- 绿色版的Linux.NET——“Jws.Mono”
Linux.NET环境的搭建,不仅是一项比较耗时的事情,同时也是一项略显复杂繁琐的事情.特别是对于近期的几个Mono版本,由于官方所提供的源码包中出现代码文件的缺失,这总让我们的付出变得徒劳.另外一方 ...
- oracle客户端精简绿色版-环境变量配置
大型项目开发中,常用的数据库,当属Oracle.但Oracle 客户端安装就要一张光盘,体积很大.而且安装后,基本上就用2个功能:TNS配置服务名,SqlPlus.在开发过程中,大量使用Toad和PL ...
- qtcreator添加绿色版VC编译器
在不装VS的情况下为qtcreator添加VC编译器和调试器 首先假设在D盘有VC6,VC2002,VC2003,VC2005,VC2008,VC2010,VC2013等绿色版的VC编译器,编译器的的 ...
- 基于React实现的【绿色版电子书阅读器】,支持离线下载
代码地址如下:http://www.demodashi.com/demo/12052.html MyReader 绿色版电子书阅读器 在线地址:http://myreader.linxins.com ...
- python免安装版(绿色版)制作
一.实验环境 1.Windows7x64_SP1 二.需求背景 个人编写了一个软件安装器,用于一键安装开发软件及工具,该工具基于python + pywinauto. 但问题来了,新电脑上未安装pyt ...
- premere cs4绿色版 安装 并且 视频导出 讲解
最近室友,开始在玩视频剪辑,用的是 premere cs4 绿色版.让他遇到的最大问题也是我之前遇到的最大问题,就是视频导出. 所以我在这里上传一套自己的一点点经验吧. 接下来,我就总结一下 我是怎么 ...
- [软件推荐]快速文件复制工具(Limit Copy) V4.0 绿色版
快速文件复制工具(Limit Copy)绿色版是一款智能变频超快复制绿色软件. 快速文件复制工具(Limit Copy)功能比较完善,除了文件复制还可以智能变频,直接把要复制的文件拖入窗口即可,无需手 ...
- VB6SP6极度精简兼容绿色版
钟爱绿色小巧的软件.怀旧一下,整合了几个资源,做了一个VB6SP6极度精简绿色版. 压缩包大小5M. 网上的极度精简绿色版不是SP6的,特意在其基础上更新了SP6.不是单文件版,所谓单文件版不过是执行 ...
- plsql+绿色版oracle连接远程数据库配置及提示缺少msvcr71.dll解决方法
之前一直用的sqldeveloper连接oracle数据库,这个免费而且也是官方出品,除了体积略大启动略慢外,也没什么不好的.. 一次偶然机会决定试一下plsql,整理一下安装资料,需要本地oracl ...
随机推荐
- 整个ssd的网络和multibox_loss_layer
总结说来prior_box层只完成了一个提取anchor的过程,其他与gt的match,筛选正负样本比例都是在multibox_loss_layer完成的 http://www.360doc.com/ ...
- Java读取classpath下的文件
写Java程序时会经常从classpath下读取文件,是时候该整理一下了,并在不断深入的过程中,陆续补充上. 现在Java project 都以maven项目居多, 比如像下面这样的一个项目结构: 编 ...
- C# File流操作
#region 文件读出 private void button1_Click(object sender, EventArgs e) { OpenFileDialog ofd = new OpenF ...
- EJB3 调用的存储过程
要调用存储过程,我们可以通过 EntityManager 对象的 createNativeQuery()方法执行 SQL 语句 (注意:这里说的是SQL 语句,不是 EJB3 QL), 调用存储过程的 ...
- 122. Best Time to Buy and Sell Stock II ——LeetCode
Say you have an array for which the ith element is the price of a given stock on day i. Design an al ...
- Mybatis自动生成的BO对象继承公共父类(BO中过滤掉公共属性)
使用mybatis的代码生成工具:mybatis-generator,如果自动生成的BO都有公共的属性,则可以指定这些BO继承父类(父类中定义公共属性) 1.定义父类 注意:属性public,不要使用 ...
- JavaScript 笔记总结
一.js的简介 1.js是什么 js是可以嵌入到html中,是 基于对象 和 事件驱动 的 脚本语言 特点: (1)交互性 (2)安全性:js不能访问本地磁盘 (3)跨平台:浏览器中都具备js解析器 ...
- SpringMVC知识点总结
1. SpringMVC概述 SpringMVC是一个WEB层框架,主要用来负责与页面的交互. SpringMVC是Spring家族的一大组件.Spring整合Spring ...
- oracle 分组函数、视图
组函数 分组函数作用于一组数据,对每一组返回一个值 组函数类型: 1.计数 count(列名 或 表达式) 对满足的行数进行统计 2.求和 sum(列名 或 表达式 ...
- Spring data JPA 理解(默认查询 自定义查询 分页查询)及no session 三种处理方法
简介:Spring Data JPA 其实就是JDK方式(还有一种cglib的方式需要Class)的动态代理 (需要一个接口 有一大堆接口最上边的是Repository接口来自org.springfr ...