mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-05-05 15:07:18 +00:00
Signed-off-by: Adam Treat <treat.adam@gmail.com> Signed-off-by: Jared Van Bortel <jared@nomic.ai> Signed-off-by: Victor <158754254+SINAPSA-IC@users.noreply.github.com> Co-authored-by: Jared Van Bortel <jared@nomic.ai> Co-authored-by: Victor <158754254+SINAPSA-IC@users.noreply.github.com>
27 lines
724 B
QML
27 lines
724 B
QML
import QtCore
|
|
import QtQuick
|
|
import QtQuick.Controls
|
|
import QtQuick.Controls.Basic
|
|
import mysettings
|
|
import mysettingsenums
|
|
|
|
MySettingsButton {
|
|
property bool isSelected: false
|
|
contentItem: Text {
|
|
text: parent.text
|
|
horizontalAlignment: Qt.AlignCenter
|
|
color: isSelected ? theme.titleTextColor : theme.styledTextColor
|
|
font.pixelSize: theme.fontSizeLarger
|
|
}
|
|
background: Item {
|
|
visible: isSelected || hovered
|
|
Rectangle {
|
|
anchors.bottom: parent.bottom
|
|
anchors.left: parent.left
|
|
anchors.right: parent.right
|
|
height: 3
|
|
color: isSelected ? theme.titleTextColor : theme.styledTextColorLighter
|
|
}
|
|
}
|
|
}
|