Changeset View
Changeset View
Standalone View
Standalone View
ui/annotationwidgets.cpp
Show First 20 Lines • Show All 523 Lines • ▼ Show 20 Line(s) | 515 | { | |||
---|---|---|---|---|---|
524 | gridlay2->addWidget( tmplabel3, 1, 0, Qt::AlignRight ); | 524 | gridlay2->addWidget( tmplabel3, 1, 0, Qt::AlignRight ); | ||
525 | gridlay2->addWidget( tmplabel4, 2, 0, Qt::AlignRight ); | 525 | gridlay2->addWidget( tmplabel4, 2, 0, Qt::AlignRight ); | ||
526 | m_startStyleCombo = new QComboBox( widget ); | 526 | m_startStyleCombo = new QComboBox( widget ); | ||
527 | m_endStyleCombo = new QComboBox( widget ); | 527 | m_endStyleCombo = new QComboBox( widget ); | ||
528 | tmplabel3->setBuddy( m_startStyleCombo ); | 528 | tmplabel3->setBuddy( m_startStyleCombo ); | ||
529 | tmplabel4->setBuddy( m_endStyleCombo ); | 529 | tmplabel4->setBuddy( m_endStyleCombo ); | ||
530 | gridlay2->addWidget( m_startStyleCombo, 1, 1, Qt::AlignLeft ); | 530 | gridlay2->addWidget( m_startStyleCombo, 1, 1, Qt::AlignLeft ); | ||
531 | gridlay2->addWidget( m_endStyleCombo, 2, 1, Qt::AlignLeft ); | 531 | gridlay2->addWidget( m_endStyleCombo, 2, 1, Qt::AlignLeft ); | ||
532 | tmplabel3->setToolTip( i18n("Only for PDF documents") ); | | |||
533 | tmplabel4->setToolTip( i18n("Only for PDF documents") ); | | |||
534 | m_startStyleCombo->setToolTip( i18n("Only for PDF documents") ); | | |||
535 | m_endStyleCombo->setToolTip( i18n("Only for PDF documents") ); | | |||
536 | 532 | | |||
537 | for ( const QString &i: { i18n( "Square" ), i18n( "Circle" ), i18n( "Diamond" ), i18n( "Open Arrow" ), i18n( "Closed Arrow" ), | 533 | for ( const QString &i: { i18n( "Square" ), i18n( "Circle" ), i18n( "Diamond" ), i18n( "Open Arrow" ), i18n( "Closed Arrow" ), | ||
538 | i18n( "None" ), i18n( "Butt" ), i18n( "Right Open Arrow" ), i18n( "Right Closed Arrow" ), i18n( "Slash" ) } ) | 534 | i18n( "None" ), i18n( "Butt" ), i18n( "Right Open Arrow" ), i18n( "Right Closed Arrow" ), i18n( "Slash" ) } ) | ||
539 | { | 535 | { | ||
540 | m_startStyleCombo->addItem( i ); | 536 | m_startStyleCombo->addItem( i ); | ||
541 | m_endStyleCombo->addItem( i ); | 537 | m_endStyleCombo->addItem( i ); | ||
542 | } | 538 | } | ||
543 | 539 | | |||
▲ Show 20 Lines • Show All 337 Lines • Show Last 20 Lines |