mirror of
https://github.com/fralx/LimeReport.git
synced 2025-11-25 08:28:06 +03:00
Added hiding (saving, printing, ...) buttons in the Render Report window
This commit is contained in:
@@ -176,6 +176,26 @@ void PreviewReportWindow::setHideResultEditButton(bool value)
|
||||
ui->actionEdit_Mode->setVisible(value);
|
||||
}
|
||||
|
||||
void PreviewReportWindow::setHidePrintButton(bool value)
|
||||
{
|
||||
ui->actionPrint->setVisible(value);
|
||||
}
|
||||
|
||||
void PreviewReportWindow::setHideSaveToFileButton(bool value)
|
||||
{
|
||||
ui->actionSaveToFile->setVisible(value);
|
||||
}
|
||||
|
||||
void PreviewReportWindow::setHidePrintToPdfButton(bool value)
|
||||
{
|
||||
ui->actionPrint_To_PDF->setVisible(value);
|
||||
}
|
||||
|
||||
void PreviewReportWindow::setEnablePrintMenu(bool value)
|
||||
{
|
||||
ui->menuReport->setEnabled(value);
|
||||
}
|
||||
|
||||
QSettings*PreviewReportWindow::settings()
|
||||
{
|
||||
if (m_settings){
|
||||
|
||||
Reference in New Issue
Block a user