translate standard buttons
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
1f8ce9eb92
commit
bd82737efb
24 changed files with 70 additions and 0 deletions
|
@ -39,6 +39,8 @@ PageDialog::PageDialog(BasePageProvider* pageProvider, QString defaultId, QWidge
|
|||
|
||||
QDialogButtonBox* buttons = new QDialogButtonBox(QDialogButtonBox::Help | QDialogButtonBox::Close);
|
||||
buttons->button(QDialogButtonBox::Close)->setDefault(true);
|
||||
buttons->button(QDialogButtonBox::Close)->setText(tr("Close"));
|
||||
buttons->button(QDialogButtonBox::Help)->setText(tr("Help"));
|
||||
buttons->setContentsMargins(6, 0, 6, 0);
|
||||
m_container->addButtons(buttons);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue