自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

  • 博客(7)
  • 资源 (2)
  • 收藏
  • 关注

button

void ButtonCell::paintEvent(QPaintEvent* e) { #undef MARGIN #define MARGIN    2 #define DIVISION  0.7     QRect rectItem = this->rect();// .rect;     QRect border = QRect(rectItem.left()+MARGIN,

2014-10-18 15:39:21 79

myButton::paintEvent

void myButton::paintEvent(QPaintEvent *e) {     QToolButton::paintEvent(e);     QPainter painter(this);     QPen pen;     pen.setColor(mRectColor); //     painter.setPen(pen);  //选择画笔     Q

2014-10-11 16:46:50 96

转载 SQL

select sum(e_wage) as dept_avgWage from employee group by dept_id

2014-08-07 08:35:27 74

QComboBox

QComboBox {      border: 0px;     background: white;  } QComboBox:editable {      background: white;  }  QComboBox::drop-down {      width:40px;     background:#ff9500;  }  QCom

2014-06-25 13:20:49 65

原创 listVie样式表之垂直滚动条

QListView::listView_sub{ background-color: rgb(255, 255, 255); } QScrollBar::vertical {     border:0px solid red;     width: 40px;     background:white; }

2014-06-20 08:19:13 96

转载 fopen(打开文件)

fopen(打开文件) 相关函数 open,fclose 表头文件 #include 定义函数 FILE * fopen(const char * path,const char * mode); 函数说明 参数path字符串包含欲打开的文件路径及文件名,参数mode字符串则代表着流形态。 mode有下列几种形态字符串: r 打开只读文件,该文件必须存在。 r+ 打开可读写的文件,该

2014-06-13 20:54:21 106

转载 两个qml组件之间的通信

A.qml: Item{  id:_a  width:200  height:200  color:"red"  function showB(){    var component = Qt.createComponent("B.qml");         if (component.status == Component.Ready) {             v

2013-12-16 13:43:46 450

QT中文帮助文档

QT中文帮助文档

2013-05-12

QT Creater 快捷键

QT Creater 快捷键

2013-05-12

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除