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:
@@ -41,7 +41,7 @@ class TitleBlockTemplateCellWidget : public QWidget {
|
||||
// attributes
|
||||
private:
|
||||
/// is the template read-only?
|
||||
bool read_only;
|
||||
bool read_only_;
|
||||
QLabel *cell_type_label_;
|
||||
QComboBox *cell_type_input_;
|
||||
|
||||
@@ -81,6 +81,7 @@ class TitleBlockTemplateCellWidget : public QWidget {
|
||||
int horizontalAlignment() const;
|
||||
int verticalAlignment() const;
|
||||
int alignment() const;
|
||||
bool isReadOnly() const;
|
||||
|
||||
protected:
|
||||
void editTranslatableValue(NamesList &, const QString &, const QString &) const;
|
||||
@@ -102,6 +103,7 @@ class TitleBlockTemplateCellWidget : public QWidget {
|
||||
void editAdjust();
|
||||
void editLogo();
|
||||
void updateLogosComboBox(const TitleBlockTemplate *);
|
||||
void setReadOnly(bool);
|
||||
|
||||
private slots:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user