aboutsummaryrefslogtreecommitdiff
path: root/src/widgets/querydialog.ui
Commit message (Collapse)AuthorAgeFilesLines
* querydialog.ui: Allow smaller dialog sizequerydialog-wrapXavier Del Campo Romero2023-12-151-0/+12
| | | | | | | As the query label is determined by the remote server, it can be arbitrarily long. Therefore, it makes sense to enable word wrap so the dialog still fits on devices with smaller screens, such as mobile phones.
* Replace QInputDialog with custom dialog for queriesXavier Del Campo Romero2023-10-131-0/+77
Recent commits allowed multi-line input while reusing the QInputDialog object already defined by Kristall. However, QInputDialog lacks a way to access its QPlainTextEdit directly, and therefore set the wrap mode. Since QInputDialog does no wrapping, it is inconvenient for writing a long text (think of social media sites such as BBS or Station). Therefore, a custom QDialog-derived class, namely QueryDialog, has been provided.