Ejemplo n.º 1
0
  private void penWidth() {

    Integer newWidth =
        QInputDialog.getInteger(
            this, tr("Scribble"), tr("Select pen width:"), scribbleArea.penWidth(), 1, 50, 1);
    if (newWidth != null) scribbleArea.setPenWidth(newWidth.intValue());
  }