|
86 | 86 | </property> |
87 | 87 | </widget> |
88 | 88 | </item> |
89 | | - <item row="2" column="0"> |
| 89 | + <item row="3" column="0"> |
90 | 90 | <widget class="QLabel" name="label_2"> |
91 | 91 | <property name="text"> |
92 | 92 | <string>On Conflict</string> |
93 | 93 | </property> |
94 | 94 | </widget> |
95 | 95 | </item> |
96 | | - <item row="2" column="1"> |
| 96 | + <item row="3" column="1"> |
97 | 97 | <widget class="QComboBox" name="comboOnConflict"> |
98 | 98 | <item> |
99 | 99 | <property name="text"> |
|
127 | 127 | </item> |
128 | 128 | </widget> |
129 | 129 | </item> |
| 130 | + <item row="2" column="0"> |
| 131 | + <widget class="QLabel" name="label_3"> |
| 132 | + <property name="text"> |
| 133 | + <string>Strict</string> |
| 134 | + </property> |
| 135 | + <property name="buddy"> |
| 136 | + <cstring>checkStrict</cstring> |
| 137 | + </property> |
| 138 | + </widget> |
| 139 | + </item> |
| 140 | + <item row="2" column="1"> |
| 141 | + <widget class="QCheckBox" name="checkStrict"> |
| 142 | + <property name="toolTip"> |
| 143 | + <string>When the strict option is enabled SQLite enforces the data types of each column when updating or inserting data.</string> |
| 144 | + </property> |
| 145 | + </widget> |
| 146 | + </item> |
130 | 147 | </layout> |
131 | 148 | </widget> |
132 | 149 | </item> |
|
562 | 579 | <tabstop>buttonMore</tabstop> |
563 | 580 | <tabstop>comboSchema</tabstop> |
564 | 581 | <tabstop>checkWithoutRowid</tabstop> |
| 582 | + <tabstop>checkStrict</tabstop> |
| 583 | + <tabstop>comboOnConflict</tabstop> |
565 | 584 | <tabstop>groupDefinition</tabstop> |
566 | 585 | <tabstop>addFieldButton</tabstop> |
567 | 586 | <tabstop>removeFieldButton</tabstop> |
|
570 | 589 | <tabstop>buttonMoveDown</tabstop> |
571 | 590 | <tabstop>buttonMoveBottom</tabstop> |
572 | 591 | <tabstop>treeWidget</tabstop> |
573 | | - <tabstop>sqlTextEdit</tabstop> |
574 | 592 | <tabstop>buttonAddConstraint</tabstop> |
575 | 593 | <tabstop>buttonRemoveConstraint</tabstop> |
576 | 594 | <tabstop>tableConstraints</tabstop> |
|
634 | 652 | <slot>addField()</slot> |
635 | 653 | <hints> |
636 | 654 | <hint type="sourcelabel"> |
637 | | - <x>82</x> |
638 | | - <y>248</y> |
| 655 | + <x>79</x> |
| 656 | + <y>311</y> |
639 | 657 | </hint> |
640 | 658 | <hint type="destinationlabel"> |
641 | 659 | <x>79</x> |
|
650 | 668 | <slot>removeField()</slot> |
651 | 669 | <hints> |
652 | 670 | <hint type="sourcelabel"> |
653 | | - <x>178</x> |
654 | | - <y>248</y> |
| 671 | + <x>169</x> |
| 672 | + <y>311</y> |
655 | 673 | </hint> |
656 | 674 | <hint type="destinationlabel"> |
657 | 675 | <x>249</x> |
|
682 | 700 | <slot>moveUp()</slot> |
683 | 701 | <hints> |
684 | 702 | <hint type="sourcelabel"> |
685 | | - <x>400</x> |
686 | | - <y>248</y> |
| 703 | + <x>376</x> |
| 704 | + <y>311</y> |
687 | 705 | </hint> |
688 | 706 | <hint type="destinationlabel"> |
689 | 707 | <x>308</x> |
|
698 | 716 | <slot>moveDown()</slot> |
699 | 717 | <hints> |
700 | 718 | <hint type="sourcelabel"> |
701 | | - <x>519</x> |
702 | | - <y>248</y> |
| 719 | + <x>487</x> |
| 720 | + <y>311</y> |
703 | 721 | </hint> |
704 | 722 | <hint type="destinationlabel"> |
705 | 723 | <x>308</x> |
|
746 | 764 | <slot>fieldSelectionChanged()</slot> |
747 | 765 | <hints> |
748 | 766 | <hint type="sourcelabel"> |
749 | | - <x>324</x> |
750 | | - <y>294</y> |
| 767 | + <x>335</x> |
| 768 | + <y>475</y> |
751 | 769 | </hint> |
752 | 770 | <hint type="destinationlabel"> |
753 | 771 | <x>324</x> |
|
779 | 797 | <hints> |
780 | 798 | <hint type="sourcelabel"> |
781 | 799 | <x>119</x> |
782 | | - <y>253</y> |
| 800 | + <y>315</y> |
783 | 801 | </hint> |
784 | 802 | <hint type="destinationlabel"> |
785 | 803 | <x>647</x> |
|
794 | 812 | <slot>moveTop()</slot> |
795 | 813 | <hints> |
796 | 814 | <hint type="sourcelabel"> |
797 | | - <x>207</x> |
798 | | - <y>240</y> |
| 815 | + <x>283</x> |
| 816 | + <y>311</y> |
799 | 817 | </hint> |
800 | 818 | <hint type="destinationlabel"> |
801 | 819 | <x>202</x> |
|
810 | 828 | <slot>moveBottom()</slot> |
811 | 829 | <hints> |
812 | 830 | <hint type="sourcelabel"> |
813 | | - <x>530</x> |
814 | | - <y>246</y> |
| 831 | + <x>625</x> |
| 832 | + <y>311</y> |
815 | 833 | </hint> |
816 | 834 | <hint type="destinationlabel"> |
817 | 835 | <x>400</x> |
|
826 | 844 | <slot>setOnConflict(QString)</slot> |
827 | 845 | <hints> |
828 | 846 | <hint type="sourcelabel"> |
829 | | - <x>371</x> |
830 | | - <y>168</y> |
| 847 | + <x>516</x> |
| 848 | + <y>219</y> |
831 | 849 | </hint> |
832 | 850 | <hint type="destinationlabel"> |
833 | 851 | <x>490</x> |
834 | 852 | <y>211</y> |
835 | 853 | </hint> |
836 | 854 | </hints> |
837 | 855 | </connection> |
| 856 | + <connection> |
| 857 | + <sender>checkStrict</sender> |
| 858 | + <signal>toggled(bool)</signal> |
| 859 | + <receiver>EditTableDialog</receiver> |
| 860 | + <slot>setStrict(bool)</slot> |
| 861 | + <hints> |
| 862 | + <hint type="sourcelabel"> |
| 863 | + <x>457</x> |
| 864 | + <y>177</y> |
| 865 | + </hint> |
| 866 | + <hint type="destinationlabel"> |
| 867 | + <x>399</x> |
| 868 | + <y>299</y> |
| 869 | + </hint> |
| 870 | + </hints> |
| 871 | + </connection> |
838 | 872 | </connections> |
839 | 873 | <slots> |
840 | 874 | <slot>fieldSelectionChanged()</slot> |
|
851 | 885 | <slot>moveTop()</slot> |
852 | 886 | <slot>moveBottom()</slot> |
853 | 887 | <slot>setOnConflict(QString)</slot> |
| 888 | + <slot>setStrict(bool)</slot> |
854 | 889 | </slots> |
855 | 890 | </ui> |
0 commit comments