?? table.js
字號:
function Table(ui)
{
this.ui = ui;
with (ui) {
btnClear.clicked.connect(this, tableWidget.clear);
btnInsRow.clicked.connect(this, "insertRow");
btnDelRow.clicked.connect(this, "deleteRow");
btnInsCol.clicked.connect(this, "insertCol");
btnDelCol.clicked.connect(this, "deleteCol");
}
}
Table.prototype.insertRow = function()
{
with (this.ui) {
tableWidget.insertRow(spinInsRow.value);
}
}
Table.prototype.deleteRow = function()
{
with (this.ui) {
tableWidget.removeRow(spinDelRow.value);
}
}
Table.prototype.insertCol = function()
{
with (this.ui) {
tableWidget.insertColumn(spinInsCol.value);
}
}
Table.prototype.deleteCol = function()
{
with (this.ui) {
tableWidget.removeColumn(spinDelCol.value);
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -