mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-18 13:30:34 +01:00
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:
@@ -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"));
|
||||||
|
|||||||
Reference in New Issue
Block a user