Add author, updates, and donation links to About dialog
- Author link: shadowdao.com - Updates link: shadowdao.com - Donate link: liberapay.com/GoTakeAKnapp/ - Links are clickable and open in default browser 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -540,13 +540,20 @@ class MainWindow(QMainWindow):
|
|||||||
|
|
||||||
def show_about(self):
|
def show_about(self):
|
||||||
"""Show about dialog."""
|
"""Show about dialog."""
|
||||||
QMessageBox.about(
|
about_box = QMessageBox(self)
|
||||||
self, "About MacroPad Server",
|
about_box.setWindowTitle("About MacroPad Server")
|
||||||
f"MacroPad Server v{VERSION}\n\n"
|
about_box.setTextFormat(Qt.RichText)
|
||||||
"A cross-platform macro management application\n"
|
about_box.setTextInteractionFlags(Qt.TextBrowserInteraction)
|
||||||
"with desktop and web interfaces.\n\n"
|
about_box.setText(
|
||||||
"PWA-enabled for mobile devices."
|
f"<h2>MacroPad Server v{VERSION}</h2>"
|
||||||
|
"<p>A cross-platform macro management application<br>"
|
||||||
|
"with desktop and web interfaces.</p>"
|
||||||
|
"<p><b>Author:</b> <a href='https://shadowdao.com'>ShadowDAO</a></p>"
|
||||||
|
"<p><b>Updates:</b> <a href='https://shadowdao.com'>shadowdao.com</a></p>"
|
||||||
|
"<p><b>Donate:</b> <a href='https://liberapay.com/GoTakeAKnapp/'>Liberapay</a></p>"
|
||||||
)
|
)
|
||||||
|
about_box.setStandardButtons(QMessageBox.Ok)
|
||||||
|
about_box.exec()
|
||||||
|
|
||||||
def closeEvent(self, event):
|
def closeEvent(self, event):
|
||||||
"""Handle window close."""
|
"""Handle window close."""
|
||||||
|
|||||||
Reference in New Issue
Block a user