mirror of https://github.com/JakubMelka/PDF4QT.git
Issue #189: Minor bugfixes
This commit is contained in:
parent
65a9cde729
commit
dcac8c9572
|
@ -49,8 +49,6 @@ EditorPlugin::EditorPlugin() :
|
||||||
m_scene.setIsPageContentDrawSuppressed(true);
|
m_scene.setIsPageContentDrawSuppressed(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: When text is edited, old text remains
|
|
||||||
|
|
||||||
void EditorPlugin::setWidget(pdf::PDFWidget* widget)
|
void EditorPlugin::setWidget(pdf::PDFWidget* widget)
|
||||||
{
|
{
|
||||||
Q_ASSERT(!m_widget);
|
Q_ASSERT(!m_widget);
|
||||||
|
@ -185,7 +183,7 @@ std::vector<QAction*> EditorPlugin::getActions() const
|
||||||
|
|
||||||
QString EditorPlugin::getPluginMenuName() const
|
QString EditorPlugin::getPluginMenuName() const
|
||||||
{
|
{
|
||||||
return tr("Edi&tor");
|
return tr("Ed&itor");
|
||||||
}
|
}
|
||||||
|
|
||||||
bool EditorPlugin::updatePageContent(pdf::PDFInteger pageIndex,
|
bool EditorPlugin::updatePageContent(pdf::PDFInteger pageIndex,
|
||||||
|
|
|
@ -80,7 +80,7 @@ std::vector<QAction*> ObjectInspectorPlugin::getActions() const
|
||||||
|
|
||||||
QString ObjectInspectorPlugin::getPluginMenuName() const
|
QString ObjectInspectorPlugin::getPluginMenuName() const
|
||||||
{
|
{
|
||||||
return tr("Object &Inspector");
|
return tr("O&bject Inspector");
|
||||||
}
|
}
|
||||||
|
|
||||||
void ObjectInspectorPlugin::onObjectInspectorTriggered()
|
void ObjectInspectorPlugin::onObjectInspectorTriggered()
|
||||||
|
|
|
@ -64,6 +64,9 @@
|
||||||
</property>
|
</property>
|
||||||
<item>
|
<item>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout">
|
<layout class="QVBoxLayout" name="verticalLayout">
|
||||||
|
<property name="spacing">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QToolButton" name="outlineButton">
|
<widget class="QToolButton" name="outlineButton">
|
||||||
<property name="minimumSize">
|
<property name="minimumSize">
|
||||||
|
|
Loading…
Reference in New Issue