mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-18 13:30:34 +01:00
Title block : list of texts variables can be selected with the mouse and
copied to the clipboard using a context menu or standard keyboard shortcuts. git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5666 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -385,6 +385,7 @@ void TitleBlockTemplateCellWidget::editTranslatableValue(NamesList &names, const
|
||||
|
||||
QLabel *def_var_label = new QLabel(defaultVariablesString());
|
||||
def_var_label -> setTextFormat(Qt::RichText);
|
||||
def_var_label -> setTextInteractionFlags(Qt::TextSelectableByMouse);
|
||||
|
||||
QVBoxLayout *editor_layout = new QVBoxLayout();
|
||||
editor_layout -> addWidget(information);
|
||||
|
||||
Reference in New Issue
Block a user