chore(ChannelPermissions): Remove HidePermissionPanel component
This commit is contained in:
parent
cf82772aed
commit
0b856737b1
|
@ -1,53 +0,0 @@
|
|||
import QtQuick 2.14
|
||||
import QtQuick.Controls 2.14
|
||||
import QtQuick.Layouts 1.14
|
||||
|
||||
import StatusQ.Core 0.1
|
||||
import StatusQ.Components 0.1
|
||||
import StatusQ.Controls 0.1
|
||||
import StatusQ.Core.Theme 0.1
|
||||
|
||||
import utils 1.0
|
||||
|
||||
Control {
|
||||
id: root
|
||||
|
||||
property alias checked: switchItem.checked
|
||||
|
||||
signal toggled
|
||||
|
||||
contentItem: RowLayout {
|
||||
spacing: Style.current.padding
|
||||
|
||||
StatusRoundIcon {
|
||||
asset.name: "hide"
|
||||
}
|
||||
|
||||
ColumnLayout {
|
||||
Layout.fillWidth: true
|
||||
|
||||
StatusBaseText {
|
||||
text: qsTr("Hide permission")
|
||||
color: Theme.palette.directColor1
|
||||
font.pixelSize: Style.current.primaryTextFontSize
|
||||
}
|
||||
|
||||
StatusBaseText {
|
||||
Layout.fillWidth: true
|
||||
Layout.fillHeight: true
|
||||
text: qsTr("Make this permission hidden from members who don’t meet its requirements")
|
||||
color: Theme.palette.baseColor1
|
||||
font.pixelSize: Style.current.primaryTextFontSize
|
||||
lineHeight: 1.2
|
||||
wrapMode: Text.WordWrap
|
||||
elide: Text.ElideRight
|
||||
}
|
||||
}
|
||||
|
||||
StatusSwitch {
|
||||
id: switchItem
|
||||
|
||||
onToggled: root.toggled()
|
||||
}
|
||||
}
|
||||
}
|
|
@ -9,7 +9,6 @@ ControlNodeOfflineCenterPanel 1.0 ControlNodeOfflineCenterPanel.qml
|
|||
EditSettingsPanel 1.0 EditSettingsPanel.qml
|
||||
FeesBox 1.0 FeesBox.qml
|
||||
FeesPanel 1.0 FeesPanel.qml
|
||||
HidePermissionPanel 1.0 HidePermissionPanel.qml
|
||||
IntroPanel 1.0 IntroPanel.qml
|
||||
JoinCommunityCenterPanel 1.0 JoinCommunityCenterPanel.qml
|
||||
JoinCommunityHeaderPanel 1.0 JoinCommunityHeaderPanel.qml
|
||||
|
|
Loading…
Reference in New Issue