g[i].push_back(...
vector<int> v;
for (int j = 0; j < n * 2 - 1; j=j*2){
v.push_back(atoi(reinterpret_cast<const char *>(str[j])));
}
g.push_back(v);
QString s = "test";
QNetworkRequest request(QUrl(s));
request.setRawHeader(QByteArray(""), QByteArray(""));
QNetworkRequest request;
request.setRawHeader("", "");
QVariant ModelTable::data(const QModelIndex &index, int role) const {
//...
if (role == Qt::BackgroundRole)
return QBrush(QColor("#123"));
//...
}