mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-03-18 17:09:59 +01:00
The user can now specify his own name/value pairs at three levels:
* user configuration level (qelectrotech.conf): default configuration for new projects * project level (.qet file): default configuration for new diagrams * diagram level (title block properties): names and values may be used by the title block template git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1142 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -42,18 +42,33 @@ class TitleBlockPropertiesWidget : public QWidget {
|
||||
void setTitleBlockTemplatesList(const QList<QString> &);
|
||||
void setTitleBlockTemplatesVisible(bool);
|
||||
|
||||
// slots:
|
||||
private slots:
|
||||
void checkTableRows();
|
||||
|
||||
// private methods
|
||||
private:
|
||||
void initWidgets(const TitleBlockProperties &);
|
||||
void initLayouts();
|
||||
int nameLessRowsCount() const;
|
||||
|
||||
// attributs
|
||||
private:
|
||||
QStackedLayout *stack_layout;
|
||||
QLabel *titleblock_template_label;
|
||||
QComboBox *titleblock_template_name;
|
||||
QLineEdit *titleblock_title;
|
||||
QLineEdit *titleblock_author;
|
||||
QDateEdit *titleblock_date;
|
||||
QLineEdit *titleblock_filename;
|
||||
QLineEdit *titleblock_folio;
|
||||
QLabel *folio_tip;
|
||||
QRadioButton *titleblock_no_date;
|
||||
QRadioButton *titleblock_current_date;
|
||||
QRadioButton *titleblock_fixed_date;
|
||||
bool display_current_date;
|
||||
QLabel *titleblock_template_label;
|
||||
QComboBox *titleblock_template_name;
|
||||
QLabel *additional_fields_label;
|
||||
QTableWidget *additional_fields_table;
|
||||
QTabBar *tabbar;
|
||||
};
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user