Skip to content

Commit

Permalink
ENH: Apply Andras' feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
Punzo committed Jan 11, 2024
1 parent 573773e commit ccce170
Show file tree
Hide file tree
Showing 6 changed files with 328 additions and 24 deletions.
39 changes: 38 additions & 1 deletion Libs/DICOM/Widgets/Resources/UI/Icons/more_vert.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
50 changes: 48 additions & 2 deletions Libs/DICOM/Widgets/Resources/UI/ctkDICOMVisualBrowserWidget.ui
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,52 @@
<property name="bottomMargin">
<number>2</number>
</property>
<item>
<widget class="QFrame" name="DatabaseDirectoryProblemFrame">
<property name="styleSheet">
<string notr="true">color: rgb(0, 0, 0);background-color: rgb(245, 245, 170);</string>
</property>
<property name="frameShape">
<enum>QFrame::Box</enum>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QLabel" name="DatabaseDirectoryProblemLabel">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Warning</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="UpdateDatabaseButton">
<property name="text">
<string>Update database</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="CreateNewDatabaseButton">
<property name="text">
<string>Create new database</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="SelectDatabaseDirectoryButton">
<property name="text">
<string>Select database folder</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="topHorizontalLayout">
<item>
Expand Down Expand Up @@ -733,8 +779,8 @@ Please set at least one filter to query the servers</string>
</property>
<property name="iconSize">
<size>
<width>32</width>
<height>32</height>
<width>24</width>
<height>24</height>
</size>
</property>
<property name="elideMode">
Expand Down
Loading

0 comments on commit ccce170

Please sign in to comment.