Subversion Repositories OpenInventory

Compare Revisions

Ignore whitespace Rev 167 → Rev 168

/trunk/ClassEditor/classeditor.cpp
8,7 → 8,7
{
ui->setupUi(this);
 
iconFrm.show();
// iconFrm.show();
 
 
806,6 → 806,7
ok = mymodel->setData(mymodel->index(currIndexOfClassesTable.row(), 5), QVariant (bytes), Qt::EditRole);
mymodel->submitAll();
 
 
}
 
 
816,11 → 817,11
int i;
i++;
ui->tableView->resizeColumnsToContents();
ui->tableView->resizeRowsToContents();
 
 
 
 
 
}
 
void ClassEditor::on_modelForDescription_dataChanged ( const QModelIndex & topLeft, const QModelIndex & bottomRight ){
1151,7 → 1152,8
pictureDelegate = new CPictureDelegate(this);
pictureDelegate->setTableView(ui->tableView);
ui->tableView->setItemDelegateForColumn(5, pictureDelegate);
 
ui->tableView->resizeColumnsToContents();
ui->tableView->resizeRowsToContents();
/*
for (int i=0; i < mymodel->rowCount(); i++){
ui->tableView->setRowHeight(i, 100);