mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-09-14 20:33:05 +02:00
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3944 bfdf4180-ca20-0410-9c96-a3a8aa849046
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
|