mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-23 02:10:52 +01:00
New diagram properties dialog :
Merge the dialog of default configuration and the dialog of project configuration, into a single configuration dialog. git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3317 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -118,41 +118,6 @@ class ProjectMainConfigPage : public ProjectConfigPage {
|
||||
DiagramContextWidget *project_variables_;
|
||||
};
|
||||
|
||||
/**
|
||||
This page enables users to configure the default properties of diagrams
|
||||
newly added to the edited project.
|
||||
*/
|
||||
class ProjectNewDiagramConfigPage : public ProjectConfigPage {
|
||||
Q_OBJECT
|
||||
// Constructor, destructor
|
||||
public:
|
||||
ProjectNewDiagramConfigPage(QETProject *, QWidget * = 0);
|
||||
virtual ~ProjectNewDiagramConfigPage();
|
||||
private:
|
||||
ProjectNewDiagramConfigPage(const ProjectNewDiagramConfigPage &);
|
||||
|
||||
// methods
|
||||
public:
|
||||
QString title() const;
|
||||
QIcon icon() const;
|
||||
void applyProjectConf();
|
||||
|
||||
protected:
|
||||
void initWidgets();
|
||||
void initLayout();
|
||||
void readValuesFromProject();
|
||||
void adjustReadOnly();
|
||||
|
||||
// attributes
|
||||
private:
|
||||
QLabel *informative_label_;
|
||||
BorderPropertiesWidget *border_;
|
||||
TitleBlockPropertiesWidget *titleblock_;
|
||||
ConductorPropertiesWidget *conductor_;
|
||||
ReportPropertieWidget *report_;
|
||||
XRefPropertiesWidget *xref_;
|
||||
};
|
||||
|
||||
class ProjectAutoNumConfigPage : public ProjectConfigPage {
|
||||
Q_OBJECT
|
||||
|
||||
|
||||
Reference in New Issue
Block a user