mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-19 14:50:53 +01:00
Added setReadOnly() methods to the title block template editor classes.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1473 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -72,6 +72,7 @@ class TitleBlockTemplateView : public QGraphicsView {
|
||||
void updateLayout();
|
||||
void rowsDimensionsChanged();
|
||||
void columnsDimensionsChanged();
|
||||
void setReadOnly(bool);
|
||||
|
||||
protected slots:
|
||||
virtual void applyColumnsWidths(bool = true);
|
||||
@@ -125,5 +126,6 @@ class TitleBlockTemplateView : public QGraphicsView {
|
||||
int apply_columns_widths_count_;
|
||||
int apply_rows_heights_count_;
|
||||
bool first_activation_; ///< Boolean used to detect the first display of this widget
|
||||
bool read_only_; ///< Boolean stating whether this view allows template edition
|
||||
};
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user