Action BarTheaction baris a dedicated piece of real estate at the top of each screen that is generally persistent throughout the app.It provides sever...
分类:
移动开发 时间:
2015-03-03 11:18:57
阅读次数:
243
1. 概述
下列图片从层次的角度解释了什么是Tiled Backing Store:
viewport 视图端口:代表用来显示网页内容的区域。Qt里,实际上就是QWidget。
Tiled backing store: 可以看作是off-screen的pixmap的缓冲区。为了滚动、缩放操作的平滑,它覆盖的区域总是比viewport要大。
Co...
分类:
其他好文 时间:
2015-03-03 01:14:51
阅读次数:
243
2.2 前缓冲区(Front buffer)
通过QPinter来绘制tile实际上就是要绘制存储在前缓冲区里的pixmap。没有前缓冲区的tile意味着它不需要绘制。
2.3 后缓冲区(Backend Buffer)
后缓冲区充当tile内容的屏下(off-screen)后缓冲区并且可以采用Qt的画笔绘制到Qt widget上。在更新后缓冲区的过...
分类:
其他好文 时间:
2015-03-03 01:13:33
阅读次数:
255
使用telnet或SSH远程登录linux时,如果连接非正常中断,重新连接时,系统将开一个新的session,无法恢复原来的session.screen命令可以解决这个问题。Screen工具是一个终端多路转接器,在本质上,这意味着你能够使用一个单一的终端窗口运行多终端的应用。
screen -ls
screen
还有另一个tmux也是非常的强大。...
分类:
系统相关 时间:
2015-03-02 11:13:29
阅读次数:
188
Grid Size For .col-mdWe started designing our site using thecol-md-*classes. These classes target what screen size?PhonesTabletsLaptopsDesktopsGrid Si...
分类:
其他好文 时间:
2015-03-02 00:59:23
阅读次数:
466
Mac在国外很瘦欢迎,尤其是在设计/web开发/IT人员圈子里。普通用户喜欢Mac可以理解,毕竟Mac设计美观,简单好用,没有病毒。那么为什么专业人士也对Mac情有独钟呢?从个人使用精要来看我想有下面几个原因:1.MacOSX是寄语Unix的这一点太重要了,尤其是对开发人员,至少对于我来..
分类:
移动开发 时间:
2015-03-01 22:30:37
阅读次数:
239
screen: 配置文件: /etc/screenrc /home/USERNAME/.screenrc #screen[OPTION]PID|SESSIONNAME [OPTION] -A将所有的窗口都调整为目前终端机的大校 -cCFGFILE使用CFGILE作为配置文件。 -dPID|SESSIONNAME将指定的screen作业离线。 -hNUM指定视窗的缓冲区行数为NUM。 ..
分类:
其他好文 时间:
2015-02-28 16:43:05
阅读次数:
190
希望能对初学者像我这样的有些帮助;
//listview in fragment on the left of screen
ArrayAdapter ad = new ArrayAdapter(
getActionBar().getThemedContext(),
R.layout.textview_fragme...
分类:
其他好文 时间:
2015-02-27 15:12:31
阅读次数:
145
下面是removeAllViewsInLayout()的源码
/**
* Called by a ViewGroup subclass to remove child views from itself,
* when it must first know its size on screen before it can calculate how many
* c...
分类:
其他好文 时间:
2015-02-27 13:40:55
阅读次数:
532
Implementing Screen Exit for the transaction CO01...
分类:
其他好文 时间:
2015-02-26 13:32:01
阅读次数:
154