Changeset View
Changeset View
Standalone View
Standalone View
src/worksheetentry.cpp
Show First 20 Lines • Show All 703 Lines • ▼ Show 20 Line(s) | 699 | if (!m_actionBar) { | |||
---|---|---|---|---|---|
704 | 704 | | |||
705 | WorksheetToolButton* dragButton; | 705 | WorksheetToolButton* dragButton; | ||
706 | dragButton = m_actionBar->addButton(QIcon::fromTheme(QLatin1String("transform-move")), | 706 | dragButton = m_actionBar->addButton(QIcon::fromTheme(QLatin1String("transform-move")), | ||
707 | i18n("Drag Entry")); | 707 | i18n("Drag Entry")); | ||
708 | connect(dragButton, SIGNAL(pressed()), this, SLOT(startDrag())); | 708 | connect(dragButton, SIGNAL(pressed()), this, SLOT(startDrag())); | ||
709 | 709 | | |||
710 | if (wantToEvaluate()) { | 710 | if (wantToEvaluate()) { | ||
711 | QString toolTip = i18n("Evaluate Entry"); | 711 | QString toolTip = i18n("Evaluate Entry"); | ||
712 | m_actionBar->addButton(QIcon::fromTheme(QLatin1String("view-refresh")), toolTip, | 712 | m_actionBar->addButton(QIcon::fromTheme(QLatin1String("media-playback-start")), toolTip, | ||
713 | this, SLOT(evaluate())); | 713 | this, SLOT(evaluate())); | ||
714 | } | 714 | } | ||
715 | 715 | | |||
716 | m_actionBar->addSpace(); | 716 | m_actionBar->addSpace(); | ||
717 | 717 | | |||
718 | addActionsToBar(m_actionBar); | 718 | addActionsToBar(m_actionBar); | ||
719 | } | 719 | } | ||
720 | 720 | | |||
▲ Show 20 Lines • Show All 83 Lines • Show Last 20 Lines |