QTfrontend/pagedrawmap.cpp
changeset 6009 14f6fc9869f2
parent 5907 64ccc6be0ec5
child 6042 8b5345758f62
equal deleted inserted replaced
6008:215f0c9719e3 6009:14f6fc9869f2
    30     QPushButton * pbUndo = addButton(tr("Undo"), pageLayout, 0, 0);
    30     QPushButton * pbUndo = addButton(tr("Undo"), pageLayout, 0, 0);
    31     QPushButton * pbClear = addButton(tr("Clear"), pageLayout, 1, 0);
    31     QPushButton * pbClear = addButton(tr("Clear"), pageLayout, 1, 0);
    32     QPushButton * pbLoad = addButton(tr("Load"), pageLayout, 2, 0);
    32     QPushButton * pbLoad = addButton(tr("Load"), pageLayout, 2, 0);
    33     QPushButton * pbSave = addButton(tr("Save"), pageLayout, 3, 0);
    33     QPushButton * pbSave = addButton(tr("Save"), pageLayout, 3, 0);
    34 
    34 
       
    35 
    35     BtnBack = addButton(":/res/Exit.png", pageLayout, 5, 0, true);
    36     BtnBack = addButton(":/res/Exit.png", pageLayout, 5, 0, true);
       
    37     connect(BtnBack, SIGNAL(clicked()), this, SIGNAL(goBack()));
       
    38 
    36 
    39 
    37     drawMapWidget = new DrawMapWidget(this);
    40     drawMapWidget = new DrawMapWidget(this);
    38     pageLayout->addWidget(drawMapWidget, 0, 1, 5, 1);
    41     pageLayout->addWidget(drawMapWidget, 0, 1, 5, 1);
    39 
    42 
    40     connect(pbUndo, SIGNAL(clicked()), drawMapWidget, SLOT(undo()));
    43     connect(pbUndo, SIGNAL(clicked()), drawMapWidget, SLOT(undo()));