#0 0xb6325307 in Avogadro::GLWidget::undoStack (this=0x8ec6dc0) at /build/avogadro-fEWzzu/avogadro-1.1.1/libavogadro/src/glwidget.cpp:2206 2201: d->undoStack = undoStack; 2202: } 2203: 2204: QUndoStack *GLWidget::undoStack() const 2205: { 2206: return d->undoStack; 2207: } 2208: 2209: Tool* GLWidget::tool() const 2210: { 2211: return d->tool; #1 0xace874bd in Avogadro::ManipulateTool::applyManualManipulation (this=0x8625280) at /build/avogadro-fEWzzu/avogadro-1.1.1/libavogadro/src/tools/manipulatetool.cpp:106 101: return; 102: 103: // Before doing anything, save an undo state 104: // Get the current GLWidget for the manipulation 105: GLWidget *widget = GLWidget::current(); 106: QUndoStack *stack = widget->undoStack(); 107: QUndoCommand* undo = new MoveAtomCommand(widget->molecule()); 108: if(stack && undo) 109: stack->push(undo); 110: 111: // Get translations and rotations #2 0xace88519 in Avogadro::ManipulateTool::buttonClicked (this=0x8625280, button=0x907b008) at /build/avogadro-fEWzzu/avogadro-1.1.1/libavogadro/src/tools/manipulatetool.cpp:173 168: { 169: if (!m_settingsWidget) 170: return; 171: 172: if (m_settingsWidget->buttonBox->buttonRole(button) == QDialogButtonBox::ApplyRole) { 173: applyManualManipulation(); 174: } else { 175: // reset values 176: m_settingsWidget->xTranslateSpinBox->setValue(0.0); 177: m_settingsWidget->yTranslateSpinBox->setValue(0.0); 178: m_settingsWidget->zTranslateSpinBox->setValue(0.0); #3 0xace8eb6d in Avogadro::ManipulateTool::qt_static_metacall (_o=0x8625280, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbf8709c4) at /build/avogadro-fEWzzu/avogadro-1.1.1/obj-i686-linux-gnu/libavogadro/src/tools/moc_manipulatetool.cxx:49 [Error: moc_manipulatetool.cxx was not found in source tree] #4 0xb67a5efb in QMetaObject::activate (sender=0x907c0a8, m=0xb740d738 , local_signal_index=0, argv=0xbf8709c4) at kernel/qobject.cpp:3567 [Error: qobject.cpp was not found in source tree] #5 0xb6e97649 in QDialogButtonBox::clicked (this=0x907c0a8, _t1=0x907b008) at .moc/release-shared/moc_qdialogbuttonbox.cpp:178 [Error: moc_qdialogbuttonbox.cpp was not found in source tree] #6 0xb6e9773f in QDialogButtonBoxPrivate::_q_handleButtonClicked (this=0x86a5778) at widgets/qdialogbuttonbox.cpp:1139 [Error: qdialogbuttonbox.cpp was not found in source tree] #7 0xb67a5efb in QMetaObject::activate (sender=0x907b008, m=0xb741a198 , local_signal_index=2, argv=0xbf870ab4) at kernel/qobject.cpp:3567 [Error: qobject.cpp was not found in source tree] #8 0xb7162929 in QAbstractButton::clicked (this=0x907b008, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:219 [Error: moc_qabstractbutton.cpp was not found in source tree] #9 0xb6e65289 in QAbstractButtonPrivate::emitClicked (this=0x86d3c08) at widgets/qabstractbutton.cpp:548 [Error: qabstractbutton.cpp was not found in source tree] #10 0xb6e66834 in QAbstractButtonPrivate::click (this=0x86d3c08) at widgets/qabstractbutton.cpp:541 [Error: qabstractbutton.cpp was not found in source tree] #11 0xb6e66977 in QAbstractButton::mouseReleaseEvent (this=0x907b008, e=0xbf870fd4) at widgets/qabstractbutton.cpp:1123 [Error: qabstractbutton.cpp was not found in source tree] #12 0xb6aa4a09 in QWidget::event (this=0x907b008, event=0xbf870fd4) at kernel/qwidget.cpp:8775 [Error: qwidget.cpp was not found in source tree] #13 0xb6e67ae8 in QAbstractButton::event (this=0x907b008, e=0xbf870fd4) at widgets/qabstractbutton.cpp:1082 [Error: qabstractbutton.cpp was not found in source tree] #14 0xb6f08c1a in QPushButton::event (this=0x907b008, e=0xbf870fd4) at widgets/qpushbutton.cpp:683 [Error: qpushbutton.cpp was not found in source tree] #15 0xb6a483ca in QApplicationPrivate::notify_helper (this=0x84b2988, receiver=0x907b008, e=0xbf870fd4) at kernel/qapplication.cpp:4570 [Error: qapplication.cpp was not found in source tree] #16 0xb6a4f926 in QApplication::notify (this=0xbf87162c, receiver=0x907b008, e=0xbf870fd4) at kernel/qapplication.cpp:4113 [Error: qapplication.cpp was not found in source tree] #17 0xb67906ca in QCoreApplication::notifyInternal (this=0xbf87162c, receiver=0x907b008, event=0xbf870fd4) at kernel/qcoreapplication.cpp:955 [Error: qcoreapplication.cpp was not found in source tree] #18 0xb6a4ee31 in sendEvent (event=, receiver=) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231 [Error: qcoreapplication.h was not found in source tree] #19 QApplicationPrivate::sendMouseEvent (receiver=0x907b008, event=0xbf870fd4, alienWidget=0x907b008, nativeWidget=0x86e0fd0, buttonDown=0xb7422cdc , lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3178 [Error: qapplication.cpp was not found in source tree] #20 0xb6ad72d2 in QETWidget::translateMouseEvent (this=0x86e0fd0, event=0xbf8711fc) at kernel/qapplication_x11.cpp:4632 [Error: qapplication_x11.cpp was not found in source tree] #21 0xb6ad6ab0 in QApplication::x11ProcessEvent (this=0xbf87162c, event=0xbf8711fc) at kernel/qapplication_x11.cpp:3626 [Error: qapplication_x11.cpp was not found in source tree] #22 0xb6b02fb2 in x11EventSourceDispatch (s=0x84b4aa8, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146 [Error: qguieventdispatcher_glib.cpp was not found in source tree] #23 0xb5ce3ce9 in g_main_dispatch (context=0x84b3670) at /build/glib2.0-KPKIj1/glib2.0-2.46.0/./glib/gmain.c:3154 [Error: gmain.c was not found in source tree] #24 g_main_context_dispatch (context=0x84b3670) at /build/glib2.0-KPKIj1/glib2.0-2.46.0/./glib/gmain.c:3769 [Error: gmain.c was not found in source tree] #25 0xb5ce3f89 in g_main_context_iterate (context=context@entry=0x84b3670, block=block@entry=1, dispatch=dispatch@entry=1, self=) at /build/glib2.0-KPKIj1/glib2.0-2.46.0/./glib/gmain.c:3840 [Error: gmain.c was not found in source tree] #26 0xb5ce4054 in g_main_context_iteration (context=0x84b3670, may_block=1) at /build/glib2.0-KPKIj1/glib2.0-2.46.0/./glib/gmain.c:3901 [Error: gmain.c was not found in source tree] #27 0xb67c3255 in QEventDispatcherGlib::processEvents (this=0x84b35b8, flags=...) at kernel/qeventdispatcher_glib.cpp:450 [Error: qeventdispatcher_glib.cpp was not found in source tree] #28 0xb6b03096 in QGuiEventDispatcherGlib::processEvents (this=0x84b35b8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 [Error: qguieventdispatcher_glib.cpp was not found in source tree] #29 0xb678edaf in QEventLoop::processEvents (this=0xbf8714d4, flags=...) at kernel/qeventloop.cpp:149 [Error: qeventloop.cpp was not found in source tree] #30 0xb678f13e in QEventLoop::exec (this=0xbf8714d4, flags=...) at kernel/qeventloop.cpp:204 [Error: qeventloop.cpp was not found in source tree] #31 0xb6795736 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1227 [Error: qcoreapplication.cpp was not found in source tree] #32 0xb6a46264 in QApplication::exec () at kernel/qapplication.cpp:3828 [Error: qapplication.cpp was not found in source tree] #33 0x08060e7c in main (argc=1, argv=0xbf871724) at /build/avogadro-fEWzzu/avogadro-1.1.1/avogadro/src/main.cpp:251 246: app.processEvents(); 247: } 248: } 249: } 250: window->show(); 251: return app.exec(); 252: } 253: 254: void printVersion(const QString &) 255: { 256: #ifdef WIN32