[feat:] added TabControl for Multi-Feature App-Design

This commit is contained in:
2025-09-18 15:56:35 +02:00
parent 39f068d983
commit f6952288d7
13 changed files with 100 additions and 100 deletions

View File

@@ -6,11 +6,11 @@
x:Class="Logof_Client.MainWindow" x:Class="Logof_Client.MainWindow"
Title="Logof Client"> Title="Logof Client">
<Border> <Border>
<Grid RowDefinitions="30,*,*"> <Grid RowDefinitions="30,*">
<Menu Background="#50888888"> <Menu Background="#50888888">
<MenuItem Header="Datei"> <MenuItem Header="Datei">
<MenuItem Click="MnuSettings_OnClick" x:Name="MnuSettings" Header="Einstellungen" /> <!-- <MenuItem Click="MnuSettings_OnClick" x:Name="MnuSettings" Header="Einstellungen" /> -->
<Separator /> <!-- <Separator /> -->
<MenuItem Click="MnuExit_OnClick" x:Name="MnuExit" Header="Beenden" /> <MenuItem Click="MnuExit_OnClick" x:Name="MnuExit" Header="Beenden" />
</MenuItem> </MenuItem>
<MenuItem Header="Hilfe"> <MenuItem Header="Hilfe">
@@ -19,64 +19,75 @@
<MenuItem Header="Über" x:Name="MnuAbout" Click="MnuAbout_OnClick" /> <MenuItem Header="Über" x:Name="MnuAbout" Click="MnuAbout_OnClick" />
</MenuItem> </MenuItem>
</Menu> </Menu>
<Grid Grid.Row="1"> <TabControl Grid.Row="1">
<StackPanel Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Center"> <TabItem Header="Adressverwaltung">
<TextBox x:Name="TbFilename" Watermark="Dateipfad" Width="400" VerticalContentAlignment="Center" /> <Grid RowDefinitions="*,*">
<Button x:Name="BtnChooseFile" Margin="10,0,0,0" Click="BtnChooseFile_OnClick"> <Grid Grid.Row="0">
<StackPanel Orientation="Horizontal"> <StackPanel Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Center">
<LucideIcon Kind="FolderOpen" Width="16" Height="16" Size="16" /> <TextBox x:Name="TbFilename" Watermark="Dateipfad" Width="400" VerticalContentAlignment="Center" />
<Label Content="Öffnen" VerticalContentAlignment="Center" /> <Button x:Name="BtnChooseFile" Margin="10,0,0,0" Click="BtnChooseFile_OnClick">
</StackPanel> <StackPanel Orientation="Horizontal">
</Button> <LucideIcon Kind="FolderOpen" Width="16" Height="16" Size="16" />
</StackPanel> <Label Content="Öffnen" VerticalContentAlignment="Center" />
</Grid> </StackPanel>
<Grid Grid.ColumnDefinitions="*,*" Grid.Row="2"> </Button>
<StackPanel Grid.Column="0" Width="250" Orientation="Vertical" HorizontalAlignment="Right" </StackPanel>
Margin="0,0,5,0"> </Grid>
<Button HorizontalAlignment="Stretch" HorizontalContentAlignment="Center" Margin="0,0,0,10" <Grid Grid.ColumnDefinitions="*,*" Grid.Row="1">
x:Name="BtnCheck" Click="BtnCheck_OnClick"> <StackPanel Grid.Column="0" Width="250" Orientation="Vertical" HorizontalAlignment="Right"
<StackPanel Orientation="Horizontal"> Margin="0,0,5,0">
<LucideIcon Kind="SpellCheck" Width="36" Height="36" /> <Button HorizontalAlignment="Stretch" HorizontalContentAlignment="Center" Margin="0,0,0,10"
<Label Content="Prüfen" VerticalContentAlignment="Center" FontSize="15" FontWeight="Bold" /> x:Name="BtnCheck" Click="BtnCheck_OnClick">
</StackPanel> <StackPanel Orientation="Horizontal">
</Button> <LucideIcon Kind="SpellCheck" Width="36" Height="36" />
<Button HorizontalAlignment="Stretch" IsEnabled="True" HorizontalContentAlignment="Center" <Label Content="Prüfen" VerticalContentAlignment="Center" FontSize="15" FontWeight="Bold" />
Click="BtnCombine_OnClick" x:Name="BtnCombine" </StackPanel>
Margin="0,0,0,10"> </Button>
<StackPanel Orientation="Horizontal"> <Button HorizontalAlignment="Stretch" IsEnabled="True" HorizontalContentAlignment="Center"
<LucideIcon Kind="Combine" Width="36" Height="36" /> Click="BtnCombine_OnClick" x:Name="BtnCombine"
<Label Content="Zusammenführen" VerticalContentAlignment="Center" FontSize="15" Margin="0,0,0,10">
FontWeight="Bold" /> <StackPanel Orientation="Horizontal">
</StackPanel> <LucideIcon Kind="Combine" Width="36" Height="36" />
</Button> <Label Content="Zusammenführen" VerticalContentAlignment="Center" FontSize="15"
<Button HorizontalAlignment="Stretch" IsEnabled="False" HorizontalContentAlignment="Center" FontWeight="Bold" />
Margin="0,0,0,10"> </StackPanel>
<StackPanel Orientation="Horizontal"> </Button>
<LucideIcon Kind="Hammer" Width="36" Height="36" /> <Button HorizontalAlignment="Stretch" IsEnabled="False" HorizontalContentAlignment="Center"
<Label Content="Reparieren" VerticalContentAlignment="Center" FontSize="15" Margin="0,0,0,10">
FontWeight="Bold" /> <StackPanel Orientation="Horizontal">
</StackPanel> <LucideIcon Kind="Hammer" Width="36" Height="36" />
</Button> <Label Content="Reparieren" VerticalContentAlignment="Center" FontSize="15"
</StackPanel> FontWeight="Bold" />
<StackPanel Grid.Column="1" Width="250" Orientation="Vertical" HorizontalAlignment="Left" </StackPanel>
Margin="5,0,0,0"> </Button>
<Button HorizontalAlignment="Stretch" IsEnabled="False" HorizontalContentAlignment="Center" </StackPanel>
Margin="0,0,0,10"> <StackPanel Grid.Column="1" Width="250" Orientation="Vertical" HorizontalAlignment="Left"
<StackPanel Orientation="Horizontal"> Margin="5,0,0,0">
<LucideIcon Kind="ListX" Width="36" Height="36" /> <Button HorizontalAlignment="Stretch" IsEnabled="False" HorizontalContentAlignment="Center"
<Label Content="Kürzen" VerticalContentAlignment="Center" FontSize="15" FontWeight="Bold" /> Margin="0,0,0,10">
</StackPanel> <StackPanel Orientation="Horizontal">
</Button> <LucideIcon Kind="ListX" Width="36" Height="36" />
<Button HorizontalAlignment="Stretch" IsEnabled="False" HorizontalContentAlignment="Center" <Label Content="Kürzen" VerticalContentAlignment="Center" FontSize="15" FontWeight="Bold" />
Margin="0,0,0,10"> </StackPanel>
<StackPanel Orientation="Horizontal"> </Button>
<LucideIcon Kind="Tags" Width="36" Height="36" /> <Button HorizontalAlignment="Stretch" IsEnabled="False" HorizontalContentAlignment="Center"
<Label Content="Etiketten generieren" VerticalContentAlignment="Center" FontSize="15" Margin="0,0,0,10">
FontWeight="Bold" /> <StackPanel Orientation="Horizontal">
</StackPanel> <LucideIcon Kind="Tags" Width="36" Height="36" />
</Button> <Label Content="Etiketten generieren" VerticalContentAlignment="Center" FontSize="15"
</StackPanel> FontWeight="Bold" />
</Grid> </StackPanel>
</Button>
</StackPanel>
</Grid>
</Grid>
</TabItem>
<TabItem Header="Personalverwaltung" IsEnabled="False"></TabItem>
<TabItem Header="Finanzverwaltung" IsEnabled="False"></TabItem>
<TabItem Header="Preisverwaltung" IsEnabled="False"></TabItem>
<TabItem Header="Einstellungen" IsEnabled="False"></TabItem>
</TabControl>
</Grid> </Grid>
</Border> </Border>
</Window> </Window>

View File

@@ -1 +1 @@
7c9a93128a982a1e9b3ed6a98b955291256152e83f2d8c0a81b93bfa11851fbe cc87de4fac746164839032e1805ff831b1bfebb5af9a9ab285f035d2b33140a8

Binary file not shown.

View File

@@ -13,10 +13,10 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Logof Client")] [assembly: System.Reflection.AssemblyCompanyAttribute("Logof Client")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+412de903f5b3dfc96eb50f28565ef826c68c4250")] [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+39f068d98341bff702d3557a59ff9a7a435af152")]
[assembly: System.Reflection.AssemblyProductAttribute("Logof Client")] [assembly: System.Reflection.AssemblyProductAttribute("Logof Client")]
[assembly: System.Reflection.AssemblyTitleAttribute("Logof Client")] [assembly: System.Reflection.AssemblyTitleAttribute("Logof Client")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
// Generated by the MSBuild WriteCodeFragment class. // Von der MSBuild WriteCodeFragment-Klasse generiert.

View File

@@ -1 +1 @@
106552b4e3cc179639dda17b27641bd40928d1e6b4629b5c3baae2909de72cef 0309f98864c4aff3aaefc29918055cbc76c3686ae929cab79ee66572f10f0d4b

View File

@@ -15,23 +15,23 @@ build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules = build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = Logof_Client build_property.RootNamespace = Logof_Client
build_property.ProjectDir = /home/fierke/Nextcloud/Documents/source/repos/logofclient/Logof Client/ build_property.ProjectDir = /home/fierke/RiderProjects/logofclient/
build_property.EnableComHosting = build_property.EnableComHosting =
build_property.EnableGeneratedComInterfaceComImportInterop = build_property.EnableGeneratedComInterfaceComImportInterop =
build_property.EffectiveAnalysisLevelStyle = 9.0 build_property.EffectiveAnalysisLevelStyle = 9.0
build_property.EnableCodeStyleSeverity = build_property.EnableCodeStyleSeverity =
[/home/fierke/Nextcloud/Documents/source/repos/logofclient/Logof Client/App.axaml] [/home/fierke/RiderProjects/logofclient/App.axaml]
build_metadata.AdditionalFiles.SourceItemGroup = AvaloniaXaml build_metadata.AdditionalFiles.SourceItemGroup = AvaloniaXaml
[/home/fierke/Nextcloud/Documents/source/repos/logofclient/Logof Client/MainWindow.axaml] [/home/fierke/RiderProjects/logofclient/MainWindow.axaml]
build_metadata.AdditionalFiles.SourceItemGroup = AvaloniaXaml build_metadata.AdditionalFiles.SourceItemGroup = AvaloniaXaml
[/home/fierke/Nextcloud/Documents/source/repos/logofclient/Logof Client/MessageBox.axaml] [/home/fierke/RiderProjects/logofclient/MessageBox.axaml]
build_metadata.AdditionalFiles.SourceItemGroup = AvaloniaXaml build_metadata.AdditionalFiles.SourceItemGroup = AvaloniaXaml
[/home/fierke/Nextcloud/Documents/source/repos/logofclient/Logof Client/ProgressWindow.axaml] [/home/fierke/RiderProjects/logofclient/ProgressWindow.axaml]
build_metadata.AdditionalFiles.SourceItemGroup = AvaloniaXaml build_metadata.AdditionalFiles.SourceItemGroup = AvaloniaXaml
[/home/fierke/Nextcloud/Documents/source/repos/logofclient/Logof Client/ResultWindow.axaml] [/home/fierke/RiderProjects/logofclient/ResultWindow.axaml]
build_metadata.AdditionalFiles.SourceItemGroup = AvaloniaXaml build_metadata.AdditionalFiles.SourceItemGroup = AvaloniaXaml

View File

@@ -1,17 +1,17 @@
{ {
"format": 1, "format": 1,
"restore": { "restore": {
"/home/fierke/Nextcloud/Documents/source/repos/logofclient/Logof Client/Logof Client.csproj": {} "/home/fierke/RiderProjects/logofclient/Logof Client.csproj": {}
}, },
"projects": { "projects": {
"/home/fierke/Nextcloud/Documents/source/repos/logofclient/Logof Client/Logof Client.csproj": { "/home/fierke/RiderProjects/logofclient/Logof Client.csproj": {
"version": "1.0.0", "version": "1.0.0",
"restore": { "restore": {
"projectUniqueName": "/home/fierke/Nextcloud/Documents/source/repos/logofclient/Logof Client/Logof Client.csproj", "projectUniqueName": "/home/fierke/RiderProjects/logofclient/Logof Client.csproj",
"projectName": "Logof Client", "projectName": "Logof Client",
"projectPath": "/home/fierke/Nextcloud/Documents/source/repos/logofclient/Logof Client/Logof Client.csproj", "projectPath": "/home/fierke/RiderProjects/logofclient/Logof Client.csproj",
"packagesPath": "/home/fierke/.nuget/packages/", "packagesPath": "/home/fierke/.nuget/packages/",
"outputPath": "/home/fierke/Nextcloud/Documents/source/repos/logofclient/Logof Client/obj/", "outputPath": "/home/fierke/RiderProjects/logofclient/obj/",
"projectStyle": "PackageReference", "projectStyle": "PackageReference",
"configFilePaths": [ "configFilePaths": [
"/home/fierke/.nuget/NuGet/NuGet.Config" "/home/fierke/.nuget/NuGet/NuGet.Config"
@@ -20,6 +20,7 @@
"net9.0" "net9.0"
], ],
"sources": { "sources": {
"/usr/lib64/dotnet/library-packs": {},
"https://api.nuget.org/v3/index.json": {} "https://api.nuget.org/v3/index.json": {}
}, },
"frameworks": { "frameworks": {
@@ -84,18 +85,12 @@
], ],
"assetTargetFallback": true, "assetTargetFallback": true,
"warn": true, "warn": true,
"downloadDependencies": [
{
"name": "Microsoft.AspNetCore.App.Ref",
"version": "[9.0.8, 9.0.8]"
}
],
"frameworkReferences": { "frameworkReferences": {
"Microsoft.NETCore.App": { "Microsoft.NETCore.App": {
"privateAssets": "all" "privateAssets": "all"
} }
}, },
"runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/9.0.109/PortableRuntimeIdentifierGraph.json" "runtimeIdentifierGraphPath": "/usr/lib64/dotnet/sdk/9.0.109/PortableRuntimeIdentifierGraph.json"
} }
} }
} }

View File

@@ -1484,11 +1484,11 @@
"project": { "project": {
"version": "1.0.0", "version": "1.0.0",
"restore": { "restore": {
"projectUniqueName": "/home/fierke/Nextcloud/Documents/source/repos/logofclient/Logof Client/Logof Client.csproj", "projectUniqueName": "/home/fierke/RiderProjects/logofclient/Logof Client.csproj",
"projectName": "Logof Client", "projectName": "Logof Client",
"projectPath": "/home/fierke/Nextcloud/Documents/source/repos/logofclient/Logof Client/Logof Client.csproj", "projectPath": "/home/fierke/RiderProjects/logofclient/Logof Client.csproj",
"packagesPath": "/home/fierke/.nuget/packages/", "packagesPath": "/home/fierke/.nuget/packages/",
"outputPath": "/home/fierke/Nextcloud/Documents/source/repos/logofclient/Logof Client/obj/", "outputPath": "/home/fierke/RiderProjects/logofclient/obj/",
"projectStyle": "PackageReference", "projectStyle": "PackageReference",
"configFilePaths": [ "configFilePaths": [
"/home/fierke/.nuget/NuGet/NuGet.Config" "/home/fierke/.nuget/NuGet/NuGet.Config"
@@ -1497,6 +1497,7 @@
"net9.0" "net9.0"
], ],
"sources": { "sources": {
"/usr/lib64/dotnet/library-packs": {},
"https://api.nuget.org/v3/index.json": {} "https://api.nuget.org/v3/index.json": {}
}, },
"frameworks": { "frameworks": {
@@ -1561,18 +1562,12 @@
], ],
"assetTargetFallback": true, "assetTargetFallback": true,
"warn": true, "warn": true,
"downloadDependencies": [
{
"name": "Microsoft.AspNetCore.App.Ref",
"version": "[9.0.8, 9.0.8]"
}
],
"frameworkReferences": { "frameworkReferences": {
"Microsoft.NETCore.App": { "Microsoft.NETCore.App": {
"privateAssets": "all" "privateAssets": "all"
} }
}, },
"runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/9.0.109/PortableRuntimeIdentifierGraph.json" "runtimeIdentifierGraphPath": "/usr/lib64/dotnet/sdk/9.0.109/PortableRuntimeIdentifierGraph.json"
} }
} }
} }

View File

@@ -1,8 +1,8 @@
{ {
"version": 2, "version": 2,
"dgSpecHash": "aE0qKetUvS8=", "dgSpecHash": "H0eUIFQ1lew=",
"success": true, "success": true,
"projectFilePath": "/home/fierke/Nextcloud/Documents/source/repos/logofclient/Logof Client/Logof Client.csproj", "projectFilePath": "/home/fierke/RiderProjects/logofclient/Logof Client.csproj",
"expectedPackageFiles": [ "expectedPackageFiles": [
"/home/fierke/.nuget/packages/avalonia/11.3.2/avalonia.11.3.2.nupkg.sha512", "/home/fierke/.nuget/packages/avalonia/11.3.2/avalonia.11.3.2.nupkg.sha512",
"/home/fierke/.nuget/packages/avalonia.angle.windows.natives/2.1.25547.20250602/avalonia.angle.windows.natives.2.1.25547.20250602.nupkg.sha512", "/home/fierke/.nuget/packages/avalonia.angle.windows.natives/2.1.25547.20250602/avalonia.angle.windows.natives.2.1.25547.20250602.nupkg.sha512",
@@ -33,8 +33,7 @@
"/home/fierke/.nuget/packages/skiasharp.nativeassets.webassembly/2.88.9/skiasharp.nativeassets.webassembly.2.88.9.nupkg.sha512", "/home/fierke/.nuget/packages/skiasharp.nativeassets.webassembly/2.88.9/skiasharp.nativeassets.webassembly.2.88.9.nupkg.sha512",
"/home/fierke/.nuget/packages/skiasharp.nativeassets.win32/2.88.9/skiasharp.nativeassets.win32.2.88.9.nupkg.sha512", "/home/fierke/.nuget/packages/skiasharp.nativeassets.win32/2.88.9/skiasharp.nativeassets.win32.2.88.9.nupkg.sha512",
"/home/fierke/.nuget/packages/system.io.pipelines/8.0.0/system.io.pipelines.8.0.0.nupkg.sha512", "/home/fierke/.nuget/packages/system.io.pipelines/8.0.0/system.io.pipelines.8.0.0.nupkg.sha512",
"/home/fierke/.nuget/packages/tmds.dbus.protocol/0.21.2/tmds.dbus.protocol.0.21.2.nupkg.sha512", "/home/fierke/.nuget/packages/tmds.dbus.protocol/0.21.2/tmds.dbus.protocol.0.21.2.nupkg.sha512"
"/home/fierke/.nuget/packages/microsoft.aspnetcore.app.ref/9.0.8/microsoft.aspnetcore.app.ref.9.0.8.nupkg.sha512"
], ],
"logs": [] "logs": []
} }

View File

@@ -1 +1 @@
"restore":{"projectUniqueName":"/home/fierke/Nextcloud/Documents/source/repos/logofclient/Logof Client/Logof Client.csproj","projectName":"Logof Client","projectPath":"/home/fierke/Nextcloud/Documents/source/repos/logofclient/Logof Client/Logof Client.csproj","outputPath":"/home/fierke/Nextcloud/Documents/source/repos/logofclient/Logof Client/obj/","projectStyle":"PackageReference","originalTargetFrameworks":["net9.0"],"sources":{"https://api.nuget.org/v3/index.json":{}},"frameworks":{"net9.0":{"targetAlias":"net9.0","projectReferences":{}}},"warningProperties":{"warnAsError":["NU1605"]},"restoreAuditProperties":{"enableAudit":"true","auditLevel":"low","auditMode":"direct"},"SdkAnalysisLevel":"9.0.100"}"frameworks":{"net9.0":{"targetAlias":"net9.0","dependencies":{"Avalonia":{"target":"Package","version":"[11.3.2, )"},"Avalonia.Controls.DataGrid":{"target":"Package","version":"[11.3.2, )"},"Avalonia.Desktop":{"target":"Package","version":"[11.3.2, )"},"Avalonia.Diagnostics":{"target":"Package","version":"[11.3.2, )"},"Avalonia.Fonts.Inter":{"target":"Package","version":"[11.3.2, )"},"Avalonia.Themes.Fluent":{"target":"Package","version":"[11.3.2, )"},"Lucide.Avalonia":{"target":"Package","version":"[0.1.35, )"}},"imports":["net461","net462","net47","net471","net472","net48","net481"],"assetTargetFallback":true,"warn":true,"downloadDependencies":[{"name":"Microsoft.AspNetCore.App.Ref","version":"[9.0.8, 9.0.8]"}],"frameworkReferences":{"Microsoft.NETCore.App":{"privateAssets":"all"}},"runtimeIdentifierGraphPath":"/usr/share/dotnet/sdk/9.0.109/PortableRuntimeIdentifierGraph.json"}} "restore":{"projectUniqueName":"/home/fierke/RiderProjects/logofclient/Logof Client.csproj","projectName":"Logof Client","projectPath":"/home/fierke/RiderProjects/logofclient/Logof Client.csproj","outputPath":"/home/fierke/RiderProjects/logofclient/obj/","projectStyle":"PackageReference","originalTargetFrameworks":["net9.0"],"sources":{"/usr/lib64/dotnet/library-packs":{},"https://api.nuget.org/v3/index.json":{}},"frameworks":{"net9.0":{"targetAlias":"net9.0","projectReferences":{}}},"warningProperties":{"warnAsError":["NU1605"]},"restoreAuditProperties":{"enableAudit":"true","auditLevel":"low","auditMode":"direct"},"SdkAnalysisLevel":"9.0.100"}"frameworks":{"net9.0":{"targetAlias":"net9.0","dependencies":{"Avalonia":{"target":"Package","version":"[11.3.2, )"},"Avalonia.Controls.DataGrid":{"target":"Package","version":"[11.3.2, )"},"Avalonia.Desktop":{"target":"Package","version":"[11.3.2, )"},"Avalonia.Diagnostics":{"target":"Package","version":"[11.3.2, )"},"Avalonia.Fonts.Inter":{"target":"Package","version":"[11.3.2, )"},"Avalonia.Themes.Fluent":{"target":"Package","version":"[11.3.2, )"},"Lucide.Avalonia":{"target":"Package","version":"[0.1.35, )"}},"imports":["net461","net462","net47","net471","net472","net48","net481"],"assetTargetFallback":true,"warn":true,"frameworkReferences":{"Microsoft.NETCore.App":{"privateAssets":"all"}},"runtimeIdentifierGraphPath":"/usr/lib64/dotnet/sdk/9.0.109/PortableRuntimeIdentifierGraph.json"}}

View File

@@ -1 +1 @@
17581228084312842 17582026664782107

View File

@@ -1 +1 @@
17581228084312842 17582029955911028