Changeset View
Changeset View
Standalone View
Standalone View
part.cpp
Show First 20 Lines • Show All 2657 Lines • ▼ Show 20 Line(s) | 2634 | { | |||
---|---|---|---|---|---|
2658 | } | 2658 | } | ||
2659 | } | 2659 | } | ||
2660 | delete popup; | 2660 | delete popup; | ||
2661 | } | 2661 | } | ||
2662 | 2662 | | |||
2663 | void Part::slotShowProperties() | 2663 | void Part::slotShowProperties() | ||
2664 | { | 2664 | { | ||
2665 | PropertiesDialog *d = new PropertiesDialog(widget(), m_document); | 2665 | PropertiesDialog *d = new PropertiesDialog(widget(), m_document); | ||
2666 | d->exec(); | 2666 | connect(d, &QDialog::finished, d, &QObject::deleteLater); | ||
2667 | delete d; | 2667 | d->open(); | ||
2668 | } | 2668 | } | ||
2669 | 2669 | | |||
2670 | 2670 | | |||
2671 | void Part::slotShowEmbeddedFiles() | 2671 | void Part::slotShowEmbeddedFiles() | ||
2672 | { | 2672 | { | ||
2673 | EmbeddedFilesDialog *d = new EmbeddedFilesDialog(widget(), m_document); | 2673 | EmbeddedFilesDialog *d = new EmbeddedFilesDialog(widget(), m_document); | ||
2674 | d->exec(); | 2674 | connect(d, &QDialog::finished, d, &QObject::deleteLater); | ||
2675 | delete d; | 2675 | d->open(); | ||
2676 | } | 2676 | } | ||
2677 | 2677 | | |||
2678 | 2678 | | |||
2679 | void Part::slotShowPresentation() | 2679 | void Part::slotShowPresentation() | ||
2680 | { | 2680 | { | ||
2681 | if ( !m_presentationWidget ) | 2681 | if ( !m_presentationWidget ) | ||
2682 | { | 2682 | { | ||
2683 | m_presentationWidget = new PresentationWidget( widget(), m_document, m_presentationDrawingActions, actionCollection() ); | 2683 | m_presentationWidget = new PresentationWidget( widget(), m_document, m_presentationDrawingActions, actionCollection() ); | ||
▲ Show 20 Lines • Show All 503 Lines • Show Last 20 Lines |