|
|
|
@ -637,9 +637,9 @@ void KNutPrefDlg::initUps () {
|
|
|
|
|
|
|
|
|
|
// sets listbox
|
|
|
|
|
for (int i=0; i < m_myUpsData->getCount (); i++) m_listBox2->insertItem (m_myUpsData->getName(i));
|
|
|
|
|
//includes listbox into horizontal tqlayout on the first place
|
|
|
|
|
//includes listbox into horizontal layout on the first place
|
|
|
|
|
upsTopLayout->addWidget( m_listBox2, 20 );
|
|
|
|
|
// makes vertical tqlayout and includes it in horizontal tqlayout into the second place
|
|
|
|
|
// makes vertical layout and includes it in horizontal layout into the second place
|
|
|
|
|
TQVBoxLayout *upsLayout = new TQVBoxLayout( upsTopLayout, spacingHint (),"upsLayout" );
|
|
|
|
|
|
|
|
|
|
// vytvorime tlacitka
|
|
|
|
@ -647,7 +647,7 @@ void KNutPrefDlg::initUps () {
|
|
|
|
|
KPushButton *editButton = new KPushButton (i18n("&Edit"),page);
|
|
|
|
|
KPushButton *deleteButton = new KPushButton (i18n("&Delete"),page);
|
|
|
|
|
|
|
|
|
|
// includes buttons into tqlayout / vlozime tlacitka do layoutu
|
|
|
|
|
// includes buttons into layout / vlozime tlacitka do layoutu
|
|
|
|
|
upsLayout->addWidget( newButton );
|
|
|
|
|
upsLayout->addWidget( editButton );
|
|
|
|
|
upsLayout->addWidget( deleteButton );
|
|
|
|
|