'configure all widget in home page'

def DefaultTABContent(self):

    self.StatusBar = QStatusBar()
    self.StatusBar.setFixedHeight(23)
    self.StatusDhcp = QLabel('')
    self.connectedCount = QLabel('')
    self.StatusDhcp = QLabel('')
    self.StatusApname = QLabel('')
    self.StatusApchannel = QLabel('')
    self.proxy_lstatus = QLabel('[OFF]')
    self.connected_status = QLabel('')
    self.StatusApname.setMaximumWidth(130)
    self.StatusBar.addWidget(QLabel('Connected:'))
    self.StatusBar.addWidget(self.connected_status)
    self.StatusBar.addWidget(QLabel('Activate-Plugin:'))
    self.StatusBar.addWidget(self.status_plugin_proxy_name)
    self.StatusBar.addWidget(QLabel('SSID:'))
    self.StatusBar.addWidget(self.StatusApname)
    self.StatusBar.addWidget(QLabel('Channel:'))
    self.StatusBar.addWidget(self.StatusApchannel)
    self.StatusBar.addWidget(QLabel('Status-AP:'))
    self.StatusBar.addWidget(self.StatusDhcp)
    self.set_proxy_scripts(False)
    self.Started(False)
    self.progress = ProgressBarWid(total=101)
    self.progress.setFixedHeight(13)
    self.progress.setFixedWidth(140)
    self.StatusBar.addWidget(QLabel(''), 20)
    self.StatusBar.addWidget(QLabel('Clients:'))
    self.connectedCount.setText('0')
    self.connectedCount.setStyleSheet('QLabel    {        color    :    yellow;    }')
    self.StatusBar.addWidget(self.connectedCount)
    self.EditGateway = QLineEdit(self)
    self.EditApName = QLineEdit(self)
    self.EditChannel = QSpinBox(self)
    self.EditChannel.setMinimum(1)
    self.EditChannel.setMaximum(13)
    self.EditChannel.setFixedWidth(50)
    self.EditGateway.setFixedWidth(120)
    self.EditGateway.setHidden(True)
    self.selectCard = QComboBox(self)
    self.EditApName.textChanged.connect(self.setAP_name_changer)
    self.EditChannel.valueChanged.connect(self.setAP_channel_changer)
    self.TabInfoAP = QTableWidget(5, 4)
    self.TabInfoAP.setRowCount(50)
    self.TabInfoAP.resizeRowsToContents()
    self.TabInfoAP.setSizePolicy(QSizePolicy.Preferred, QSizePolicy.Preferred)
    self.TabInfoAP.horizontalHeader().setStretchLastSection(True)
    self.TabInfoAP.setSelectionBehavior(QAbstractItemView.SelectRows)
    self.TabInfoAP.setEditTriggers(QAbstractItemView.NoEditTriggers)
    self.TabInfoAP.verticalHeader().setVisible(False)
    self.TabInfoAP.setHorizontalHeaderLabels(self.THeaders.keys())
    self.TabInfoAP.verticalHeader().setDefaultSectionSize(23)
    self.TabInfoAP.horizontalHeader().resizeSection(3, 158)
    self.TabInfoAP.horizontalHeader().resizeSection(0, 150)
    self.TabInfoAP.horizontalHeader().resizeSection(2, 120)
    self.TabInfoAP.horizontalHeader().resizeSection(1, 120)
    self.TabInfoAP.setSortingEnabled(True)
    self.mConfigure()
    self.FormGroup2 = QFormLayout()
    self.FormGroup3 = QVBoxLayout()
    self.btnHttpServer = QToolButton(self)
    self.btnHttpServer.setFixedHeight(25)
    self.btnHttpServer.setIcon(QIcon('icons/phishing.png'))
    self.btnHttpServer.setToolTip('HTTP    Server    settings')
    self.FormPopup = PopUpServer(self.FSettings)
    self.btnHttpServer.setPopupMode(QToolButton.MenuButtonPopup)
    self.btnHttpServer.setMenu(QMenu(self.btnHttpServer))
    action = QWidgetAction(self.btnHttpServer)
    action.setDefaultWidget(self.FormPopup)
    self.btnHttpServer.menu().addAction(action)
    self.btnHttpServer.setHidden(True)
    self.btrn_refresh = QPushButton('Refresh')
    self.btrn_refresh.setIcon(QIcon('icons/refresh.png'))
    self.btrn_refresh.clicked.connect(self.refrash_interface)
    self.btrn_refresh.setFixedWidth(90)
    self.btrn_refresh.setFixedHeight(25)
    self.btrn_find_Inet = QPushButton('Check    Network    Connection')
    self.btrn_find_Inet.setIcon(QIcon('icons/router2.png'))
    self.btrn_find_Inet.clicked.connect(self.checkNetworkConnection)
    self.btrn_find_Inet.setFixedHeight(25)
    self.btrn_find_Inet.setFixedWidth(220)
    self.GroupAdapter = QGroupBox()
    self.layoutNetworkAd = QHBoxLayout()
    self.GroupAdapter.setTitle('Network    Adapter')
    self.layoutNetworkAd.addWidget(self.selectCard)
    self.layoutNetworkAd.addWidget(self.btrn_refresh)
    self.layoutNetworkAd.addWidget(self.btrn_find_Inet)
    self.GroupAdapter.setLayout(self.layoutNetworkAd)
    self.GroupAP = QGroupBox()
    self.GroupAP.setTitle('Access    Point')
    self.FormGroup3.addWidget(QLabel('SSID:'))
    self.FormGroup3.addWidget(self.EditApName)
    self.FormGroup3.addWidget(QLabel('Channel:'))
    self.FormGroup3.addWidget(self.EditChannel)
    self.GroupAP.setLayout(self.FormGroup3)
    self.GroupAP.setFixedWidth(260)
    self.GroupApPassphrase = QGroupBox()
    self.GroupApPassphrase.setTitle('Enable    Wireless    Security')
    self.GroupApPassphrase.setCheckable(True)
    self.GroupApPassphrase.setChecked(self.FSettings.Settings.get_setting('accesspoint', 'enable_Security', format=bool))
    self.GroupApPassphrase.clicked.connect(self.CheckStatusWPASecurity)
    self.layoutNetworkPass = QFormLayout()
    self.editPasswordAP = QLineEdit(self.FSettings.Settings.get_setting('accesspoint', 'WPA_SharedKey'))
    self.WPAtype_spinbox = QSpinBox()
    self.wpa_pairwiseCB = QComboBox()
    algoritms = ['TKIP', 'CCMP', 'TKIP    +    CCMP']
    wpa_algotims = self.FSettings.Settings.get_setting('accesspoint', 'WPA_Algorithms')
    self.wpa_pairwiseCB.addItems(algoritms)
    self.wpa_pairwiseCB.setCurrentIndex(algoritms.index(wpa_algotims))
    self.WPAtype_spinbox.setMaximum(2)
    self.WPAtype_spinbox.setMinimum(0)
    self.WPAtype_spinbox.setValue(self.FSettings.Settings.get_setting('accesspoint', 'WPA_type', format=int))
    self.editPasswordAP.setFixedWidth(150)
    self.editPasswordAP.textChanged.connect(self.update_settings)
    self.WPAtype_spinbox.valueChanged.connect(self.update_settings)
    self.update_settings()
    self.layoutNetworkPass.addRow('Security    type:', self.WPAtype_spinbox)
    self.layoutNetworkPass.addRow('WPA    Algorithms:', self.wpa_pairwiseCB)
    self.layoutNetworkPass.addRow('Security    Key:', self.editPasswordAP)
    self.GroupApPassphrase.setLayout(self.layoutNetworkPass)
    self.btn_start_attack = QPushButton('Start', self)
    self.btn_start_attack.setIcon(QIcon('icons/start.png'))
    self.btn_cancelar = QPushButton('Stop', self)
    self.btn_cancelar.setIcon(QIcon('icons/Stop.png'))
    self.btn_cancelar.clicked.connect(self.Stop_PumpAP)
    self.btn_start_attack.clicked.connect(self.Start_PumpAP)
    self.btn_cancelar.setEnabled(False)
    self.hBoxbutton = QVBoxLayout()
    self.Formbuttons = QFormLayout()
    self.Formbuttons.addRow(self.btn_start_attack, self.btn_cancelar)
    self.hBoxbutton.addLayout(self.Formbuttons)
    self.Main_ = QVBoxLayout()
    self.slipt = QHBoxLayout()
    self.slipt.addWidget(self.GroupAP)
    self.slipt.addWidget(self.GroupApPassphrase)
    self.donatelink = 'https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=PUPJEGHLJPFQL'
    self.donateLabel = ServiceNotify('Donations    allow    us    to    devote    more    time    to    the    project    so    if    you    are    able    to    donate    any    amount.    click    ', title='Attention', link=self.donatelink, timeout=20000)
    self.widget = QWidget()
    self.layout = QVBoxLayout(self.widget)
    self.layout.addWidget(self.donateLabel)
    self.layout.addWidget(self.TabInfoAP)
    self.Main_.addWidget(self.widget)
    self.ContentTabHome.addLayout(self.Main_)
