Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
96 changes: 55 additions & 41 deletions src/EditDialog.ui
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,15 @@
</item>
<item>
<widget class="QComboBox" name="comboMode">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<width>50</width>
<height>0</height>
</size>
</property>
Expand Down Expand Up @@ -99,9 +105,12 @@
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::MinimumExpanding</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<width>0</width>
<height>20</height>
</size>
</property>
Expand Down Expand Up @@ -137,7 +146,7 @@
<widget class="QPushButton" name="buttonImport">
<property name="minimumSize">
<size>
<width>0</width>
<width>50</width>
<height>0</height>
</size>
</property>
Expand All @@ -156,7 +165,7 @@
<widget class="QPushButton" name="buttonExport">
<property name="minimumSize">
<size>
<width>0</width>
<width>50</width>
<height>0</height>
</size>
</property>
Expand All @@ -171,25 +180,6 @@
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="buttonNull">
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="toolTip">
<string>Set this cell to NULL</string>
</property>
<property name="whatsThis">
<string>Erases the contents of the cell</string>
</property>
<property name="text">
<string>Set as &amp;NULL</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
Expand Down Expand Up @@ -258,8 +248,8 @@ Errors are indicated with a red squiggle underline.</string>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QLabel" name="labelType">
Expand All @@ -268,16 +258,31 @@ Errors are indicated with a red squiggle underline.</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="labelSize">
<property name="text">
<string>Size of data currently in table</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<item row="1" column="2">
<widget class="QPushButton" name="buttonApply">
<property name="minimumSize">
<size>
<width>50</width>
<height>0</height>
</size>
</property>
<property name="toolTip">
<string>Apply data to cell</string>
</property>
<property name="whatsThis">
<string>This button saves the changes performed in the cell editor to the database cell.</string>
</property>
<property name="text">
<string>Apply</string>
</property>
<property name="default">
<bool>true</bool>
</property>
</widget>
</item>
<item row="0" column="1">
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
Expand All @@ -290,19 +295,29 @@ Errors are indicated with a red squiggle underline.</string>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="buttonApply">
<item row="0" column="2">
<widget class="QPushButton" name="buttonNull">
<property name="minimumSize">
<size>
<width>50</width>
<height>0</height>
</size>
</property>
<property name="toolTip">
<string>Apply data to cell</string>
<string>Set this cell to NULL</string>
</property>
<property name="whatsThis">
<string>This button saves the changes performed in the cell editor to the database cell.</string>
<string>Erases the contents of the cell</string>
</property>
<property name="text">
<string>Apply</string>
<string>Set as &amp;NULL</string>
</property>
<property name="default">
<bool>true</bool>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="labelSize">
<property name="text">
<string>Size of data currently in table</string>
</property>
</widget>
</item>
Expand Down Expand Up @@ -357,7 +372,6 @@ Errors are indicated with a red squiggle underline.</string>
</widget>
<tabstops>
<tabstop>buttonExport</tabstop>
<tabstop>buttonNull</tabstop>
</tabstops>
<resources>
<include location="icons/icons.qrc"/>
Expand Down
26 changes: 22 additions & 4 deletions src/MainWindow.ui
Original file line number Diff line number Diff line change
Expand Up @@ -109,20 +109,20 @@ You can drag SQL statements from an object row and drop them into other applicat
<item>
<widget class="QComboBox" name="comboBrowseTable">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>1</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>150</width>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>400</width>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
Expand Down Expand Up @@ -212,14 +212,20 @@ You can drag SQL statements from an object row and drop them into other applicat
</property>
<property name="sizeHint" stdset="0">
<size>
<width>200</width>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QToolButton" name="buttonNewRecord">
<property name="minimumSize">
<size>
<width>50</width>
<height>0</height>
</size>
</property>
<property name="toolTip">
<string>Insert a new record in the current table</string>
</property>
Expand All @@ -233,6 +239,18 @@ You can drag SQL statements from an object row and drop them into other applicat
</item>
<item>
<widget class="QToolButton" name="buttonDeleteRecord">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>50</width>
<height>0</height>
</size>
</property>
<property name="toolTip">
<string>Delete the current record</string>
</property>
Expand Down
4 changes: 2 additions & 2 deletions src/translations/sqlb_ru.ts
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,7 @@ Aborting execution%3.</source>
<message>
<location filename="../EditDialog.ui" line="151"/>
<source>&amp;Import</source>
<translation>&amp;Импортировать</translation>
<translation>&amp;Импорт</translation>
</message>
<message>
<source>Export text</source>
Expand All @@ -699,7 +699,7 @@ Aborting execution%3.</source>
<message>
<location filename="../EditDialog.ui" line="170"/>
<source>&amp;Export</source>
<translation>&amp;Экспортировать</translation>
<translation>&amp;Экспорт</translation>
</message>
<message>
<location filename="../EditDialog.ui" line="183"/>
Expand Down