Refactoring. More appropriate name for a method.
--HG-- branch : feature
This commit is contained in:
parent
4565a47b91
commit
4d75ca0fe3
|
@ -5283,7 +5283,7 @@ bool MainWindow::DoExport(const VCommandLinePtr &expParams)
|
||||||
auto settings = expParams->DefaultGenerator();
|
auto settings = expParams->DefaultGenerator();
|
||||||
settings->SetTextAsPaths(expParams->IsTextAsPaths());
|
settings->SetTextAsPaths(expParams->IsTextAsPaths());
|
||||||
|
|
||||||
if (LayoutSettings(*settings.get()))
|
if (GenerateLayout(*settings.get()))
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
|
@ -210,7 +210,7 @@ void MainWindowsNoGUI::ToolLayoutSettings(bool checked)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
layoutPrinterName = layout.SelectedPrinter();
|
layoutPrinterName = layout.SelectedPrinter();
|
||||||
LayoutSettings(lGenerator);
|
GenerateLayout(lGenerator);
|
||||||
tButton->setChecked(false);
|
tButton->setChecked(false);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -220,7 +220,7 @@ void MainWindowsNoGUI::ToolLayoutSettings(bool checked)
|
||||||
}
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
bool MainWindowsNoGUI::LayoutSettings(VLayoutGenerator& lGenerator)
|
bool MainWindowsNoGUI::GenerateLayout(VLayoutGenerator& lGenerator)
|
||||||
{
|
{
|
||||||
lGenerator.SetDetails(listDetails);
|
lGenerator.SetDetails(listDetails);
|
||||||
|
|
||||||
|
|
|
@ -133,7 +133,7 @@ protected:
|
||||||
virtual void CleanLayout()=0;
|
virtual void CleanLayout()=0;
|
||||||
virtual void PrepareSceneList()=0;
|
virtual void PrepareSceneList()=0;
|
||||||
QIcon ScenePreview(int i) const;
|
QIcon ScenePreview(int i) const;
|
||||||
bool LayoutSettings(VLayoutGenerator& lGenerator);
|
bool GenerateLayout(VLayoutGenerator& lGenerator);
|
||||||
int ContinueIfLayoutStale();
|
int ContinueIfLayoutStale();
|
||||||
QString FileName() const;
|
QString FileName() const;
|
||||||
void SetSizeHeightForIndividualM() const;
|
void SetSizeHeightForIndividualM() const;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user