mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-04-02 01:19:59 +02:00
Image can be edited in the dock widget
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3944 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
31
sources/ui/imagepropertiesdialog.h
Normal file
31
sources/ui/imagepropertiesdialog.h
Normal file
@@ -0,0 +1,31 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user