Minor fix and modification on selectable tests in dialogs (#1990)
* makes text of the imgur upload selectable * fix the mouse to I shape for selectable texts
This commit is contained in:
committed by
GitHub
parent
534f05b238
commit
94ed574f35
@@ -51,6 +51,8 @@ ImgurUploader::ImgurUploader(const QPixmap& capture, QWidget* parent)
|
||||
m_spinner->start();
|
||||
|
||||
m_infoLabel = new QLabel(tr("Uploading Image"));
|
||||
m_infoLabel->setTextInteractionFlags(Qt::TextSelectableByMouse);
|
||||
m_infoLabel->setCursor(QCursor(Qt::IBeamCursor));
|
||||
|
||||
m_vLayout = new QVBoxLayout();
|
||||
setLayout(m_vLayout);
|
||||
|
||||
@@ -69,12 +69,14 @@ void InfoWindow::initLabels()
|
||||
auto* versionLabel = new QLabel(GlobalValues::versionInfo(), this);
|
||||
versionLabel->setAlignment(Qt::AlignHCenter);
|
||||
versionLabel->setTextInteractionFlags(Qt::TextSelectableByMouse);
|
||||
versionLabel->setCursor(QCursor(Qt::IBeamCursor));
|
||||
m_layout->addWidget(versionLabel);
|
||||
|
||||
QString kernelInfo = generateKernelString();
|
||||
auto* kernelLabel = new QLabel(kernelInfo, this);
|
||||
kernelLabel->setAlignment(Qt::AlignHCenter);
|
||||
kernelLabel->setTextInteractionFlags(Qt::TextSelectableByMouse);
|
||||
kernelLabel->setCursor(QCursor(Qt::IBeamCursor));
|
||||
m_layout->addWidget(kernelLabel);
|
||||
|
||||
auto* copyVersion = new QPushButton("Copy Info", this);
|
||||
|
||||
Reference in New Issue
Block a user