Show pageOld revisionsBacklinksBack to top You've loaded an old revision of the document! If you save it, you will create a new version with this data. Media Files==== Undertype Notes ==== notes for http://home.gna.org/undertype/ keys QList<QGraphicsItem*> it = selectedItems(); if ( it.isEmpty() && event->modifiers().testFlag ( Qt::ControlModifier ) && event->modifiers().testFlag ( Qt::ShiftModifier ) ) { switch ( event->key() ) { case Qt::Key_Right : slotJustifyItsVeryBadInterletter ( 0.005 ); break; case Qt::Key_Left : slotJustifyItsVeryBadInterletter ( -0.005 ); break; default:break; } } else if ( it.isEmpty() && event->modifiers().testFlag ( Qt::ControlModifier ) ) { switch ( event->key() ) { case Qt::Key_Right : slotJustifyBlanks ( 0.01 ); break; case Qt::Key_Left : slotJustifyBlanks ( -0.01 ); break; default:break; } } else if ( it.isEmpty() ) { QGraphicsView * v = views().first(); switch ( event->key() ) { case Qt::Key_Up: v->scale ( 1.2,1.2 ); break; case Qt::Key_Down : v->scale ( 1.0/1.2,1.0/1.2 ); break; case Qt::Key_Right : slotJustifyBlanks ( 0.1 ); break; case Qt::Key_Left : slotJustifyBlanks ( -0.1 ); break; default:break; } } else { if ( event->key() == Qt::Key_Delete ) { for ( uint i = 0; i < it.count();++i ) { removeItem ( it[i] ); glyphs.removeAll ( static_cast<ULGlyphItem*> ( it[i] ) ); } } else if ( event->key() == Qt::Key_E ) { wantEdit ( static_cast<ULGlyphItem*> ( it.first() ) ); } else { for ( uint i = 0; i < it.count();++i ) static_cast<ULGlyphItem*> ( it[i] )->keyForeign ( event ); } // previewLine(); } } Please fill all the letters into the box to prove you're human. Please keep this field empty: SavePreviewCancel Edit summary Note: By editing this page you agree to license your content under the following license: CC Attribution-Share Alike 4.0 International undertype_notes.1372153745.txt.gz Last modified: 2013-06-25 09:49by nik