-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Nowy formularz wyświetlający informacje o pakietach
- Loading branch information
Showing
13 changed files
with
303 additions
and
251 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# /home/michal/Pulpit/i-nex/Silicon/src/Silicon/Packages.class | ||
# Generated by Gambas compiler | ||
|
||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. | ||
# | ||
#, fuzzy | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: PACKAGE VERSION\n""POT-Creation-Date: 2002-11-01 04:27+0100\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: LANGUAGE <LL@li.org>\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
|
||
#: Packages.class:56 | ||
msgid "Zainstalowane pakiety:" | ||
msgstr "" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
' Gambas class file | ||
|
||
|
||
PUBLIC SUB Form_Open() | ||
DIM TempFile AS File | ||
DIM textLine AS String | ||
DIM items AS String[] | ||
DIM i AS Integer | ||
DIM key AS Integer | ||
|
||
ME.Center | ||
|
||
SHELL "dpkg-query -W --showformat='${Package},${Version},${Priority},${Installed-Size}\n' | tee /tmp/PACKAGESLIST" WAIT | ||
|
||
OPEN "/tmp/PACKAGESLIST" FOR READ AS #TempFile | ||
' Setup ColumnView | ||
ColumnView1.Columns.Count = 4 | ||
ColumnView1.Columns[0].Text = "Pakiet" | ||
ColumnView1.Columns[1].Text = "Wersja" | ||
ColumnView1.Columns[2].Text = "Priorytet" | ||
ColumnView1.Columns[3].Text = "Rozmiar" | ||
|
||
|
||
WHILE NOT Eof(TempFile) | ||
LINE INPUT #TempFile, textLine | ||
|
||
|
||
items = Split(textLine, ",", "\"") | ||
INC key | ||
ColumnView1.Add(key, items[0]) | ||
FOR i = 1 TO items.Count - 1 | ||
ColumnView1[key][i] = items[i] | ||
NEXT | ||
WEND | ||
CLOSE #TempFile | ||
CATCH | ||
TRY CLOSE #TempFile | ||
END | ||
|
||
PUBLIC SUB ColumnView1_Select() | ||
|
||
Message.Info("Funkcja wybierania nie została jeszcze wprowadzona") | ||
|
||
END |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Gambas Form File 2.0 | ||
|
||
{ Form Form | ||
Move(0,0,630,448) | ||
#(Scaled) = False | ||
Text = ("Zainstalowane pakiety:") | ||
Border = Window.Fixed | ||
{ ColumnView1 ColumnView | ||
Move(0,0,630,448) | ||
} | ||
} |