mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-04-29 00:39:58 +02:00
Diagram properties dialog: add button to open the conductor autonumérotation editor.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3274 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -18,18 +18,29 @@
|
||||
#ifndef DIAGRAMPROPERTIESDIALOG_H
|
||||
#define DIAGRAMPROPERTIESDIALOG_H
|
||||
|
||||
#include "diagram.h"
|
||||
#include "qdialog.h"
|
||||
|
||||
class Diagram;
|
||||
class AutonumSelectorWidget;
|
||||
|
||||
/**
|
||||
* @brief The DiagramPropertiesDialog class
|
||||
* This dialog open a windows for edit properties of a diagram.
|
||||
*/
|
||||
class DiagramPropertiesDialog : public QDialog
|
||||
{
|
||||
class DiagramPropertiesDialog : public QDialog {
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
DiagramPropertiesDialog(Diagram *diagram, QWidget *parent = 0);
|
||||
|
||||
static void diagramPropertiesDialog(Diagram *diagram, QWidget *parent = 0);
|
||||
|
||||
public slots:
|
||||
void editAutonum ();
|
||||
|
||||
private:
|
||||
Diagram *m_diagram;
|
||||
AutonumSelectorWidget *m_asw;
|
||||
};
|
||||
|
||||
#endif // DIAGRAMPROPERTIESDIALOG_H
|
||||
|
||||
Reference in New Issue
Block a user