Fixed style
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -2,5 +2,5 @@
|
|||||||
<Configurations>
|
<Configurations>
|
||||||
<Platform Name="x64" />
|
<Platform Name="x64" />
|
||||||
</Configurations>
|
</Configurations>
|
||||||
<Project Path="BionxControl.vcxproj" />
|
<Project Path="BionxControl.vcxproj" Id="4294daef-a666-3d4c-a433-ace7fb2b0c2f" />
|
||||||
</Solution>
|
</Solution>
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
</ProjectConfiguration>
|
</ProjectConfiguration>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<PropertyGroup Label="Globals">
|
<PropertyGroup Label="Globals">
|
||||||
<ProjectGuid>{84C4D2DA-BE54-3C31-BEF9-6BCCDD5C3277}</ProjectGuid>
|
<ProjectGuid>{4294DAEF-A666-3D4C-A433-ACE7FB2B0C2F}</ProjectGuid>
|
||||||
<RootNamespace>BionxControl</RootNamespace>
|
<RootNamespace>BionxControl</RootNamespace>
|
||||||
<Keyword>QtVS_v304</Keyword>
|
<Keyword>QtVS_v304</Keyword>
|
||||||
<WindowsTargetPlatformVersion>10.0.26100.0</WindowsTargetPlatformVersion>
|
<WindowsTargetPlatformVersion>10.0.26100.0</WindowsTargetPlatformVersion>
|
||||||
@@ -40,11 +40,11 @@
|
|||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
<Import Project="$(QtMsBuild)\qt_defaults.props" Condition="Exists('$(QtMsBuild)\qt_defaults.props')" />
|
<Import Project="$(QtMsBuild)\qt_defaults.props" Condition="Exists('$(QtMsBuild)\qt_defaults.props')" />
|
||||||
<PropertyGroup Label="QtSettings" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
<PropertyGroup Label="QtSettings" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
<QtInstall>msvc2022x64Qt6</QtInstall>
|
<QtInstall>6.10.1_msvc2022_64</QtInstall>
|
||||||
<QtModules>core;gui;widgets;svg</QtModules>
|
<QtModules>core;gui;widgets;svg</QtModules>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Label="QtSettings" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
<PropertyGroup Label="QtSettings" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
<QtInstall>msvc2022x64Qt6</QtInstall>
|
<QtInstall>6.10.1_msvc2022_64</QtInstall>
|
||||||
<QtModules>core;gui;widgets;svg</QtModules>
|
<QtModules>core;gui;widgets;svg</QtModules>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<Target Name="QtMsBuildNotFound" BeforeTargets="CustomBuild;ClCompile" Condition="!Exists('$(QtMsBuild)\qt.targets') OR !Exists('$(QtMsBuild)\Qt.props')">
|
<Target Name="QtMsBuildNotFound" BeforeTargets="CustomBuild;ClCompile" Condition="!Exists('$(QtMsBuild)\qt.targets') OR !Exists('$(QtMsBuild)\Qt.props')">
|
||||||
|
|||||||
12
BionxControl.vcxproj.user
Normal file
12
BionxControl.vcxproj.user
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup />
|
||||||
|
<PropertyGroup Label="QtSettings" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<QtTouchProperty>
|
||||||
|
</QtTouchProperty>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Label="QtSettings" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<QtTouchProperty>
|
||||||
|
</QtTouchProperty>
|
||||||
|
</PropertyGroup>
|
||||||
|
</Project>
|
||||||
@@ -193,11 +193,10 @@ void BCMainWindow::initStatusBar()
|
|||||||
_statusBar->addPermanentWidget(themeBtn);
|
_statusBar->addPermanentWidget(themeBtn);
|
||||||
connect(themeBtn, &BCThemeSwitchButton::themeChanged, this, [this](bool isDark)
|
connect(themeBtn, &BCThemeSwitchButton::themeChanged, this, [this](bool isDark)
|
||||||
{
|
{
|
||||||
|
|
||||||
QString message = isDark ? "DarkMode aktiviert" : "LightMode aktiviert";
|
QString message = isDark ? "DarkMode aktiviert" : "LightMode aktiviert";
|
||||||
_statusBar->showMessage( message, 3000);
|
_statusBar->showMessage( message, 3000);
|
||||||
//setApplicationStyleSheet( isDark ? cDarkModeStyle : cLightModeStyle );
|
setApplicationStyleSheet( isDark ? cDarkModeStyle : cLightModeStyle );
|
||||||
setApplicationStyleSheet( isDark ? " " : cLightModeStyle );
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// Wir starten im light mode
|
// Wir starten im light mode
|
||||||
@@ -240,7 +239,7 @@ bool BCMainWindow::setApplicationStyleSheet( QAnyStringView path )
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
qWarning() << "Konnte Stylesheet nicht laden:" << styleFile.errorString();
|
qWarning() << "Konnte Stylesheet nicht laden:" << styleFile.errorString();
|
||||||
qApp->setStyleSheet(" ");
|
//qApp->setStyleSheet(" ");
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -114,14 +114,24 @@ QTableView
|
|||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
selection-background-color: #0078d4;
|
selection-background-color: #0078d4;
|
||||||
selection-color: #ffffff;
|
selection-color: #ffffff;
|
||||||
|
outline: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
QTableView::item
|
QTableView::item
|
||||||
{
|
{
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
border: none;
|
border: none;
|
||||||
|
outline: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
QTableView::item:focus
|
||||||
|
{
|
||||||
|
outline: 0;
|
||||||
|
background-color: blue;
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
QTableView::item:hover
|
QTableView::item:hover
|
||||||
{
|
{
|
||||||
background-color: rgba(255, 255, 255, 0.06);
|
background-color: rgba(255, 255, 255, 0.06);
|
||||||
@@ -129,11 +139,20 @@ QTableView::item:hover
|
|||||||
|
|
||||||
QTableView::item:selected
|
QTableView::item:selected
|
||||||
{
|
{
|
||||||
background-color: green;
|
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* === Corner Widget (zwischen Scrollbars) === */
|
||||||
|
QTableView QTableCornerButton::section
|
||||||
|
{
|
||||||
|
background-color: #323232;
|
||||||
|
border: none;
|
||||||
|
border-right: 1px solid #3d3d3d;
|
||||||
|
border-bottom: 1px solid #3d3d3d;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/* === QScrollBar Vertical === */
|
/* === QScrollBar Vertical === */
|
||||||
QScrollBar:vertical
|
QScrollBar:vertical
|
||||||
{
|
{
|
||||||
@@ -209,12 +228,3 @@ QToolTip
|
|||||||
padding: 6px 8px;
|
padding: 6px 8px;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* === Corner Widget (zwischen Scrollbars) === */
|
|
||||||
QTableView QTableCornerButton::section
|
|
||||||
{
|
|
||||||
background-color: #323232;
|
|
||||||
border: none;
|
|
||||||
border-right: 1px solid #3d3d3d;
|
|
||||||
border-bottom: 1px solid #3d3d3d;
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user