官术网_书友最值得收藏!

Selecting numerical values

Previous recipes cover how to work with text inputs; we may want to enforce some inputs to contain only numerical values. This is the use case for the Spinbox and Scale classes—both widgets allow users to select a numerical value from a range or a list of valid options, but there are several differences in the way they are displayed and configured.

主站蜘蛛池模板: 九江市| 宜兰市| 禄丰县| 射阳县| 永清县| 正定县| 霍林郭勒市| 玉环县| 桓仁| 武穴市| 衢州市| 太保市| 东兰县| 岑溪市| 集安市| 新邵县| 临清市| 濉溪县| 通道| 宝清县| 汶川县| 图片| 福清市| 合作市| 德安县| 贡山| 滁州市| 香格里拉县| 东丰县| 延津县| 盐城市| 巨野县| 什邡市| 敦化市| 贺兰县| 营口市| 绥化市| 武强县| 区。| 喀什市| 罗甸县|