mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-18 13:30:34 +01:00
Changed every occurence in the code of the "inset" term to "title block".
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1132 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -53,17 +53,17 @@ HotspotEditor::HotspotEditor(QWidget *parent) :
|
||||
sb_hotspot_y -> setSingleStep(10);
|
||||
|
||||
diagram_scene = new Diagram();
|
||||
diagram_scene -> border_and_inset.setColumnsWidth(50.0);
|
||||
diagram_scene -> border_and_inset.setNbColumns(3);
|
||||
diagram_scene -> border_and_inset.setRowsHeight(60.0);
|
||||
diagram_scene -> border_and_inset.setNbRows(2);
|
||||
diagram_scene -> border_and_inset.displayRows(false);
|
||||
diagram_scene -> border_and_inset.displayInset(false);
|
||||
diagram_scene -> border_and_titleblock.setColumnsWidth(50.0);
|
||||
diagram_scene -> border_and_titleblock.setNbColumns(3);
|
||||
diagram_scene -> border_and_titleblock.setRowsHeight(60.0);
|
||||
diagram_scene -> border_and_titleblock.setNbRows(2);
|
||||
diagram_scene -> border_and_titleblock.displayRows(false);
|
||||
diagram_scene -> border_and_titleblock.displayTitleBlock(false);
|
||||
|
||||
diagram_view = new QGraphicsView(diagram_scene);
|
||||
diagram_view -> setMinimumSize(
|
||||
qRound(diagram_scene -> border_and_inset.diagramWidth() + (3 * Diagram::margin)),
|
||||
qRound(diagram_scene -> border_and_inset.diagramHeight() + (3 * Diagram::margin))
|
||||
qRound(diagram_scene -> border_and_titleblock.diagramWidth() + (3 * Diagram::margin)),
|
||||
qRound(diagram_scene -> border_and_titleblock.diagramHeight() + (3 * Diagram::margin))
|
||||
);
|
||||
diagram_view -> setTransformationAnchor(QGraphicsView::AnchorUnderMouse);
|
||||
diagram_view -> setResizeAnchor(QGraphicsView::AnchorUnderMouse);
|
||||
|
||||
Reference in New Issue
Block a user