コード例 #1
0
ファイル: graphicsView.cpp プロジェクト: rforge/qtinterfaces
SEXP qt_qsetRowStretch_QGraphicsGridLayout(SEXP rself, SEXP rstretch) {
  QGraphicsGridLayout *layout = unwrapPointer(rself, QGraphicsGridLayout);
  for (int i = 0; i < length(rstretch); i++) {
    layout->setRowStretchFactor(i, INTEGER(rstretch)[i]);
  }
  return rself;
}