mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-18 16:05:21 +01:00
Move source files to /src
This commit is contained in:
parent
4daff1ba79
commit
033ff07abf
2685 changed files with 9 additions and 7 deletions
18
src/qmlcomponents/ImButton.qml
Normal file
18
src/qmlcomponents/ImButton.qml
Normal file
|
@ -0,0 +1,18 @@
|
|||
/*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
* Copyright (C) 2022 Raspberry Pi Ltd
|
||||
*/
|
||||
|
||||
import QtQuick 2.9
|
||||
import QtQuick.Controls 2.2
|
||||
import QtQuick.Layouts 1.0
|
||||
import QtQuick.Controls.Material 2.2
|
||||
|
||||
Button {
|
||||
font.family: roboto.name
|
||||
Material.background: activeFocus ? "#d1dcfb" : "#ffffff"
|
||||
Material.foreground: "#c51a4a"
|
||||
Accessible.onPressAction: clicked()
|
||||
Keys.onEnterPressed: clicked()
|
||||
Keys.onReturnPressed: clicked()
|
||||
}
|
14
src/qmlcomponents/ImCheckBox.qml
Normal file
14
src/qmlcomponents/ImCheckBox.qml
Normal file
|
@ -0,0 +1,14 @@
|
|||
/*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
* Copyright (C) 2022 Raspberry Pi Ltd
|
||||
*/
|
||||
|
||||
import QtQuick 2.9
|
||||
import QtQuick.Controls 2.2
|
||||
import QtQuick.Layouts 1.0
|
||||
import QtQuick.Controls.Material 2.2
|
||||
|
||||
CheckBox {
|
||||
Keys.onEnterPressed: toggle()
|
||||
Keys.onReturnPressed: toggle()
|
||||
}
|
14
src/qmlcomponents/ImRadioButton.qml
Normal file
14
src/qmlcomponents/ImRadioButton.qml
Normal file
|
@ -0,0 +1,14 @@
|
|||
/*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
* Copyright (C) 2022 Raspberry Pi Ltd
|
||||
*/
|
||||
|
||||
import QtQuick 2.9
|
||||
import QtQuick.Controls 2.2
|
||||
import QtQuick.Layouts 1.0
|
||||
import QtQuick.Controls.Material 2.2
|
||||
|
||||
RadioButton {
|
||||
Keys.onEnterPressed: toggle()
|
||||
Keys.onReturnPressed: toggle()
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue