| Server IP : 182.53.201.61 / Your IP : 216.73.217.175 Web Server : Apache/2.2.15 (Fedora) System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686 User : apache ( 48) PHP Version : 5.3.3 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/smolt/client/ |
Upload File : |
Ñò
þ̪Jc @ s® d Z d d k Z d d k Td d k Td d k l Z d d k Z d e f d „ ƒ YZ d e f d „ ƒ YZ
d e f d
„ ƒ YZ d d d „ ƒ YZ d
d d „ ƒ YZ
d S( sh This file contains various GUI bits that need to be shared between
the firstboot GUI and the normal GUI.iÿÿÿÿN( t *( t _t
MainTabWidgetc B s e Z d d d „ Z RS( c C sq t i | ƒ | d j o# | i | t t d ƒ d ƒ ƒ n | d j o# | i | t t d ƒ d ƒ ƒ n d S( Nt Generals UTF-8t Distribution( t
QTabWidgett __init__t Nonet addTabt unicodeR ( t selft
generalTabt distroTab( ( s /usr/share/smolt/client/gui.pyR s
#
N( t __name__t
__module__R R ( ( ( s /usr/share/smolt/client/gui.pyR s t
GeneralTabc B s e Z d „ Z d „ Z RS( c C sY t i | ƒ t ƒ | _ | i i | i ƒ ƒ | i i | i ƒ ƒ | i | i ƒ d S( N( t QWidgetR t QGridLayoutt
generalLayoutt addWidgett gett setLayout( R
t hostTablet deviceTable( ( s /usr/share/smolt/client/gui.pyR * s
c C s | i i | ƒ d S( N( R R ( R
t widget( ( s /usr/share/smolt/client/gui.pyR 1 s ( R
R R R ( ( ( s /usr/share/smolt/client/gui.pyR ( s t DistroTabc B s e Z d „ Z d „ Z RS( c C s- t i | ƒ t ƒ | _ | i | i ƒ d S( N( R R R t distroLayoutR ( R
( ( s /usr/share/smolt/client/gui.pyR 6 s
c C s | i i | ƒ d S( N( R R ( R
R ( ( s /usr/share/smolt/client/gui.pyR ; s ( R
R R R ( ( ( s /usr/share/smolt/client/gui.pyR 4 s t HostTablec B s# e Z d „ Z d „ Z d „ Z RS( c C s d | _ d | _ d S( N( R t profilet
host_table( R
( ( s /usr/share/smolt/client/gui.pyR A s c C sd | i d j oM t ƒ | _ | i i t ƒ | i i t ƒ | i i t ƒ | i d ƒ n | i S( N( R R t QTreeViewt setRootIsDecoratedt Falset setAlternatingRowColorst Truet setSortingEnabledt set_profile( R
( ( s /usr/share/smolt/client/gui.pyR E s c C s* | | _ t d d | i ƒ } | i d t i t t t d ƒ d ƒ ƒ ƒ | i d t i t t t d ƒ d ƒ ƒ ƒ | i o˜ x• | i i ƒ D]€ \ } } | i
d ƒ t t | d ƒ ƒ } | i t
ƒ t t | ƒ ƒ } | i t
ƒ | i d d | ƒ | i d d | ƒ qŽ Wn | i i | ƒ d S( Ni i t Labels UTF-8i t Data( R t QStandardItemModelR t
setHeaderDatat Qtt
Horizontalt QVariantR R t hostItert insertRowt
QStandardItemt setEditableR t strt setItemt setModel( R
R t modelt labelt data( ( s /usr/share/smolt/client/gui.pyR$ O s ++
( R
R R R R$ ( ( ( s /usr/share/smolt/client/gui.pyR ? s
t DeviceTablec B s# e Z d „ Z d „ Z d „ Z RS( c C s d | _ d | _ d S( N( R R t device_table( R
( ( s /usr/share/smolt/client/gui.pyR b s c C sd | i d j oM t ƒ | _ | i i t ƒ | i i t ƒ | i i t ƒ | i d ƒ n | i S( N( R7 R R R R R! R"