source: projects/vine-app-install/trunk/src/vine-app-install/FMain.form @ 4083

Revision 4083, 4.5 KB checked in by kazutaka, 13 years ago (diff)

Vine 6向けに複数の変更を実施

  • add first screen
  • delete "All" category from left pane
  • show search result in left pane as a category
  • delete checkbox in application list and add install/uninstall button in detail pane
  • show check mark on icons for installed application
  • set Synaptic::AskRelated?=false when executing synaptic
RevLine 
[178]1# Gambas Form File 2.0
2
3{ Form Form
[4083]4  MoveScaled(0,0,103,75)
[178]5  Enabled = False
6  Mouse = Mouse.Wait
[437]7  Text = ("Install or remove applications")
[178]8  Icon = Picture["vine-app-install.png"]
9  Arrangement = Arrange.Vertical
10  Spacing = 8
11  Padding = 8
12  { hbxTop HBox
[4083]13    MoveScaled(1,1,95,4)
[178]14    { cbxState ComboBox
15      MoveScaled(2,0,22.5,4)
16      ToolTip = ("Filter by state of applications")
[4083]17      ReadOnly = True
18      List = [("(All)"), ("Installed"), ("Not installed")]
[178]19      Text = ("")
20    }
21    { Panel2 Panel
[4083]22      MoveScaled(61,0,2,4)
[178]23      Expand = True
24    }
25    { tbxSearch TextBox
[4083]26      MoveScaled(64,0,24,4)
[178]27      Foreground = &HA0A0A0&
28      Text = ("Enter search term")
29    }
30    { btnSearch Button
[4083]31      MoveScaled(89,0,4,4)
[178]32      ToolTip = ("Search applications")
33      Text = ("")
34      Picture = Picture["icon:/24/find"]
35      Border = False
36    }
37  }
38  { hspMain HSplit
[4083]39    MoveScaled(1,8,78,60)
[178]40    Expand = True
41    { lctCategory ListContainer
[437]42      MoveScaled(2,7,12,37)
[178]43      Mouse = Mouse.Pointing
44    }
45    { vspRight VSplit
[4083]46      MoveScaled(17,1,60,58)
47      { vbxMessage VBox
48        MoveScaled(3,1,55,16)
49        Visible = False
50        { Panel3 Panel
51          MoveScaled(1,1,53,7.5)
52          { PictureBox1 PictureBox
53            MoveScaled(0,0,160,7.5)
54            Picture = Picture["background.png"]
55          }
56          { TextLabel1 TextLabel
57            MoveScaled(8,0,44,8)
58            Text = ("<big><b>Install or remove applications</b></big>")
59            Alignment = Align.Normal
60            Transparent = True
61          }
62        }
63        { TextLabel2 TextLabel
64          MoveScaled(1,8,53,7)
65          Background = &HFFFFFF&
66          Foreground = &H000000&
67          Expand = True
68          Padding = 16
69          Text = ("<b>Install or remove applications</b> (vine-app-install) is a GUI tool to easily install/uninstall applications recomended for desktop use.<br>\n<br>\n<br>\n<b>Short description</b><br>\n<br>\nClick category in the left pane, then the applications for that category are listed in the right side. Choose an application and click it, then detail of selected application is shown below.<br>\n<br>\nDetail pane contains icon, description and screenshot for selected application. Also you can install or uninstall that application using button.<br>\n<br>\nFor more detail, click help buttn and check on-line help manual.")
70        }
71      }
[178]72      { lctApps ListContainer
[4083]73        MoveScaled(2,21,57,6)
74        Visible = False
[178]75        Expand = True
76      }
77      { svwDetail ScrollView
[4083]78        MoveScaled(2,28,57,29)
[178]79        Visible = False
80        Expand = True
81        Arrangement = Arrange.Vertical
82        Spacing = 8
83        Padding = 8
84        ScrollBar = Scroll.Vertical
[444]85        { hbxAppName HBox
86          MoveScaled(1,1,53,6)
[178]87          Spacing = 8
88          { pbxDetail PictureBox
[444]89            MoveScaled(0,0,6,6)
[178]90          }
[444]91          { tlbAppName TextLabel
[4083]92            MoveScaled(11,0,27,6)
[444]93            Expand = True
94            Text = ("")
95            Alignment = Align.Normal
96          }
[4083]97          { vbxButton VBox
98            MoveScaled(43,0,9,7)
99            { btnApply Button
100              MoveScaled(1,0,9,3)
101              Text = ("")
102              Picture = Picture["icon:/24/add"]
103            }
104          }
[444]105        }
106        { hbxAppDesc HBox
107          MoveScaled(1,7,53,21)
108          AutoResize = True
109          Spacing = 8
[178]110          { tlbAppDesc TextLabel
[444]111            MoveScaled(2,3,27,16)
[178]112            Expand = True
113            AutoResize = True
114            Text = ("")
115          }
[444]116          { vbxThumb VBox
[424]117            MoveScaled(37,2,15,17)
[426]118            Spacing = 4
[424]119            { pbxThumb PictureBox
120              MoveScaled(0,0,15,11.25)
121            }
[426]122            { btnThumb Button
[424]123              MoveScaled(1,13,14,3)
[426]124              Font = Font["Underline,-2"]
125              Foreground = &H0000FF&
[424]126              Text = ("Large image")
127              Border = False
128            }
[178]129          }
130        }
131      }
132    }
133  }
134  { hbxBottom HBox
[4083]135    MoveScaled(1,70,90,4)
[178]136    Spacing = 8
137    { btnHelp Button
[424]138      MoveScaled(1,0,9,4)
[178]139      Text = ("&Help")
140    }
[424]141    { btnSwitch Button
[437]142      MoveScaled(11,0,11,4)
[442]143      ToolTip = ("Exit 'add or remove applications' and run synaptic package manager.\nTo manage all packages installed on this system, you should use synaptic package manager.")
[424]144      Text = ("&Switch")
145    }
[178]146    { Panel1 Panel
[437]147      MoveScaled(34,0,2,4)
[178]148      Expand = True
149    }
150    { pgbProgress ProgressBar
[437]151      MoveScaled(42,0,20,4)
[178]152      Visible = False
153    }
154    { btnClose Button
[424]155      MoveScaled(77,0,10,4)
[178]156      Text = ("&Close")
157    }
158  }
159}
Note: See TracBrowser for help on using the repository browser.