76 lines
3.1 KiB
XML
76 lines
3.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<!-- interface-requires gtk+ 3.0 -->
|
|
<template class="CcPowerProfileRow" parent="GtkListBoxRow">
|
|
<property name="selectable">False</property>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="orientation">horizontal</property>
|
|
<property name="margin-start">12</property>
|
|
<property name="margin-end">12</property>
|
|
<property name="spacing">12</property>
|
|
<child>
|
|
<object class="GtkGrid">
|
|
<property name="margin-top">6</property>
|
|
<property name="margin-bottom">6</property>
|
|
<child>
|
|
<object class="GtkCheckButton" id="button">
|
|
<property name="margin-start">6</property>
|
|
<property name="margin-end">18</property>
|
|
<accessibility>
|
|
<property name="label" translatable="yes">Active</property>
|
|
</accessibility>
|
|
<signal name="toggled" handler="cc_power_profile_row_button_toggled_cb" object="CcPowerProfileRow" swapped="yes"/>
|
|
<layout>
|
|
<property name="column">0</property>
|
|
<property name="row">0</property>
|
|
<property name="row-span">2</property>
|
|
</layout>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="title_label">
|
|
<property name="halign">start</property>
|
|
<property name="ellipsize">end</property>
|
|
<property name="hexpand">True</property>
|
|
<property name="vexpand">True</property>
|
|
<property name="use-markup">True</property>
|
|
<property name="use-underline">True</property>
|
|
<property name="xalign">0</property>
|
|
<property name="margin-end">6</property>
|
|
<layout>
|
|
<property name="column">1</property>
|
|
<property name="row">0</property>
|
|
</layout>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="subtitle_label">
|
|
<property name="ellipsize">end</property>
|
|
<property name="halign">start</property>
|
|
<property name="hexpand">True</property>
|
|
<property name="vexpand">True</property>
|
|
<property name="use-markup">True</property>
|
|
<property name="use-underline">True</property>
|
|
<property name="xalign">0</property>
|
|
<property name="margin-end">6</property>
|
|
<layout>
|
|
<property name="column">1</property>
|
|
<property name="row">1</property>
|
|
<property name="column-span">2</property>
|
|
</layout>
|
|
<attributes>
|
|
<attribute name="scale" value="0.9"/>
|
|
</attributes>
|
|
<style>
|
|
<class name="dim-label"/>
|
|
</style>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</template>
|
|
</interface>
|
|
|