Diagrma editor: removed the upper limit of 99px imposed by the UI when setting the width/height of diagrams columns/rows.

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2041 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
xavier
2013-02-12 18:55:56 +00:00
parent 62688aa0da
commit 83c51334cb

View File

@@ -104,6 +104,7 @@ void BorderPropertiesWidget::build() {
columns_width = new QSpinBox(diagram_size_box); columns_width = new QSpinBox(diagram_size_box);
columns_width -> setMinimum(qRound(BorderTitleBlock::minColumnsWidth())); columns_width -> setMinimum(qRound(BorderTitleBlock::minColumnsWidth()));
columns_width -> setMaximum(10000);
columns_width -> setSingleStep(10); columns_width -> setSingleStep(10);
columns_width -> setPrefix(tr("\327", "multiplication symbol")); columns_width -> setPrefix(tr("\327", "multiplication symbol"));
columns_width -> setSuffix(tr("px", "unit for cols width")); columns_width -> setSuffix(tr("px", "unit for cols width"));
@@ -119,6 +120,7 @@ void BorderPropertiesWidget::build() {
rows_height = new QSpinBox(diagram_size_box); rows_height = new QSpinBox(diagram_size_box);
rows_height -> setMinimum(qRound(BorderTitleBlock::minRowsHeight())); rows_height -> setMinimum(qRound(BorderTitleBlock::minRowsHeight()));
rows_height -> setMaximum(10000);
rows_height -> setSingleStep(10); rows_height -> setSingleStep(10);
rows_height -> setPrefix(tr("\327", "multiplication symbol")); rows_height -> setPrefix(tr("\327", "multiplication symbol"));
rows_height -> setSuffix(tr("px", "unit for rows height")); rows_height -> setSuffix(tr("px", "unit for rows height"));