QPalette类提供了绘制QWidget控件时使用的颜色。 控件的颜色状态分三种:(1)Active,激活状态(2)Disabled,禁用状态(3)Inactive,未激活状态 控件在这三种不同的状态下具有不同的颜色值,QPalette类管理这三组颜色,它根据这三种状态分为三组颜色,每一组颜色都根...
分类:
其他好文 时间:
2015-07-06 21:42:07
阅读次数:
345
input ??? style ??? ime-mode ???? ??/??? ?????? ??? ??? ??? ? ? ??. style="ime-mode:active"-??????(??? ?????? ???? ?? ?? ??) style="ime-mode:inactive"...
分类:
其他好文 时间:
2015-07-02 13:46:17
阅读次数:
71
最简单的一个操作:sudo ufw status(如果你是root,则去掉sudo,ufw status)可检查防火墙的状态,我的返回的是:inactive(默认为不活动)。sudo ufw version防火墙版本:ufw 0.29-4ubuntu1Copyright 2008-2009 Cano...
分类:
系统相关 时间:
2015-06-17 23:05:56
阅读次数:
162
你可以使用枚举(enumeration)定义一个受限的值得集合。枚举可以让你的代码变得清晰,因为它可以让你用描述性的名字代替那些像整数值那样抽象的事物。
如果你想使用枚举描述机器状态,可以使用如下代码:
enum State {
case Inactive
case Active
case Hibernate
case Terminated
}
var machineState =...
分类:
其他好文 时间:
2015-06-08 09:54:34
阅读次数:
138
css 之 ime-mode语法:ime-mode : auto | active | inactive | disabled取值:auto : 默认值。不影响ime的状态。与不指定 ime-mode 属性时相同active : 指定所有使用ime输入的字符。即激活本地语言输入法。用户仍可以撤销激活...
分类:
Web程序 时间:
2015-05-15 17:25:27
阅读次数:
234
UILabel *left = [[UILabel alloc] init]; left.text = @" Sent when the application is about to move from active to inactive state."; left....
分类:
其他好文 时间:
2015-05-14 00:40:25
阅读次数:
135
1.应用生命周期 Not running?非运行状态Not running ?→ ?Inactive → Active ?→ ?Background?→ Suspended? Inactive? 前台非活动状态 Active 前台活动状态 Background 后台状态 Suspended 挂起状态 非...
分类:
其他好文 时间:
2015-05-11 00:10:54
阅读次数:
156
Cacheddatathatarenotaccessedduringthetimespecifiedbytheinactiveparametergetremovedfromthecacheregardlessoftheirfreshness.Bydefault,inactiveissetto10minutes.(被缓存的数据如果在inactive参数指定的时间内未被访问,就会被从缓存中移除,不论它是否是刚产生的。inacti..
分类:
其他好文 时间:
2015-04-24 19:26:07
阅读次数:
125
Frequent users of putty should have encountered the Putty (inactive) problem. This happens because servers are usually configured to disconnect idle sessions after they are inactive for a particular t...
分类:
其他好文 时间:
2015-04-19 13:16:21
阅读次数:
208
oracle删除日志文件
删除日志文件的语法如下:
alter database drop logfile member logfile_name;
删除日志文件需要注意如下几点:
1.该日志文件所在的的日志文件组不能处于current状态,需要执行一次手动日志切换,将该日志文件组的状态修改为inactive
2.该日志文件所在的日志文件组中必须包含有其他的日志成员。
3如果数据库运行...
分类:
数据库 时间:
2015-03-13 18:46:59
阅读次数:
155