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:
blacksun
2015-05-08 17:49:29 +00:00
parent 7ef8cbc0db
commit 6618887ed6
10 changed files with 457 additions and 83 deletions

View 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