I have a QDialogButtonBox in one of my panels with few standard buttons like 'Cancel' and 'Help'. I am adding an extra button in my code:

Qt Code:
  1. m_exportButton = new QPushButton(tr("Export..."));
  2. m_exportButton->setDefault(false);
  3. ui.buttonBox->addButton(m_exportButton, QDialogButtonBox::ActionRole);
To copy to clipboard, switch view to plain text mode 

When I open this panel the text of my export button appears like '...Export'. If I set the button text as just 'Export' no extra dots appear. Is this a bug or is there a way to control this behavior. I want period added to my button text to indicate that another dialog will be opened.

Any help with this issue will be greatly appreciated.

Thanks.