author | harlekin <harlekin> | 2003-03-21 21:03:15 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2003-03-21 21:03:15 (UTC) |
commit | 3ed4386c2ee0e411fa3a8f9a81c3d6c86855d385 (patch) (side-by-side diff) | |
tree | 7fb1e530231484d36ed35319701b122d8648e3a1 | |
parent | bf981853b49145690a28a3073aa2e11af329f089 (diff) | |
download | opie-3ed4386c2ee0e411fa3a8f9a81c3d6c86855d385.zip opie-3ed4386c2ee0e411fa3a8f9a81c3d6c86855d385.tar.gz opie-3ed4386c2ee0e411fa3a8f9a81c3d6c86855d385.tar.bz2 |
redo undo now in inline
-rw-r--r-- | noncore/graphics/drawpad/drawpad.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/noncore/graphics/drawpad/drawpad.cpp b/noncore/graphics/drawpad/drawpad.cpp index 53db993..459f1a8 100644 --- a/noncore/graphics/drawpad/drawpad.cpp +++ b/noncore/graphics/drawpad/drawpad.cpp @@ -87,9 +87,9 @@ DrawPad::DrawPad(QWidget* parent, const char* name) QAction* thumbnailViewAction = new QAction(tr("Thumbnail View"), tr("Thumbnail View..."), 0, this); connect(thumbnailViewAction, SIGNAL(activated()), this, SLOT(thumbnailView())); thumbnailViewAction->addTo(toolsPopupMenu); - + QAction* pageInformationAction = new QAction(tr("Page Information"), tr("Page Information..."), 0, this); connect(pageInformationAction, SIGNAL(activated()), this, SLOT(pageInformation())); pageInformationAction->addTo(toolsPopupMenu); @@ -126,14 +126,14 @@ DrawPad::DrawPad(QWidget* parent, const char* name) // init navigation toolbar QPEToolBar* navigationToolBar = new QPEToolBar(this); - m_pUndoAction = new QAction(tr("Undo"), Resource::loadIconSet("drawpad/undo"), QString::null, 0, this); + m_pUndoAction = new QAction(tr("Undo"), Resource::loadIconSet("undo"), QString::null, 0, this); connect(m_pUndoAction, SIGNAL(activated()), m_pDrawPadCanvas, SLOT(undo())); m_pUndoAction->addTo(navigationToolBar); m_pUndoAction->setWhatsThis( tr( "Click here to undo the last action." ) ); - m_pRedoAction = new QAction(tr("Redo"), Resource::loadIconSet("drawpad/redo"), QString::null, 0, this); + m_pRedoAction = new QAction(tr("Redo"), Resource::loadIconSet("redo"), QString::null, 0, this); connect(m_pRedoAction, SIGNAL(activated()), m_pDrawPadCanvas, SLOT(redo())); m_pRedoAction->addTo(navigationToolBar); m_pRedoAction->setWhatsThis( tr( "Click here to re-perform the last action." ) ); @@ -555,9 +555,9 @@ void DrawPad::changeBrushColor(const QColor& color) QPainter painter; painter.begin(m_pBrushColorToolButton->pixmap()); painter.fillRect(QRect(0, 12, 14, 2), m_brush.color()); painter.end(); - + m_pBrushColorToolButton->popup()->hide(); } void DrawPad::updateView() |