mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-03-10 23:38:38 -05:00
Add link to horizons website
This commit is contained in:
@@ -145,13 +145,17 @@ DeltaTimesDialog QListWidget {
|
||||
/*
|
||||
* Camera
|
||||
*/
|
||||
CameraDialog QLabel#error-message {
|
||||
CameraDialog QLabel#error-message {
|
||||
min-width: 10em;
|
||||
}
|
||||
|
||||
/*
|
||||
* Horizons dialog
|
||||
*/
|
||||
QPlainTextEdit#log {
|
||||
QPlainTextEdit#log {
|
||||
font-family: Courier;
|
||||
}
|
||||
|
||||
QLabel#url {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
@@ -281,6 +281,17 @@ void HorizonsDialog::createWidgets() {
|
||||
QLabel* generateLabel = new QLabel("Generate a new Horizons file:", this);
|
||||
generateLabel->setObjectName("heading");
|
||||
layout->addWidget(generateLabel);
|
||||
|
||||
QUrl website("https://ssd.jpl.nasa.gov/horizons/");
|
||||
QLabel* infoLabel = new QLabel("<p>For more information about the Horizons system"
|
||||
"please visit: <a href=\"https://ssd.jpl.nasa.gov/horizons/\">"
|
||||
"https://ssd.jpl.nasa.gov/horizons/</a></p>",
|
||||
this
|
||||
);
|
||||
infoLabel->setWordWrap(true);
|
||||
infoLabel->setObjectName("url");
|
||||
infoLabel->setOpenExternalLinks(true);
|
||||
layout->addWidget(infoLabel);
|
||||
}
|
||||
{
|
||||
QBoxLayout* container = new QHBoxLayout(this);
|
||||
|
||||
Reference in New Issue
Block a user