Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision Next revisionBoth sides next revision | ||
undertype_notes [2013-06-25 09:49] – created nik | undertype_notes [2013-06-25 10:50] – nik | ||
---|---|---|---|
Line 1: | Line 1: | ||
==== Undertype Notes ==== | ==== Undertype Notes ==== | ||
- | notes for http:// | + | notes for http:// |
- | keys | + | ==== build notes for OSX ==== |
+ | * svn co svn: / / svn.gna.org/ | ||
+ | * sudo port install freetype qt4-mac | ||
+ | * qmake | ||
+ | * add " | ||
+ | * make | ||
+ | ==== terms / window names ==== | ||
+ | * ' | ||
+ | * ' | ||
+ | * Forme/Page on which various lines are arranged | ||
- | QList< | + | ====basic workflow==== |
- | if ( it.isEmpty() && event-> | + | |
- | { | + | |
- | switch ( event-> | + | |
- | { | + | |
- | case Qt:: | + | |
- | break; | + | |
- | case Qt:: | + | |
- | break; | + | |
- | default: | + | |
- | } | + | |
- | } | + | * change focus to ' |
- | else if ( it.isEmpty() | + | * press ' |
- | { | + | * enter fontsize in dialog |
- | switch ( event-> | + | * charaters should be availble in a tray |
- | { | + | * type some text using the keyboard. this text should appear in the " |
- | case Qt:: | + | * if required, select and move the various letters |
- | break; | + | * press return to display the line in the " |
- | case Qt:: | + | * move line around as required |
- | break; | + | * select line in the " |
- | default: | + | |
- | } | + | |
- | } | + | ====keys==== |
- | else if ( it.isEmpty() ) | + | |
- | { | + | |
- | QGraphicsView * v = views().first(); | + | |
- | switch ( event-> | + | |
- | { | + | |
- | case Qt::Key_Up: v->scale ( 1.2,1.2 ); | + | |
- | break; | + | |
- | case Qt:: | + | |
- | break; | + | |
- | case Qt:: | + | |
- | break; | + | |
- | case Qt:: | + | |
- | break; | + | |
- | default: | + | |
- | } | + | |
- | } | + | focus on ' |
- | else | + | |
- | { | + | |
- | if ( event-> | + | |
- | { | + | |
- | for ( uint i = 0; i < it.count(); | + | |
- | { | + | |
- | removeItem ( it[i] ); | + | |
- | glyphs.removeAll | + | |
- | } | + | |
- | } | + | |
- | else if ( event-> | + | |
- | { | + | |
- | wantEdit ( static_cast< | + | |
- | } | + | |
- | else | + | focus on ' |
- | { | + | |
- | for | + | |
- | static_cast< | + | |
- | } | + | |
- | // previewLine(); | + | | Shift & Key_Right | slotJustifyItsVeryBadInterletter ( 0.005 ) | |
- | } | + | | Shift & Key_Left | slotJustifyItsVeryBadInterletter ( -0.005 ) | |
- | } | + | | Control & Key_Right | slotJustifyBlanks ( 0.01 ) | |
+ | | Control & Key_Left | slotJustifyBlanks | | ||
+ | |||
+ | |||
+ | QGraphicsView * v = views().first(); | ||
+ | |||
+ | | Key_Up | v->scale ( 1.2,1.2 ) | | ||
+ | | Key_Down | v->scale ( 1.0/1.2,1.0/1.2 ) | | ||
+ | | Key_Right | slotJustifyBlanks | ||
+ | | Key_Left | slotJustifyBlanks ( -0.1 ) | | ||
+ | |||
+ | |||
+ | | Key_Delete | glyphs.removeAll | | ||
+ | |||
+ | | Key_E | wantEdit ( static_cast< | ||
+ | |||
+ | ==== feature requests / bug reports ==== | ||
+ | * use backspace and delete keys interchangeably | ||
+ | * copy & paste (despite metaphorical inconsistency) | ||
+ | * enter key inserts a Unicode Character ' | ||
+ | |||