Change WindowTitle to Title - simple summary of task at hand
This commit is contained in:
parent
1346d83e19
commit
4f0b6b0ba9
8 changed files with 15 additions and 15 deletions
|
|
@ -36,7 +36,7 @@ namespace MatterHackers.MatterControl
|
|||
{
|
||||
PrinterConfig Printer { get; }
|
||||
|
||||
string WindowTitle { get; }
|
||||
string Title { get; }
|
||||
|
||||
WizardPage GetNextPage();
|
||||
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ namespace MatterHackers.MatterControl.ConfigurationPage.PrintLeveling
|
|||
: base(printer)
|
||||
{
|
||||
this.showAlreadyLoadedButton = showAlreadyLoadedButton;
|
||||
this.WindowTitle = $"{ApplicationController.Instance.ProductName} - " + "Load Filament Wizard".Localize();
|
||||
this.Title = "Load Filament".Localize();
|
||||
|
||||
// Initialize - store startup temp and extruder index
|
||||
this.TemperatureAtStart = printer.Connection.GetTargetHotendTemperature(extruderIndex);
|
||||
|
|
@ -92,7 +92,7 @@ namespace MatterHackers.MatterControl.ConfigurationPage.PrintLeveling
|
|||
// select the material
|
||||
yield return new SelectMaterialPage(this, "Load Material".Localize(), instructions, "Select".Localize(), extruderIndex, true, showAlreadyLoadedButton)
|
||||
{
|
||||
WindowTitle = WindowTitle
|
||||
WindowTitle = Title
|
||||
};
|
||||
|
||||
var theme = ApplicationController.Instance.Theme;
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ namespace MatterHackers.MatterControl.ConfigurationPage.PrintLeveling
|
|||
public NozzleCalibrationWizard(PrinterConfig printer)
|
||||
: base(printer)
|
||||
{
|
||||
this.WindowTitle = $"{ApplicationController.Instance.ProductName} - " + "Nozzle Calibration Wizard".Localize();
|
||||
this.Title = "Nozzle Calibration".Localize();
|
||||
this.WindowSize = new Vector2(600 * GuiWidget.DeviceScale, 700 * GuiWidget.DeviceScale);
|
||||
|
||||
pages = this.GetPages();
|
||||
|
|
@ -74,7 +74,7 @@ namespace MatterHackers.MatterControl.ConfigurationPage.PrintLeveling
|
|||
"Nozzle Offset Calibration".Localize(),
|
||||
"Offset Calibration required. We'll now print a calibration guide on the printer to tune your nozzle offsets".Localize())
|
||||
{
|
||||
WindowTitle = WindowTitle
|
||||
WindowTitle = Title
|
||||
};
|
||||
|
||||
var extruderCount = printer.Settings.GetValue<int>(SettingsKey.extruder_count);
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ namespace MatterHackers.MatterControl.ConfigurationPage.PrintLeveling
|
|||
public PrintLevelingWizard(PrinterConfig printer)
|
||||
: base(printer)
|
||||
{
|
||||
this.WindowTitle = string.Format("{0} - {1}", ApplicationController.Instance.ProductName, "Print Leveling Wizard".Localize());
|
||||
this.Title = "Print Leveling".Localize();
|
||||
|
||||
this.Initialize();
|
||||
|
||||
|
|
@ -159,7 +159,7 @@ namespace MatterHackers.MatterControl.ConfigurationPage.PrintLeveling
|
|||
"Congratulations on connecting to your printer. Before starting your first print we need to run a simple calibration procedure.".Localize(),
|
||||
"The next few screens will walk your through calibrating your printer.".Localize()))
|
||||
{
|
||||
WindowTitle = WindowTitle
|
||||
WindowTitle = Title
|
||||
};
|
||||
}
|
||||
|
||||
|
|
@ -207,7 +207,7 @@ namespace MatterHackers.MatterControl.ConfigurationPage.PrintLeveling
|
|||
"Print Leveling Overview".Localize(),
|
||||
buildWelcomeText())
|
||||
{
|
||||
WindowTitle = WindowTitle
|
||||
WindowTitle = Title
|
||||
};
|
||||
|
||||
yield return new HomePrinterPage(
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ namespace MatterHackers.MatterControl
|
|||
this.printer = printer;
|
||||
}
|
||||
|
||||
public string WindowTitle { get; protected set; }
|
||||
public string Title { get; protected set; }
|
||||
|
||||
public PrinterConfig Printer => printer;
|
||||
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ namespace MatterHackers.MatterControl.ConfigurationPage.PrintLeveling
|
|||
public ProbeCalibrationWizard(PrinterConfig printer)
|
||||
: base(printer)
|
||||
{
|
||||
this.WindowTitle = $"{ApplicationController.Instance.ProductName} - " + "Probe Calibration Wizard".Localize();
|
||||
this.Title = "Probe Calibration".Localize();
|
||||
|
||||
// Initialize - turn off print leveling
|
||||
printer.Connection.AllowLeveling = false;
|
||||
|
|
@ -115,7 +115,7 @@ namespace MatterHackers.MatterControl.ConfigurationPage.PrintLeveling
|
|||
"Congratulations on connecting to your printer. Before starting your first print we need to run a simple calibration procedure.".Localize(),
|
||||
"The next few screens will walk your through calibrating your printer.".Localize()))
|
||||
{
|
||||
WindowTitle = WindowTitle
|
||||
WindowTitle = Title
|
||||
};
|
||||
}
|
||||
|
||||
|
|
@ -132,7 +132,7 @@ namespace MatterHackers.MatterControl.ConfigurationPage.PrintLeveling
|
|||
"We should be done in less than five minutes.".Localize(),
|
||||
"Click 'Next' to continue.".Localize()))
|
||||
{
|
||||
WindowTitle = WindowTitle
|
||||
WindowTitle = Title
|
||||
};
|
||||
|
||||
// add in the homing printer page
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ namespace MatterHackers.MatterControl.ConfigurationPage.PrintLeveling
|
|||
public UnloadFilamentWizard(PrinterConfig printer, int extruderIndex)
|
||||
: base(printer)
|
||||
{
|
||||
this.WindowTitle = $"{ApplicationController.Instance.ProductName} - " + "Unload Filament Wizard".Localize();
|
||||
this.Title = "Unload Filament".Localize();
|
||||
this.extruderIndex = extruderIndex;
|
||||
|
||||
pages = this.GetPages();
|
||||
|
|
@ -75,7 +75,7 @@ namespace MatterHackers.MatterControl.ConfigurationPage.PrintLeveling
|
|||
// select the material
|
||||
yield return new SelectMaterialPage(this, title, instructions, "Unload".Localize(), extruderIndex, false, false)
|
||||
{
|
||||
WindowTitle = WindowTitle
|
||||
WindowTitle = Title
|
||||
};
|
||||
|
||||
var theme = ApplicationController.Instance.Theme;
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ namespace MatterHackers.MatterControl
|
|||
public static DialogWindow Show(ISetupWizard setupWizard)
|
||||
{
|
||||
DialogWindow wizardWindow = GetWindow(setupWizard.GetType());
|
||||
wizardWindow.Title = setupWizard.WindowTitle;
|
||||
wizardWindow.Title = setupWizard.Title;
|
||||
|
||||
if (setupWizard.WindowSize != Vector2.Zero)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue