|
|
|
@ -202,9 +202,6 @@ AnnotWindow::AnnotWindow( QWidget * parent, Okular::Annotation * annot, Okular:: |
|
|
|
if (!canEditAnnotation) |
|
|
|
if (!canEditAnnotation) |
|
|
|
textEdit->setReadOnly(true); |
|
|
|
textEdit->setReadOnly(true); |
|
|
|
|
|
|
|
|
|
|
|
m_latexRenderer = new GuiUtils::LatexRenderer(); |
|
|
|
|
|
|
|
emit containsLatex( GuiUtils::LatexRenderer::mightContainLatex( GuiUtils::contents( m_annot ) ) ); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
QVBoxLayout * mainlay = new QVBoxLayout( this ); |
|
|
|
QVBoxLayout * mainlay = new QVBoxLayout( this ); |
|
|
|
mainlay->setMargin( 2 ); |
|
|
|
mainlay->setMargin( 2 ); |
|
|
|
mainlay->setSpacing( 0 ); |
|
|
|
mainlay->setSpacing( 0 ); |
|
|
|
@ -217,6 +214,9 @@ AnnotWindow::AnnotWindow( QWidget * parent, Okular::Annotation * annot, Okular:: |
|
|
|
QSizeGrip * sb = new QSizeGrip( this ); |
|
|
|
QSizeGrip * sb = new QSizeGrip( this ); |
|
|
|
lowerlay->addWidget( sb ); |
|
|
|
lowerlay->addWidget( sb ); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
m_latexRenderer = new GuiUtils::LatexRenderer(); |
|
|
|
|
|
|
|
emit containsLatex( GuiUtils::LatexRenderer::mightContainLatex( GuiUtils::contents( m_annot ) ) ); |
|
|
|
|
|
|
|
|
|
|
|
m_title->setTitle( m_annot->window().summary() ); |
|
|
|
m_title->setTitle( m_annot->window().summary() ); |
|
|
|
m_title->connectOptionButton( this, SLOT(slotOptionBtn()) ); |
|
|
|
m_title->connectOptionButton( this, SLOT(slotOptionBtn()) ); |
|
|
|
|
|
|
|
|
|
|
|
|