Tools/LazDatadesktop: Slightly improved images by Roland Hahn.
(cherry picked from commit 5bae6ebf52
)
BIN
tools/lazdatadesktop/bitmaps/ddconnection_close.png
Normal file
After Width: | Height: | Size: 624 B |
BIN
tools/lazdatadesktop/bitmaps/ddconnection_close_150.png
Normal file
After Width: | Height: | Size: 958 B |
BIN
tools/lazdatadesktop/bitmaps/ddconnection_close_200.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 481 B After Width: | Height: | Size: 703 B |
Before Width: | Height: | Size: 712 B After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 812 B After Width: | Height: | Size: 1.3 KiB |
BIN
tools/lazdatadesktop/bitmaps/ddconnections_open.png
Normal file
After Width: | Height: | Size: 462 B |
BIN
tools/lazdatadesktop/bitmaps/ddconnections_open_150.png
Normal file
After Width: | Height: | Size: 629 B |
BIN
tools/lazdatadesktop/bitmaps/ddconnections_open_200.png
Normal file
After Width: | Height: | Size: 807 B |
BIN
tools/lazdatadesktop/bitmaps/ddfield_index.png
Normal file
After Width: | Height: | Size: 423 B |
BIN
tools/lazdatadesktop/bitmaps/ddfield_index_150.png
Normal file
After Width: | Height: | Size: 459 B |
BIN
tools/lazdatadesktop/bitmaps/ddfield_index_200.png
Normal file
After Width: | Height: | Size: 666 B |
Before Width: | Height: | Size: 461 B After Width: | Height: | Size: 461 B |
Before Width: | Height: | Size: 671 B After Width: | Height: | Size: 662 B |
Before Width: | Height: | Size: 963 B After Width: | Height: | Size: 931 B |
Before Width: | Height: | Size: 528 B After Width: | Height: | Size: 529 B |
Before Width: | Height: | Size: 788 B After Width: | Height: | Size: 780 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
BIN
tools/lazdatadesktop/bitmaps/ddindex_options.png
Normal file
After Width: | Height: | Size: 734 B |
BIN
tools/lazdatadesktop/bitmaps/ddindex_options_150.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
tools/lazdatadesktop/bitmaps/ddindex_options_200.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
@ -72,18 +72,17 @@ type
|
||||
end;
|
||||
|
||||
Const
|
||||
// Image Index for nodes. Relative to ImageOffset;
|
||||
// Image index, referring to ImgDatamodule.AppImages in unit dmImages
|
||||
iiConnection = 0;
|
||||
iiTables = 1;
|
||||
iiTable = 2;
|
||||
iiFields = 3;
|
||||
iiField = 4;
|
||||
iiIndexes = 5;
|
||||
iiIndex = 6;
|
||||
iiIndex = 27;
|
||||
iiTableData = 7;
|
||||
iiIndexFields = 8;
|
||||
iiIndexOptions = 9;
|
||||
FimageOffset = 0;
|
||||
|
||||
implementation
|
||||
|
||||
@ -258,7 +257,7 @@ begin
|
||||
Result:=TV.Items.AddChild(ParentNode,ACaption);
|
||||
If AImageIndex>=0 then
|
||||
begin
|
||||
Result.ImageIndex:=FImageOffset+AImageIndex;
|
||||
Result.ImageIndex:=AImageIndex;
|
||||
Result.SelectedIndex:=Result.ImageIndex;
|
||||
end;
|
||||
end;
|
||||
@ -516,7 +515,7 @@ begin
|
||||
LC.Width:=80;
|
||||
LC:=LV.Columns.Add;
|
||||
LC.Caption:=SColOptions;
|
||||
LC.Width:=30;
|
||||
LC.Width:=160;
|
||||
LV.Parent:=FDisplay;
|
||||
LV.Align:=alClient;
|
||||
LV.BeginUpdate;
|
||||
@ -708,7 +707,7 @@ begin
|
||||
N:=FTV.Selected;
|
||||
If N=Nil then
|
||||
exit;
|
||||
Case N.ImageIndex-FImageOffset of
|
||||
Case N.ImageIndex of
|
||||
iiConnection : Result:=otConnection;
|
||||
iiTables : Result:=otTables;
|
||||
iiTable : Result:=otTable;
|
||||
|
@ -523,6 +523,7 @@ object MainForm: TMainForm
|
||||
object ADeleteConnection: TAction
|
||||
Category = 'Connections'
|
||||
Caption = '&Delete connection'
|
||||
ImageIndex = 48
|
||||
OnExecute = ADeleteConnectionExecute
|
||||
OnUpdate = HaveRecentConnection
|
||||
ShortCut = 49220
|
||||
|