Elements work like they've always done, this just moves the commonly used components away from the global namespace. The qmldir file still does something, although at this point it is unknown exactly how it's used and whether or not it could be changed to simplify imports across the block.
37 lines
637 B
QML
37 lines
637 B
QML
import QtQuick 2.7
|
|
import QtQuick.Controls 2.0
|
|
import QtQuick.Layouts 1.3
|
|
import matzman666.advsettings 1.0
|
|
import "../common"
|
|
import "device_selector"
|
|
import "proximity"
|
|
import "push_to_talk"
|
|
import "profiles"
|
|
|
|
MyStackViewPage {
|
|
width: 1200
|
|
headerText: "Audio Settings"
|
|
|
|
content: ColumnLayout {
|
|
spacing: 24
|
|
|
|
AudioDeviceSelector {
|
|
}
|
|
|
|
MirrorVolumeSlider {
|
|
}
|
|
|
|
MicVolumeSlider {
|
|
}
|
|
ColumnLayout {
|
|
spacing: 18
|
|
ProximityToggle {
|
|
}
|
|
PttButtons {
|
|
}
|
|
ProfileButtons {
|
|
}
|
|
}
|
|
}
|
|
}
|