1.
以资源文件的形式设置控件样式QFiledata(QString(":/style.qss"));QStringqssFile;if(data.open(QFile::ReadOnly)){QTextStreamstyleIn(&data);qssFile=styleIn.readAll();d...
分类:
其他好文 时间:
2014-05-04 20:49:35
阅读次数:
317
//QTextCodec::setCodecForLocale(QTextCodec::codecForName("UTF-8"));QTextCodec::setCodecForLocale(QTextCodec::codecForName("GBK"));
分类:
其他好文 时间:
2014-05-04 20:37:57
阅读次数:
355
1.通过xib自定义cell* 添加tableView* 加载团购数据* 新建xib,获取子控件*
封装* 最后引入headerView和footerView(插入广告,加载更多)2.通过代码自定义cell* 引入UITableViewController*
加载模型数据,用自带的cell展示基本数...
分类:
其他好文 时间:
2014-05-04 20:31:04
阅读次数:
430
第一步:打开Oracle的tnsnames.ora文件。添加test =(DESCRIPTION =
(ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521)) )
(CONNECT_DATA = (SERV...
分类:
数据库 时间:
2014-05-04 20:30:41
阅读次数:
478
我们知道标准库中的容器有vector,list和deque。另外还有slist,只不过它不是标准容器。而谈到容器,我们不得不知道进行容器一切操作的利器---迭代器。而在了解迭代器之前,我们得先知道每个容器的结构,包括它的逻辑结构和物理结构。让我们先说说vector:一、vector
我们先来看...
分类:
其他好文 时间:
2014-05-04 20:06:35
阅读次数:
411
String sql = "update kbr_user k set increment =
ifnull(k.increment,0) + " + increment + ",integral = ifnull(k.integral,0) + " +
integral + " where use...
分类:
数据库 时间:
2014-05-04 19:55:31
阅读次数:
341
用IE10只要在CMD里运行 certutil -setreg
chain\minRSAPubKeyBitLength 512就好了
$\bf命题1:$设$f\left( x \right) \in {C^1}\left( {
- \infty , + \infty } \right)$,令\[{f_n}\left( x \right) = n\left[ {f\left( {x +
\frac{1}{n}} \right) - ...
分类:
其他好文 时间:
2014-05-04 19:12:16
阅读次数:
351
安全模式C:\Windows\SysWOW64\删除:winwb98.IME和winwb98.MB注册表:找到王码五笔相关的项.一般在最下面的以字母E开头的文件夹.全部删除.HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard
La...
ArraysArrays are zero-indexed, ordered lists of
values. They are a handy way to store a set of related items of the same type
(such as strings), thoug...
分类:
编程语言 时间:
2014-05-04 19:08:29
阅读次数:
533