Changeset View
Changeset View
Standalone View
Standalone View
ui/annotationpropertiesdialog.cpp
Show First 20 Lines • Show All 111 Lines • ▼ Show 20 Line(s) | 111 | { | |||
---|---|---|---|---|---|
112 | Okular::Annotation::SubType type=m_annot->subType(); | 112 | Okular::Annotation::SubType type=m_annot->subType(); | ||
113 | QString captiontext; | 113 | QString captiontext; | ||
114 | switch(type) | 114 | switch(type) | ||
115 | { | 115 | { | ||
116 | case Okular::Annotation::AText: | 116 | case Okular::Annotation::AText: | ||
117 | if(((Okular::TextAnnotation*)m_annot)->textType()==Okular::TextAnnotation::Linked) | 117 | if(((Okular::TextAnnotation*)m_annot)->textType()==Okular::TextAnnotation::Linked) | ||
118 | captiontext = i18n( "Pop-up Note Properties" ); | 118 | captiontext = i18n( "Pop-up Note Properties" ); | ||
119 | else | 119 | else | ||
120 | { | ||||
121 | if(((Okular::TextAnnotation*)m_annot)->inplaceIntent()==Okular::TextAnnotation::TypeWriter) | ||||
122 | captiontext = i18n( "Typewriter Properties" ); | ||||
123 | else | ||||
120 | captiontext = i18n( "Inline Note Properties" ); | 124 | captiontext = i18n( "Inline Note Properties" ); | ||
125 | } | ||||
121 | break; | 126 | break; | ||
122 | case Okular::Annotation::ALine: | 127 | case Okular::Annotation::ALine: | ||
123 | if ( ((Okular::LineAnnotation*)m_annot)->linePoints().count() == 2 ) | 128 | if ( ((Okular::LineAnnotation*)m_annot)->linePoints().count() == 2 ) | ||
124 | captiontext = i18n( "Straight Line Properties" ); | 129 | captiontext = i18n( "Straight Line Properties" ); | ||
125 | else | 130 | else | ||
126 | captiontext = i18n( "Polygon Properties" ); | 131 | captiontext = i18n( "Polygon Properties" ); | ||
127 | break; | 132 | break; | ||
128 | case Okular::Annotation::AGeom: | 133 | case Okular::Annotation::AGeom: | ||
▲ Show 20 Lines • Show All 57 Lines • Show Last 20 Lines |