mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-09-14 20:33:05 +02:00
32 lines
618 B
C
32 lines
618 B
C
|
#ifndef IMAGEPROPERTIESDIALOG_H
|
||
|
#define IMAGEPROPERTIESDIALOG_H
|
||
|
|
||
|
#include <QDialog>
|
||
|
|
||
|
class ImagePropertiesWidget;
|
||
|
class DiagramImageItem;
|
||
|
|
||
|
namespace Ui {
|
||
|
class ImagePropertiesDialog;
|
||
|
}
|
||
|
|
||
|
class ImagePropertiesDialog : public QDialog
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
explicit ImagePropertiesDialog(DiagramImageItem *image = nullptr, QWidget *parent = 0);
|
||
|
~ImagePropertiesDialog();
|
||
|
void setImageItem (DiagramImageItem *image);
|
||
|
|
||
|
private slots:
|
||
|
void on_buttonBox_accepted();
|
||
|
void on_buttonBox_rejected();
|
||
|
|
||
|
private:
|
||
|
Ui::ImagePropertiesDialog *ui;
|
||
|
ImagePropertiesWidget *m_editor;
|
||
|
};
|
||
|
|
||
|
#endif // IMAGEPROPERTIESDIALOG_H
|