add widget to configure rotation conductor text by default (not finish)

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2198 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2013-06-02 21:37:04 +00:00
parent 8fe4b7807f
commit f7478c2051
6 changed files with 45 additions and 5 deletions

View File

@@ -545,8 +545,6 @@ void DiagramView::editDiagramProperties() {
popup.setWindowFlags(Qt::Sheet);
#endif
popup.setMinimumWidth(786);
popup.setMinimumHeight(500);
popup.setWindowTitle(tr("Propri\351t\351s du sch\351ma", "window title"));
BorderPropertiesWidget *border_infos = new BorderPropertiesWidget(border, &popup);
@@ -588,6 +586,9 @@ void DiagramView::editDiagramProperties() {
layout_v.addLayout(hlayout1);
layout_v.addStretch();
layout_v.addWidget(&boutons);
//workaround to get a good size by default with this widget
popup.setMinimumSize(popup.minimumSizeHint());
// si le dialogue est accepte
if (popup.exec() == QDialog::Accepted && !diagram_is_read_only) {
TitleBlockProperties new_titleblock = titleblock_infos -> titleBlockProperties();