mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-21 08:40: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:
@@ -34,6 +34,8 @@ class TitleBlockTemplateLogoManager : public QWidget {
|
||||
// methods
|
||||
public:
|
||||
QString currentLogo() const;
|
||||
bool isReadOnly() const;
|
||||
void setReadOnly(bool);
|
||||
|
||||
signals:
|
||||
void logosChanged(const TitleBlockTemplate *);
|
||||
@@ -69,5 +71,6 @@ class TitleBlockTemplateLogoManager : public QWidget {
|
||||
QLabel *logo_type_; ///< current logo type
|
||||
QDialogButtonBox *buttons_; ///< ok/cancel buttons
|
||||
QDir open_dialog_dir_; ///< last opened directory
|
||||
bool read_only_; ///< Whether this logo manager should allow logo edition (renaming, addition, deletion)
|
||||
};
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user