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;
|
end;
|
||||||
|
|
||||||
Const
|
Const
|
||||||
// Image Index for nodes. Relative to ImageOffset;
|
// Image index, referring to ImgDatamodule.AppImages in unit dmImages
|
||||||
iiConnection = 0;
|
iiConnection = 0;
|
||||||
iiTables = 1;
|
iiTables = 1;
|
||||||
iiTable = 2;
|
iiTable = 2;
|
||||||
iiFields = 3;
|
iiFields = 3;
|
||||||
iiField = 4;
|
iiField = 4;
|
||||||
iiIndexes = 5;
|
iiIndexes = 5;
|
||||||
iiIndex = 6;
|
iiIndex = 27;
|
||||||
iiTableData = 7;
|
iiTableData = 7;
|
||||||
iiIndexFields = 8;
|
iiIndexFields = 8;
|
||||||
iiIndexOptions = 9;
|
iiIndexOptions = 9;
|
||||||
FimageOffset = 0;
|
|
||||||
|
|
||||||
implementation
|
implementation
|
||||||
|
|
||||||
@ -258,7 +257,7 @@ begin
|
|||||||
Result:=TV.Items.AddChild(ParentNode,ACaption);
|
Result:=TV.Items.AddChild(ParentNode,ACaption);
|
||||||
If AImageIndex>=0 then
|
If AImageIndex>=0 then
|
||||||
begin
|
begin
|
||||||
Result.ImageIndex:=FImageOffset+AImageIndex;
|
Result.ImageIndex:=AImageIndex;
|
||||||
Result.SelectedIndex:=Result.ImageIndex;
|
Result.SelectedIndex:=Result.ImageIndex;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
@ -516,7 +515,7 @@ begin
|
|||||||
LC.Width:=80;
|
LC.Width:=80;
|
||||||
LC:=LV.Columns.Add;
|
LC:=LV.Columns.Add;
|
||||||
LC.Caption:=SColOptions;
|
LC.Caption:=SColOptions;
|
||||||
LC.Width:=30;
|
LC.Width:=160;
|
||||||
LV.Parent:=FDisplay;
|
LV.Parent:=FDisplay;
|
||||||
LV.Align:=alClient;
|
LV.Align:=alClient;
|
||||||
LV.BeginUpdate;
|
LV.BeginUpdate;
|
||||||
@ -708,7 +707,7 @@ begin
|
|||||||
N:=FTV.Selected;
|
N:=FTV.Selected;
|
||||||
If N=Nil then
|
If N=Nil then
|
||||||
exit;
|
exit;
|
||||||
Case N.ImageIndex-FImageOffset of
|
Case N.ImageIndex of
|
||||||
iiConnection : Result:=otConnection;
|
iiConnection : Result:=otConnection;
|
||||||
iiTables : Result:=otTables;
|
iiTables : Result:=otTables;
|
||||||
iiTable : Result:=otTable;
|
iiTable : Result:=otTable;
|
||||||
|
@ -523,6 +523,7 @@ object MainForm: TMainForm
|
|||||||
object ADeleteConnection: TAction
|
object ADeleteConnection: TAction
|
||||||
Category = 'Connections'
|
Category = 'Connections'
|
||||||
Caption = '&Delete connection'
|
Caption = '&Delete connection'
|
||||||
|
ImageIndex = 48
|
||||||
OnExecute = ADeleteConnectionExecute
|
OnExecute = ADeleteConnectionExecute
|
||||||
OnUpdate = HaveRecentConnection
|
OnUpdate = HaveRecentConnection
|
||||||
ShortCut = 49220
|
ShortCut = 49220
|
||||||
|