QListView::Graphic roles added
Some checks failed
CMake Build Matrix / Ubuntu Latest GCC Qt5 (push) Has been cancelled
CMake Build Matrix / Ubuntu Latest GCC Qt6 (push) Has been cancelled
CMake Build Matrix / Ubuntu GCC 9 Qt5 (push) Has been cancelled
CMake Build Matrix / Ubuntu GCC 9 Qt6 (push) Has been cancelled
CMake Build Matrix / Windows 2019 MSVC Qt5 (push) Has been cancelled
CMake Build Matrix / Windows Latest MSVC Qt5 (push) Has been cancelled
CMake Build Matrix / Windows 2019 MSVC Qt6 (push) Has been cancelled
CMake Build Matrix / Windows Latest MSVC Qt6 (push) Has been cancelled
CMake Build Matrix / macOS Latest Clang Qt5 (push) Has been cancelled
CMake Build Matrix / macOS Latest Clang Qt6 (push) Has been cancelled
Some checks failed
CMake Build Matrix / Ubuntu Latest GCC Qt5 (push) Has been cancelled
CMake Build Matrix / Ubuntu Latest GCC Qt6 (push) Has been cancelled
CMake Build Matrix / Ubuntu GCC 9 Qt5 (push) Has been cancelled
CMake Build Matrix / Ubuntu GCC 9 Qt6 (push) Has been cancelled
CMake Build Matrix / Windows 2019 MSVC Qt5 (push) Has been cancelled
CMake Build Matrix / Windows Latest MSVC Qt5 (push) Has been cancelled
CMake Build Matrix / Windows 2019 MSVC Qt6 (push) Has been cancelled
CMake Build Matrix / Windows Latest MSVC Qt6 (push) Has been cancelled
CMake Build Matrix / macOS Latest Clang Qt5 (push) Has been cancelled
CMake Build Matrix / macOS Latest Clang Qt6 (push) Has been cancelled
This commit is contained in:
parent
a1d56c2c7e
commit
4e8c3e665c
@ -777,6 +777,15 @@ void Editor::setupListViewColors(
|
||||
}
|
||||
}
|
||||
|
||||
setGraphicRole( Q::Graphic,
|
||||
QskFluent2Skin::GraphicRoleFillColorTextPrimary );
|
||||
|
||||
setGraphicRole( Q::Graphic | Q::Pressed,
|
||||
QskFluent2Skin::GraphicRoleFillColorTextSecondary );
|
||||
|
||||
setGraphicRole( Q::Graphic | Q::Disabled,
|
||||
QskFluent2Skin::GraphicRoleFillColorTextDisabled );
|
||||
|
||||
setAnimation( Q::Cell | A::Color, 100 );
|
||||
setAnimation( Q::Text | A::Color, 100 );
|
||||
}
|
||||
|
@ -1308,8 +1308,14 @@ void Editor::setupListView()
|
||||
|
||||
setColor( Q::Text | state1 | state2,
|
||||
m_pal.color( colorGroup, P::HighlightedText ) );
|
||||
|
||||
setGraphicRole( Q::Graphic | state1 | state2,
|
||||
QskFusionSkin::GraphicHighlighted );
|
||||
}
|
||||
}
|
||||
|
||||
setGraphicRole( Q::Graphic, QskFusionSkin::GraphicNormal );
|
||||
setGraphicRole( Q::Graphic | Q::Disabled, QskFusionSkin::GraphicDisabled );
|
||||
}
|
||||
|
||||
void Editor::setupSubWindow()
|
||||
|
@ -1366,9 +1366,16 @@ void Editor::setupListView()
|
||||
setColor( Q::Text, m_pal.onSurface );
|
||||
setColor( Q::Text | Q::Disabled, m_pal.onSurface38 );
|
||||
|
||||
setGraphicRole( Q::Graphic,
|
||||
QskMaterial3Skin::GraphicRoleOnSurface );
|
||||
|
||||
setGraphicRole( Q::Graphic | Q::Disabled,
|
||||
QskMaterial3Skin::GraphicRoleOnSurface38 );
|
||||
|
||||
#if 1
|
||||
setAnimation( Q::Cell | A::Color, 100 );
|
||||
setAnimation( Q::Text | A::Color, 100 );
|
||||
setAnimation( Q::Graphic | A::Color, 100 );
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user