[QT]实现Tab键切换控件的两种方式及禁止Tab切换的简单方法,详细信息内容见博客:https://blog.csdn.net/humanking7/article/details/80697667
2022-06-09 09:34:44 489KB Qt tab setTabOrder setFocusPoli
1
第3章1-两种常用中文数据库
2022-06-09 09:05:56 6.46MB 数据库
运算放大器 的内部结构电路模型 反相运算放大器同相运算放大器差动运算放大器 微分电路及差分电路
2022-06-09 08:37:27 134KB 几种运算放大器
1
天气查询APP,两种JSON解析方式 /** * 原始json数据解析 * */ // JSONObject jsonObject = new JSONObject(res); // String reason=jsonObject.getString("reason"); // if (reason.equals("参数不正确")){ // handler.sendEmptyMessage(1); // return; // } // JSONObject result=jsonObject.getJSONObject("result"); // JSONObject realtime=result.getJSONObject("realtime"); // JSONObject life=result.getJSONObject("life"); // JSONObject wind=realtime.getJSONObject("wind"); // String time=realtime.getString("time"); // JSONObject weather=realtime.getJSONObject("weather"); // String date=realtime.getString("date"); // dateStr=time+date; // weekStr=realtime.getString("week"); // calendarStr=realtime.getString("moon"); // windpowerStr=wind.getString("direct")+" "+wind.getString("power"); // weatherStr=weather.getString("info"); // temperatureStr=weather.getString("temperature"); // JSONObject info=life.getJSONObject("info"); // JSONArray kongtiao=info.getJSONArray("kongtiao"); // JSONArray yundong=info.getJSONArray("yundong"); // JSONArray ziwaixian=info.getJSONArray("ziwaixian"); // ACStr=kongtiao.getString(0)+" "+kongtiao.getString(1); // sportStr=yundong.getString(0)+" "+yundong.getString(1); // lightStr=ziwaixian.getString(0)+" "+ziwaixian.getString(1); /** * Gson数据解析 */ WheatherBean wheatherBean=new Gson().fromJson(res,WheatherBean.class); String reason=wheatherBean.getReason(); if (reason.equals("参数不正确")){ handler.sendEmptyMessage(1); return; } WheatherBean.ResultBean resultBean=wheatherBean.getResult(); WheatherBean.ResultBean.RealtimeBean realtimeBean=resultBean.getRealtime(); WheatherBean.ResultBean.RealtimeBean.WindBean windBean=realtimeBean.getWind(); String time=realtimeBean.getTime(); WheatherBean.ResultBean.RealtimeBean.WeatherBean weatherBean=realtimeBean.getWeather(); String date=realtimeBean.getDate(); dateStr=time+date; weekStr=realtimeBean.getWeek(); calendarStr=realtimeBean.getMoon(); windpowerStr=windBean.getDirect()+" "+windBean.getPower(); temperatureStr=weatherBean.getTemperature(); weatherStr=weatherBean.getInfo(); WheatherBean.ResultBean.LifeBean lifeBean=resultBean.getLife(); WheatherBean.ResultBean.LifeBean.InfoBean infoBean=lifeBean.getInfo(); List kongtiao=infoBean.getKongtiao(); List yundong=infoBean.getYundong(); List ziwaixian=infoBean.getZiwaixian(); ACStr=kongtiao.get(0)+" "+kongtiao.get(1); sportStr=yundong.get(0)+" "+yundong.get(1); lightStr=ziwaixian.get(0)+" "+ziwaixian.get(1); }
2022-06-08 14:51:52 28.85MB Json
1
贪婪 动态规划 分治 回溯0-1背包问题4种方法解决0-1背包问题4种方法解决
2022-06-08 13:58:04 842KB 01背包
1
反编译工具,支持4种语言,装上一个插件就可以编辑4种源代码,相当强大
1
ABB IRC5 ABB机器人14钟行业应用程序范例,详细的操作说明PDF文件可轻松阅读。内容详细可应用
2022-06-08 09:00:14 1.5MB 机器人
1
对直接插入排序、希尔排序、冒泡排序、快排、简单选择排序、堆排序的性能进行分析:比较各种排序算法在不同测试数据情况下的比较次数、移动次数。
2022-06-08 00:18:46 380KB C 排序算法
1
从我经历的三种管理时代体会人工管理、文件管理、数据库管理的优劣
2022-06-07 20:04:19 46KB 文档资料 数据库 database
八种主流NoSQL数据库系统对比
2022-06-07 20:03:31 53KB 文档资料 nosql 数据库 database