Skip to content

Commit

Permalink
Merge pull request #639 from openstudiocoalition/638-make_argument_li…
Browse files Browse the repository at this point in the history
…nks_clickable

Fix #638 - Make links clickable for measure descriptions
  • Loading branch information
jmarrec authored Nov 17, 2023
2 parents b3618fc + 2b8694c commit 020eae2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/shared_gui_components/EditView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ DoubleInputView::DoubleInputView() : InputView() {
setLayout(vLayout);

nameLabel = new QLabel();
nameLabel->setOpenExternalLinks(true);
nameLabel->setTextFormat(Qt::RichText);
nameLabel->setWordWrap(true);
vLayout->addWidget(nameLabel);
Expand Down Expand Up @@ -220,6 +221,7 @@ ChoiceInputView::ChoiceInputView() : InputView() {
setLayout(vLayout);

nameLabel = new QLabel();
nameLabel->setOpenExternalLinks(true);
nameLabel->setWordWrap(true);
vLayout->addWidget(nameLabel);

Expand Down Expand Up @@ -294,6 +296,7 @@ IntegerInputView::IntegerInputView() : InputView() {
setLayout(vLayout);

nameLabel = new QLabel();
nameLabel->setOpenExternalLinks(true);
nameLabel->setWordWrap(true);
vLayout->addWidget(nameLabel);

Expand Down Expand Up @@ -334,6 +337,7 @@ StringInputView::StringInputView() : InputView() {
setLayout(vLayout);

nameLabel = new QLabel();
nameLabel->setOpenExternalLinks(true);
nameLabel->setWordWrap(true);
vLayout->addWidget(nameLabel);

Expand Down Expand Up @@ -382,6 +386,7 @@ InputCheckBox::InputCheckBox() : QAbstractButton() {
setLayout(mainHLayout);

m_label = new QLabel();
m_label->setOpenExternalLinks(true);
m_label->setWordWrap(true);
mainHLayout->addWidget(m_label);

Expand Down

0 comments on commit 020eae2

Please sign in to comment.