diff --git a/PictureDialog.cpp b/PictureDialog.cpp index 5c3b0fc..586d45a 100755 --- a/PictureDialog.cpp +++ b/PictureDialog.cpp @@ -61,3 +61,8 @@ void PictureDialog::setJsonString(SnapmaticPicture *picture) ui->labJSON->setText(jsonDrawString.arg(locX, locY, locZ, plyrsStr, crewID)); } + +void PictureDialog::on_cmdClose_clicked() +{ + this->close(); +} diff --git a/PictureDialog.h b/PictureDialog.h index 96e6f00..e0b7e3d 100755 --- a/PictureDialog.h +++ b/PictureDialog.h @@ -35,6 +35,9 @@ public: void setJsonString(SnapmaticPicture *picture); ~PictureDialog(); +private slots: + void on_cmdClose_clicked(); + private: Ui::PictureDialog *ui; QString jsonDrawString; diff --git a/PictureDialog.ui b/PictureDialog.ui index 7a5cabe..1efafe2 100755 --- a/PictureDialog.ui +++ b/PictureDialog.ui @@ -34,13 +34,47 @@ - - - Location: X: %1 Y: %2 Z: %3 -Players: %4 -Crew ID: %5 + + + 4 - + + 4 + + + 4 + + + 4 + + + + + <span style=" font-weight:600;">Location:</span> X: %1, Y: %2, Z: %3 <br><span style=" font-weight:600;">Players:</span> %4<br><span style=" font-weight:600;">Crew ID:</span> %5 + + + + + + + Qt::Horizontal + + + + 0 + 0 + + + + + + + + Close + + + +