以询问窗口为例,如点击删除某一个条目的按钮,然后弹出询问窗口,如图1所示: 图1 对应的代码如下: 1 int choose = QMessageBox::question(this, tr("删除条目"), 2 QString(tr("确认删除该条目?")), 3 QMessageBox::Yes ...
分类:
其他好文 时间:
2020-04-06 11:57:54
阅读次数:
128
###CSS选择器 CSS3选择器规范地址: https://www.w3.org/TR/2011/REC-css3-selectors-20110929/ CSS3选择最新选择器规范: https://www.w3.org/TR/selectors ! 问题 ! 1.css的全称是什么? 2.样式 ...
分类:
Web程序 时间:
2020-04-05 11:40:44
阅读次数:
83
不使用BootStrap 之 CSS全局样式中的表格,自己也不定义CSS样式 <table> <caption>学生信息表</caption> <tr> <th>编号</th> <th>姓名</th> <th>性别</th> <th>操作</th> </tr> <tr> <td>1</td> <td ...
分类:
Web程序 时间:
2020-04-05 10:04:32
阅读次数:
97
ajax jsp部分代码 $(function() { $.ajax({ type:'POST', url:'list1Action.action', success:function(data){ if(data.length>0){ var tr=''; $.each(data,function ...
分类:
Web程序 时间:
2020-04-04 15:04:39
阅读次数:
82
1 class TrieNode: 2 def __init__(self): 3 self.words = 0 4 self.edges = [None] * 26 5 6 7 class WordDictionary: 8 def __init__(self): 9 self.root = Tr ...
分类:
其他好文 时间:
2020-04-04 09:48:52
阅读次数:
50
平衡二叉搜索树(Balanced Binary Search Tree) 经典常见的自平衡的二叉搜索树(Self-balancing Binary Search Tree)有 ① AVL树 :Windows NT 内核中广泛使用 ② 红黑树:C++ STL(比如 map、set )Java 的 Tr ...
分类:
其他好文 时间:
2020-04-03 11:55:39
阅读次数:
71
[TOC] 一、根轨迹法 1. 核心思想 (1) 将时域动态指标 超调量σ 、 上升时间tr 及 峰值时间ts 转换为z域指标 阻尼比ξ 、 自然频率wn 及 ξwn ; (2)利用z域指标结合 设计样板图 绘制出特殊区域; (3)设计D(z) ,使得 完整系统 的根轨迹经过该特殊区域即可。( 根轨 ...
分类:
其他好文 时间:
2020-04-02 21:05:38
阅读次数:
136
<table> <tbody class="tbody" id="pileListItemDesc"> <tr class="text-center lastTr"> <td class="index">4</td> <td class="depth"><input type="text" name ...
分类:
Web程序 时间:
2020-04-01 12:48:00
阅读次数:
98
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.o ...
分类:
Web程序 时间:
2020-03-31 23:16:55
阅读次数:
148
1.$("#account-table tr").find($("#tcNum")).show();//show显示,hide()隐藏 或者这个样子 $('#account-table tr').find('td:eq(列号)').show();2.$("#tcNum").toggle()://这个 ...
分类:
Web程序 时间:
2020-03-30 12:38:38
阅读次数:
222