Changeset 139
- Timestamp:
- Dec 2, 2016, 2:05:27 PM (8 years ago)
- Location:
- trunk
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormMain.lfm
r138 r139 1 1 object FormMain: TFormMain 2 Left = 5262 Left = 495 3 3 Height = 447 4 Top = 3944 Top = 424 5 5 Width = 782 6 6 Caption = 'Acronym Decoder' … … 17 17 object PanelMain: TPanel 18 18 Left = 0 19 Height = 36 620 Top = 5619 Height = 360 20 Top = 62 21 21 Width = 782 22 22 Align = alClient 23 23 BevelOuter = bvNone 24 ClientHeight = 36 624 ClientHeight = 360 25 25 ClientWidth = 782 26 TabOrder = 126 TabOrder = 0 27 27 object ListViewFilter1: TListViewFilter 28 28 Left = 8 … … 35 35 object ListViewAcronyms: TListView 36 36 Left = 8 37 Height = 3 2437 Height = 318 38 38 Top = 35 39 39 Width = 767 … … 62 62 end 63 63 end 64 object ToolBar1: TToolBar65 Left = 066 Height = 2667 Top = 068 Width = 78269 Caption = 'ToolBar1'70 Images = Core.ImageList171 ParentShowHint = False72 ShowHint = True73 TabOrder = 074 object ToolButton1: TToolButton75 Left = 176 Top = 277 Action = AFileNew78 end79 object ToolButton2: TToolButton80 Left = 11081 Top = 282 Action = AShowAcronyms83 end84 object ToolButton3: TToolButton85 Left = 13386 Top = 287 Action = AShowCategories88 end89 object ToolButton4: TToolButton90 Left = 17991 Top = 292 Action = AShowImportFormats93 end94 object ToolButton5: TToolButton95 Left = 15696 Top = 297 Action = AShowImportSources98 end99 object ToolButton6: TToolButton100 Left = 24101 Top = 2102 Action = AFileOpen103 DropdownMenu = PopupMenuOpenRecent104 Style = tbsDropDown105 end106 object ToolButton7: TToolButton107 Left = 59108 Top = 2109 Action = AFileSave110 end111 object ToolButton8: TToolButton112 Left = 105113 Height = 22114 Top = 2115 Width = 5116 Style = tbsDivider117 end118 object ToolButton9: TToolButton119 Left = 202120 Top = 2121 Action = AProcessImports122 end123 object ToolButton10: TToolButton124 Left = 225125 Height = 22126 Top = 2127 Width = 5128 Style = tbsDivider129 end130 object ToolButton11: TToolButton131 Left = 230132 Top = 2133 Action = ASettings134 end135 object ToolButton12: TToolButton136 Left = 82137 Top = 2138 Action = AFileClose139 end140 object ToolButton14: TToolButton141 Left = 253142 Height = 22143 Top = 2144 Width = 5145 Style = tbsDivider146 end147 object ToolButton16: TToolButton148 Left = 258149 Top = 2150 Action = AFilterSameLength151 Style = tbsCheck152 end153 object ToolButton13: TToolButton154 Left = 281155 Top = 2156 Action = AFilterSameLetterCase157 Style = tbsCheck158 end159 end160 64 object PanelParam: TPanel 161 65 Left = 0 162 66 Height = 30 163 Top = 2667 Top = 32 164 68 Width = 782 165 69 Align = alTop … … 167 71 ClientHeight = 30 168 72 ClientWidth = 782 169 TabOrder = 273 TabOrder = 1 170 74 object CheckBoxExactLength: TCheckBox 171 75 Left = 8 … … 183 87 Action = AFilterSameLetterCase 184 88 TabOrder = 1 89 end 90 end 91 object CoolBar1: TCoolBar 92 Left = 0 93 Height = 32 94 Top = 0 95 Width = 782 96 AutoSize = True 97 Bands = < 98 item 99 Break = False 100 Control = ToolBar1 101 FixedSize = True 102 MinWidth = 40 103 Width = 136 104 end 105 item 106 Break = False 107 Control = ToolBar2 108 FixedSize = True 109 MinWidth = 40 110 Width = 126 111 end 112 item 113 Break = False 114 Control = ToolBar3 115 FixedSize = True 116 MinWidth = 40 117 Width = 80 118 end 119 item 120 Break = False 121 Control = ToolBar4 122 FixedSize = True 123 MinWidth = 40 124 Width = 80 125 end> 126 Images = Core.ImageList1 127 object ToolBar1: TToolBar 128 AnchorSideLeft.Control = CoolBar1 129 AnchorSideTop.Control = CoolBar1 130 Left = 24 131 Height = 22 132 Top = 5 133 Width = 105 134 Align = alNone 135 AutoSize = True 136 BorderSpacing.Left = 22 137 BorderSpacing.Top = 3 138 EdgeBorders = [] 139 EdgeInner = esNone 140 EdgeOuter = esNone 141 Images = Core.ImageList1 142 ParentShowHint = False 143 ShowHint = True 144 TabOrder = 0 145 Transparent = True 146 object ToolButton1: TToolButton 147 Left = 1 148 Top = 0 149 Action = AFileNew 150 end 151 object ToolButton6: TToolButton 152 Left = 24 153 Top = 0 154 Action = AFileOpen 155 DropdownMenu = PopupMenuOpenRecent 156 Style = tbsDropDown 157 end 158 object ToolButton7: TToolButton 159 Left = 59 160 Top = 0 161 Action = AFileSave 162 end 163 object ToolButton12: TToolButton 164 Left = 82 165 Top = 0 166 Action = AFileClose 167 end 168 end 169 object ToolBar2: TToolBar 170 AnchorSideLeft.Control = CoolBar1 171 AnchorSideTop.Control = CoolBar1 172 Left = 160 173 Height = 22 174 Top = 5 175 Width = 93 176 Align = alNone 177 AutoSize = True 178 BorderSpacing.Left = 158 179 BorderSpacing.Top = 3 180 EdgeBorders = [] 181 EdgeInner = esNone 182 EdgeOuter = esNone 183 Images = Core.ImageList1 184 ParentShowHint = False 185 ShowHint = True 186 TabOrder = 1 187 Transparent = True 188 object ToolButton2: TToolButton 189 Left = 1 190 Top = 0 191 Action = AShowAcronyms 192 end 193 object ToolButton3: TToolButton 194 Left = 24 195 Top = 0 196 Action = AShowCategories 197 end 198 object ToolButton5: TToolButton 199 Left = 47 200 Top = 0 201 Action = AShowImportSources 202 end 203 object ToolButton4: TToolButton 204 Left = 70 205 Top = 0 206 Action = AShowImportFormats 207 end 208 end 209 object ToolBar3: TToolBar 210 AnchorSideLeft.Control = CoolBar1 211 AnchorSideTop.Control = CoolBar1 212 Left = 286 213 Height = 22 214 Top = 5 215 Width = 47 216 Align = alNone 217 AutoSize = True 218 BorderSpacing.Left = 284 219 BorderSpacing.Top = 3 220 EdgeBorders = [] 221 EdgeInner = esNone 222 EdgeOuter = esNone 223 Images = Core.ImageList1 224 ParentShowHint = False 225 ShowHint = True 226 TabOrder = 2 227 Transparent = True 228 object ToolButton11: TToolButton 229 Left = 24 230 Top = 0 231 Action = ASettings 232 end 233 object ToolButton9: TToolButton 234 Left = 1 235 Top = 0 236 Action = AProcessImports 237 end 238 end 239 object ToolBar4: TToolBar 240 AnchorSideLeft.Control = CoolBar1 241 AnchorSideTop.Control = CoolBar1 242 Left = 366 243 Height = 22 244 Top = 5 245 Width = 47 246 Align = alNone 247 AutoSize = True 248 BorderSpacing.Left = 364 249 BorderSpacing.Top = 3 250 EdgeBorders = [] 251 EdgeInner = esNone 252 EdgeOuter = esNone 253 Images = Core.ImageList1 254 ParentShowHint = False 255 ShowHint = True 256 TabOrder = 3 257 Transparent = True 258 object ToolButton16: TToolButton 259 Left = 1 260 Top = 0 261 Action = AFilterSameLength 262 Style = tbsCheck 263 end 264 object ToolButton13: TToolButton 265 Left = 24 266 Top = 0 267 Action = AFilterSameLetterCase 268 Style = tbsCheck 269 end 185 270 end 186 271 end -
trunk/Forms/UFormMain.lrt
r138 r139 3 3 TFORMMAIN.LISTVIEWACRONYMS.COLUMNS[1].CAPTION=Meaning 4 4 TFORMMAIN.LISTVIEWACRONYMS.COLUMNS[2].CAPTION=Categories 5 TFORMMAIN.TOOLBAR1.CAPTION=ToolBar16 5 TFORMMAIN.AEXIT.CAPTION=Exit 7 6 TFORMMAIN.ASHOW.CAPTION=Show -
trunk/Forms/UFormMain.pas
r138 r139 38 38 CheckBoxExactLength: TCheckBox; 39 39 CheckBoxCaseSensitive: TCheckBox; 40 CoolBar1: TCoolBar; 40 41 LastOpenedList1: TLastOpenedList; 41 42 ListViewAcronyms: TListView; … … 73 74 SaveDialog1: TSaveDialog; 74 75 ToolBar1: TToolBar; 76 ToolBar2: TToolBar; 77 ToolBar3: TToolBar; 78 ToolBar4: TToolBar; 75 79 ToolButton1: TToolButton; 76 ToolButton10: TToolButton;77 80 ToolButton11: TToolButton; 78 81 ToolButton12: TToolButton; 79 82 ToolButton13: TToolButton; 80 ToolButton14: TToolButton;81 83 ToolButton16: TToolButton; 82 84 ToolButton2: TToolButton; … … 86 88 ToolButton6: TToolButton; 87 89 ToolButton7: TToolButton; 88 ToolButton8: TToolButton;89 90 ToolButton9: TToolButton; 90 91 procedure AExitExecute(Sender: TObject); … … 614 615 AShowImportSources.Enabled := Assigned(Core.AcronymDb); 615 616 AShowImportFormats.Enabled := Assigned(Core.AcronymDb); 616 ToolBar1.Visible := MenuItemToolbar.Checked;617 CoolBar1.Visible := MenuItemToolbar.Checked; 617 618 PanelParam.Visible := MenuItemParam.Checked; 618 619 AHide.Enabled := FormMain.Visible; -
trunk/Languages/AcronymDecoder.cs.po
r138 r139 640 640 msgstr "Nástrojový panel" 641 641 642 #: tformmain.toolbar1.caption643 msgctxt "tformmain.toolbar1.caption"644 msgid "ToolBar1"645 msgstr "ToolBar1"646 647 642 #: tformsettings.buttoncancel.caption 648 643 msgctxt "tformsettings.buttoncancel.caption" … … 898 893 msgid "Process import sources" 899 894 msgstr "Zpracovat zdroje importu" 895 -
trunk/Languages/AcronymDecoder.po
r138 r139 630 630 msgstr "" 631 631 632 #: tformmain.toolbar1.caption633 msgctxt "tformmain.toolbar1.caption"634 msgid "ToolBar1"635 msgstr ""636 637 632 #: tformsettings.buttoncancel.caption 638 633 msgctxt "tformsettings.buttoncancel.caption" -
trunk/Packages/Common/UScaleDPI.pas
r106 r139 309 309 end; 310 310 311 if Control is TCoolBar then 312 with TCoolBar(Control) do begin 313 BeginUpdate; 314 for I := 0 to Bands.Count - 1 do 315 with Bands[I] do begin 316 MinWidth := ScaleX(MinWidth, FromDPI.X); 317 MinHeight := ScaleY(MinHeight, FromDPI.Y); 318 Width := ScaleX(Width, FromDPI.X); 319 //Control.Invalidate; 320 end; 321 EndUpdate; 322 end; 323 311 324 if Control is TToolBar then begin 312 325 ToolBarControl := TToolBar(Control); -
trunk/UCore.pas
r114 r139 189 189 // TODO: Transparent image scaling not working properly under linux Gtk2 190 190 // Also screen DPI is not correctly detected under linux Gtk2 191 //Core.ScaleDPI1.DPI := Point(200, 200); 191 192 {$IFDEF WINDOWS} 193 Core.ScaleDPI1.ScaleControl(FormMain.CoolBar1, Core.ScaleDPI1.DesignDPI); 192 194 Core.ScaleDPI1.ScaleImageList(ImageList1, Core.ScaleDPI1.DesignDPI); 193 Core.ScaleDPI1.ScaleControl(FormMain.ToolBar1, Core.ScaleDPI1.DesignDPI);194 195 {$ENDIF} 195 196 end;
Note:
See TracChangeset
for help on using the changeset viewer.