Skip to content

Commit

Permalink
Fix moveTitlesCheckBox in ui
Browse files Browse the repository at this point in the history
  • Loading branch information
Shostina committed Jan 15, 2024
1 parent 04c0e46 commit 472a428
Showing 1 changed file with 148 additions and 122 deletions.
270 changes: 148 additions & 122 deletions ui/mainwindow.ui
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<y>-377</y>
<width>332</width>
<height>1876</height>
<height>1903</height>
</rect>
</property>
<property name="sizePolicy">
Expand Down Expand Up @@ -874,7 +874,24 @@ When 'Partial' match is used, the graph will be drawn around nodes where any par
<property name="rightMargin">
<number>0</number>
</property>
<item row="2" column="0">
<item row="1" column="1">
<widget class="QLabel" name="label_15">
<property name="text">
<string>Node width:</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLabel" name="label_13">
<property name="text">
<string>Zoom:</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="InfoTextWidget" name="nodeColourInfoText" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
Expand All @@ -893,94 +910,15 @@ When 'Partial' match is used, the graph will be drawn around nodes where any par
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLabel" name="label_13">
<property name="text">
<string>Zoom:</string>
</property>
</widget>
</item>
<item row="4" column="1" colspan="2">
<item row="5" column="1" colspan="2">
<widget class="QComboBox" name="tagsComboBox">
<property name="focusPolicy">
<enum>Qt::StrongFocus</enum>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLabel" name="label_15">
<property name="text">
<string>Node width:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="3" column="1" colspan="2">
<widget class="QPushButton" name="contiguityButton">
<property name="focusPolicy">
<enum>Qt::StrongFocus</enum>
</property>
<property name="text">
<string>Determine contiguity</string>
</property>
</widget>
</item>
<item row="2" column="1" colspan="2">
<widget class="QComboBox" name="coloursComboBox">
<property name="focusPolicy">
<enum>Qt::StrongFocus</enum>
</property>
<item>
<property name="text">
<string>Gray color</string>
</property>
</item>
<item>
<property name="text">
<string>Random colours</string>
</property>
</item>
<item>
<property name="text">
<string>Uniform colour</string>
</property>
</item>
<item>
<property name="text">
<string>Colour by depth</string>
</property>
</item>
<item>
<property name="text">
<string>Colour by contiguity</string>
</property>
</item>
<item>
<property name="text">
<string>Custom colours</string>
</property>
</item>
<item>
<property name="text">
<string>GC content</string>
</property>
</item>
<item>
<property name="text">
<string>Colour by GFA tag</string>
</property>
</item>
<item>
<property name="text">
<string>Colour by CSV column</string>
</property>
</item>
</widget>
</item>
<item row="0" column="0">
<widget class="InfoTextWidget" name="zoomInfoText" native="true">
<item row="4" column="0">
<widget class="InfoTextWidget" name="contiguityInfoText" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
Expand All @@ -994,7 +932,9 @@ When 'Partial' match is used, the graph will be drawn around nodes where any par
</size>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;This value controls how large the graph appears in Bandage. The zoom level can also be changed by:&lt;/p&gt;&lt;ul style=&quot;margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 1;&quot;&gt;&lt;li style=&quot; margin-top:12px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Holding the %CONTROL% key and using the mouse wheel over the graph. &lt;/li&gt;&lt;li style=&quot; margin-top:0px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Clicking on the graph display and then using the '+' and '-' keys. &lt;/li&gt;&lt;/ul&gt;&lt;/body&gt;&lt;/html&gt;</string>
<string>Select one or more nodes and then click this button. Bandage will
then colour which other nodes in the graph are likely to be contiguous
with your selected node(s).</string>
</property>
</widget>
</item>
Expand Down Expand Up @@ -1032,6 +972,35 @@ When 'Partial' match is used, the graph will be drawn around nodes where any par
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="InfoTextWidget" name="nodeWidthInfoText" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;This is the average width for each node. The exact width for each node is also influenced by the node's depth. The effect of depth on width can be adjusted in Bandage %SETTINGS%. &lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QCheckBox" name="moveTitlesCheckBox">
<property name="text">
<string>Move nodes with graph's title</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QDoubleSpinBox" name="nodeWidthSpinBox">
<property name="sizePolicy">
Expand Down Expand Up @@ -1066,29 +1035,18 @@ When 'Partial' match is used, the graph will be drawn around nodes where any par
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="InfoTextWidget" name="contiguityInfoText" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>16</width>
<height>16</height>
</size>
<item row="4" column="1" colspan="2">
<widget class="QPushButton" name="contiguityButton">
<property name="focusPolicy">
<enum>Qt::StrongFocus</enum>
</property>
<property name="toolTip">
<string>Select one or more nodes and then click this button. Bandage will
then colour which other nodes in the graph are likely to be contiguous
with your selected node(s).</string>
<property name="text">
<string>Determine contiguity</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="InfoTextWidget" name="nodeWidthInfoText" native="true">
<item row="0" column="0">
<widget class="InfoTextWidget" name="zoomInfoText" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
Expand All @@ -1102,10 +1060,91 @@ then colour which other nodes in the graph are likely to be contiguous
</size>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;This is the average width for each node. The exact width for each node is also influenced by the node's depth. The effect of depth on width can be adjusted in Bandage %SETTINGS%. &lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;This value controls how large the graph appears in Bandage. The zoom level can also be changed by:&lt;/p&gt;&lt;ul style=&quot;margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 1;&quot;&gt;&lt;li style=&quot; margin-top:12px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Holding the %CONTROL% key and using the mouse wheel over the graph. &lt;/li&gt;&lt;li style=&quot; margin-top:0px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Clicking on the graph display and then using the '+' and '-' keys. &lt;/li&gt;&lt;/ul&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
</item>
<item row="3" column="1" colspan="2">
<widget class="QComboBox" name="coloursComboBox">
<property name="focusPolicy">
<enum>Qt::StrongFocus</enum>
</property>
<item>
<property name="text">
<string>Gray color</string>
</property>
</item>
<item>
<property name="text">
<string>Random colours</string>
</property>
</item>
<item>
<property name="text">
<string>Uniform colour</string>
</property>
</item>
<item>
<property name="text">
<string>Colour by depth</string>
</property>
</item>
<item>
<property name="text">
<string>Colour by contiguity</string>
</property>
</item>
<item>
<property name="text">
<string>Custom colours</string>
</property>
</item>
<item>
<property name="text">
<string>GC content</string>
</property>
</item>
<item>
<property name="text">
<string>Colour by GFA tag</string>
</property>
</item>
<item>
<property name="text">
<string>Colour by CSV column</string>
</property>
</item>
</widget>
</item>
<item row="2" column="0">
<widget class="QWidget" name="widget" native="true">
<widget class="InfoTextWidget" name="nodeWidthInfoText_2" native="true">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>16</width>
<height>16</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;This is the graph's title moving setting in the multy graphs mode. If box is checked then graph's title will be moving with nodes from this graph. &lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
</widget>
</item>
</layout>
</widget>
</item>
Expand Down Expand Up @@ -2010,10 +2049,10 @@ then colour which other nodes in the graph are likely to be contiguous
<widget class="QWidget" name="selectionScrollAreaWidgetContents">
<property name="geometry">
<rect>
<x>-14</x>
<y>-185</y>
<x>0</x>
<y>-158</y>
<width>237</width>
<height>1051</height>
<height>1024</height>
</rect>
</property>
<property name="sizePolicy">
Expand Down Expand Up @@ -2631,19 +2670,6 @@ then colour which other nodes in the graph are likely to be contiguous
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="moveTitlesCheckBox">
<property name="enabled">
<bool>true</bool>
</property>
<property name="text">
<string>Move nodes with graph's title</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer_5">
<property name="orientation">
Expand Down

0 comments on commit 472a428

Please sign in to comment.