Skip to content

Commit

Permalink
Add Application.Args
Browse files Browse the repository at this point in the history
Usage: i-nex.gambas [Options]
Options:
--help                  (Chow Help)
--show           (Show Main dialog)
--about         (Show About dialog)
--gen_report   (Show Report dialog)
Change Reportm.module 
Options to include lspci and lsusb information
TextInfo(), PBV(Value)
  • Loading branch information
eloaders committed Feb 8, 2012
1 parent 40c1b28 commit f4db404
Show file tree
Hide file tree
Showing 12 changed files with 312 additions and 102 deletions.
30 changes: 21 additions & 9 deletions src/i-nex/.lang/.pot
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ msgstr ""
msgid "About"
msgstr ""

#: About.form:45 FReport_Gen.form:64 Finfosys.form:1829
#: About.form:45 FReport_Gen.form:55 Finfosys.form:1829
msgid "Close"
msgstr ""

Expand Down Expand Up @@ -114,28 +114,40 @@ msgstr ""
msgid "I-Nex Home page"
msgstr ""

#: FReport_Gen.form:17
#: FReport_Gen.form:23
msgid "Generate report"
msgstr ""

#: FReport_Gen.form:23
#: FReport_Gen.form:46
msgid "Generate"
msgstr ""

#: FReport_Gen.form:66
msgid "CPU Tab"
msgstr ""

#: FReport_Gen.form:28
#: FReport_Gen.form:72
msgid "Motherboard / Bios Tab"
msgstr ""

#: FReport_Gen.form:37
#: FReport_Gen.form:78
msgid "Sound Tab"
msgstr ""

#: FReport_Gen.form:84
msgid "Graphics Tab"
msgstr ""

#: FReport_Gen.form:55
msgid "Generate"
#: FReport_Gen.form:90
msgid "System Tab"
msgstr ""

#: FReport_Gen.form:71
msgid "Sound Tab"
#: FReport_Gen.form:100
msgid "Include lspci"
msgstr ""

#: FReport_Gen.form:106
msgid "Include lsusb"
msgstr ""

#: Finfosys.form:268
Expand Down
32 changes: 22 additions & 10 deletions src/i-nex/.lang/FReport_Gen.pot
Original file line number Diff line number Diff line change
Expand Up @@ -14,31 +14,43 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

#: FReport_Gen.form:17
#: FReport_Gen.form:23
msgid "Generate report"
msgstr ""

#: FReport_Gen.form:23
#: FReport_Gen.form:46
msgid "Generate"
msgstr ""

#: FReport_Gen.form:55
msgid "Close"
msgstr ""

#: FReport_Gen.form:66
msgid "CPU Tab"
msgstr ""

#: FReport_Gen.form:28
#: FReport_Gen.form:72
msgid "Motherboard / Bios Tab"
msgstr ""

#: FReport_Gen.form:37
#: FReport_Gen.form:78
msgid "Sound Tab"
msgstr ""

#: FReport_Gen.form:84
msgid "Graphics Tab"
msgstr ""

#: FReport_Gen.form:55
msgid "Generate"
#: FReport_Gen.form:90
msgid "System Tab"
msgstr ""

#: FReport_Gen.form:64
msgid "Close"
#: FReport_Gen.form:100
msgid "Include lspci"
msgstr ""

#: FReport_Gen.form:71
msgid "Sound Tab"
#: FReport_Gen.form:106
msgid "Include lsusb"
msgstr ""

16 changes: 16 additions & 0 deletions src/i-nex/.lang/Start_App_Args.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# /home/michal/Baazar/i-nex/src/i-nex/.src/Start_App_Args.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"

2 changes: 1 addition & 1 deletion src/i-nex/.project
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Gambas Project File 3.0
# Compiled with Gambas 3.0.0
Title=i-nex
Startup=Finfosys
Startup=Start_App_Args
Icon=logo/i-nex.0.4.x.png
Version=0.4.4
VersionFile=1
Expand Down
12 changes: 7 additions & 5 deletions src/i-nex/.settings
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ SearchString=True

[OpenFile]
File[1]=".src/Finfosys.form"
Active=2
File[2]=".src/Finfosys.class:588.3"
File[2]=".src/Finfosys.class:120.0"
File[3]=".src/Global.class:50.56"
File[4]=".src/About.form"
File[5]=".src/About.class:63.30"
Expand All @@ -31,10 +30,13 @@ File[12]=".src/USB_Drives.module:28.30"
File[13]=".src/Asound_Drives.module:36.32"
File[14]=".src/HWmon_coretemp.module:3.18"
File[15]=".src/Input_Devices.module:36.27"
File[16]=".src/Reportm.module:171.10"
Active=16
File[16]=".src/Reportm.module:160.10"
File[17]=".src/FReport_Gen.form"
File[18]=".src/FReport_Gen.class:10.31"
Count=18
File[18]=".src/FReport_Gen.class:10.1"
File[19]=".src/Start_App_Args.form"
File[20]=".src/Start_App_Args.class:2.22"
Count=20

[Watches]
Count=0
Expand Down
1 change: 1 addition & 0 deletions src/i-nex/.src/FReport_Gen.class
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Public Sub Button1_Click()
Else
Shell "rm " & ButtonBox1.Text & ""
Reportm._generate(CheckBox1.Value, CheckBox2.Value, CheckBox3.Value, CheckBox4.Value, ButtonBox1.Text)
Reportm.include(CheckBox6.Value, CheckBox7.Value, ButtonBox1.Text)
Me.Close
Endif
End
Expand Down
66 changes: 47 additions & 19 deletions src/i-nex/.src/FReport_Gen.form
Original file line number Diff line number Diff line change
Expand Up @@ -6,29 +6,17 @@
Text = ("Generate report")
Icon = Picture["logo/i-nex.0.4.x.png"]
Resizable = False
{ CheckBox1 CheckBox
Move(6,6,348,24)
Text = ("CPU Tab")
}
{ CheckBox2 CheckBox
Move(6,30,348,24)
Text = ("Motherboard / Bios Tab")
}
{ ButtonBox1 ButtonBox
Move(6,204,426,24)
}
{ CheckBox3 CheckBox
Move(6,78,144,24)
Text = ("Graphics Tab")
Move(6,240,228,24)
}
{ ProgressBar1 ProgressBar
Move(6,174,426,24)
Move(6,222,426,12)
}
{ TextLabel1 TextLabel
Move(12,144,414,24)
Move(12,192,414,24)
}
{ HBox1 HBox
Move(174,240,258,24)
Move(234,240,198,24)
{ Button1 Button
Move(0,0,96,24)
Expand = True
Expand All @@ -45,8 +33,48 @@
Picture = Picture["icon:/16/quit"]
}
}
{ CheckBox4 CheckBox
Move(6,54,420,24)
Text = ("Sound Tab")
{ HPanel1 HPanel
Move(6,6,210,180)
{ CheckBox1 CheckBox
Move(0,0,156,24)
Expand = True
Text = ("CPU Tab")
}
{ CheckBox2 CheckBox
Move(0,24,156,24)
Expand = True
Text = ("Motherboard / Bios Tab")
}
{ CheckBox4 CheckBox
Move(0,48,156,24)
Expand = True
Text = ("Sound Tab")
}
{ CheckBox3 CheckBox
Move(0,72,156,24)
Expand = True
Text = ("Graphics Tab")
}
{ CheckBox5 CheckBox
Move(0,96,156,24)
Expand = True
Text = ("System Tab")
}
}
{ HPanel2 HPanel
Move(222,6,210,180)
{ CheckBox6 CheckBox
Move(0,0,144,24)
Expand = True
Text = ("Include lspci")
}
{ CheckBox7 CheckBox
Move(0,24,144,24)
Expand = True
Text = ("Include lsusb")
}
}
{ Separator1 Separator
Move(216,0,6,186)
}
}
2 changes: 1 addition & 1 deletion src/i-nex/.src/Finfosys.class
Original file line number Diff line number Diff line change
Expand Up @@ -586,4 +586,4 @@ Public Sub Button12_Click()

FReport_Gen.Show

End
End

0 comments on commit f4db404

Please sign in to comment.