Diffstat (limited to 'noncore/settings/packagemanager/oipkgconfigdlg.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/packagemanager/oipkgconfigdlg.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/noncore/settings/packagemanager/oipkgconfigdlg.cpp b/noncore/settings/packagemanager/oipkgconfigdlg.cpp index 5f60990..d234251 100644 --- a/noncore/settings/packagemanager/oipkgconfigdlg.cpp +++ b/noncore/settings/packagemanager/oipkgconfigdlg.cpp | |||
@@ -184,4 +184,5 @@ void OIpkgConfigDlg::initServerWidget() | |||
184 | pic.convertFromImage( Resource::loadImage( "new" ).smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) ); | 184 | pic.convertFromImage( Resource::loadImage( "new" ).smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) ); |
185 | QPushButton *btn = new QPushButton( pic, tr( "New" ), container ); | 185 | QPushButton *btn = new QPushButton( pic, tr( "New" ), container ); |
186 | btn->setMinimumHeight( AppLnk::smallIconSize() ); | ||
186 | QWhatsThis::add( btn, tr( "Tap here to create a new entry. Fill in the fields below and then tap on Update." ) ); | 187 | QWhatsThis::add( btn, tr( "Tap here to create a new entry. Fill in the fields below and then tap on Update." ) ); |
187 | connect( btn, SIGNAL(clicked()), this, SLOT(slotServerNew()) ); | 188 | connect( btn, SIGNAL(clicked()), this, SLOT(slotServerNew()) ); |
@@ -190,4 +191,5 @@ void OIpkgConfigDlg::initServerWidget() | |||
190 | pic.convertFromImage( Resource::loadImage( "edit" ).smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) ); | 191 | pic.convertFromImage( Resource::loadImage( "edit" ).smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) ); |
191 | m_serverEditBtn = new QPushButton( pic, tr( "Edit" ), container ); | 192 | m_serverEditBtn = new QPushButton( pic, tr( "Edit" ), container ); |
193 | m_serverEditBtn->setMinimumHeight( AppLnk::smallIconSize() ); | ||
192 | m_serverEditBtn->setEnabled( false ); | 194 | m_serverEditBtn->setEnabled( false ); |
193 | QWhatsThis::add( m_serverEditBtn, tr( "Tap here to edit the entry selected above." ) ); | 195 | QWhatsThis::add( m_serverEditBtn, tr( "Tap here to edit the entry selected above." ) ); |
@@ -197,4 +199,5 @@ void OIpkgConfigDlg::initServerWidget() | |||
197 | pic.convertFromImage( Resource::loadImage( "trash" ).smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) ); | 199 | pic.convertFromImage( Resource::loadImage( "trash" ).smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) ); |
198 | m_serverDeleteBtn = new QPushButton( pic, tr( "Delete" ), container ); | 200 | m_serverDeleteBtn = new QPushButton( pic, tr( "Delete" ), container ); |
201 | m_serverDeleteBtn->setMinimumHeight( AppLnk::smallIconSize() ); | ||
199 | m_serverDeleteBtn->setEnabled( false ); | 202 | m_serverDeleteBtn->setEnabled( false ); |
200 | QWhatsThis::add( m_serverDeleteBtn, tr( "Tap here to delete the entry selected above." ) ); | 203 | QWhatsThis::add( m_serverDeleteBtn, tr( "Tap here to delete the entry selected above." ) ); |
@@ -226,4 +229,5 @@ void OIpkgConfigDlg::initDestinationWidget() | |||
226 | pic.convertFromImage( Resource::loadImage( "new" ).smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) ); | 229 | pic.convertFromImage( Resource::loadImage( "new" ).smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) ); |
227 | QPushButton *btn = new QPushButton( pic, tr( "New" ), container ); | 230 | QPushButton *btn = new QPushButton( pic, tr( "New" ), container ); |
231 | btn->setMinimumHeight( AppLnk::smallIconSize() ); | ||
228 | QWhatsThis::add( btn, tr( "Tap here to create a new entry. Fill in the fields below and then tap on Update." ) ); | 232 | QWhatsThis::add( btn, tr( "Tap here to create a new entry. Fill in the fields below and then tap on Update." ) ); |
229 | connect( btn, SIGNAL(clicked()), this, SLOT(slotDestNew()) ); | 233 | connect( btn, SIGNAL(clicked()), this, SLOT(slotDestNew()) ); |
@@ -232,4 +236,5 @@ void OIpkgConfigDlg::initDestinationWidget() | |||
232 | pic.convertFromImage( Resource::loadImage( "edit" ).smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) ); | 236 | pic.convertFromImage( Resource::loadImage( "edit" ).smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) ); |
233 | m_destEditBtn = new QPushButton( pic, tr( "Edit" ), container ); | 237 | m_destEditBtn = new QPushButton( pic, tr( "Edit" ), container ); |
238 | m_destEditBtn->setMinimumHeight( AppLnk::smallIconSize() ); | ||
234 | m_destEditBtn->setEnabled( false ); | 239 | m_destEditBtn->setEnabled( false ); |
235 | QWhatsThis::add( m_destEditBtn, tr( "Tap here to edit the entry selected above." ) ); | 240 | QWhatsThis::add( m_destEditBtn, tr( "Tap here to edit the entry selected above." ) ); |
@@ -239,4 +244,5 @@ void OIpkgConfigDlg::initDestinationWidget() | |||
239 | pic.convertFromImage( Resource::loadImage( "trash" ).smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) ); | 244 | pic.convertFromImage( Resource::loadImage( "trash" ).smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) ); |
240 | m_destDeleteBtn = new QPushButton( pic, tr( "Delete" ), container ); | 245 | m_destDeleteBtn = new QPushButton( pic, tr( "Delete" ), container ); |
246 | m_destDeleteBtn->setMinimumHeight( AppLnk::smallIconSize() ); | ||
241 | m_destDeleteBtn->setEnabled( false ); | 247 | m_destDeleteBtn->setEnabled( false ); |
242 | QWhatsThis::add( m_destDeleteBtn, tr( "Tap here to delete the entry selected above." ) ); | 248 | QWhatsThis::add( m_destDeleteBtn, tr( "Tap here to delete the entry selected above." ) ); |
@@ -655,5 +661,7 @@ OIpkgDestDlg::OIpkgDestDlg( OConfItem *dest, QWidget *parent ) | |||
655 | QWhatsThis::add( m_location, tr( "Enter the absolute directory path of this entry here." ) ); | 661 | QWhatsThis::add( m_location, tr( "Enter the absolute directory path of this entry here." ) ); |
656 | layout2->addWidget( m_location ); | 662 | layout2->addWidget( m_location ); |
657 | QPushButton *btn = new QPushButton( Resource::loadPixmap( "folder" ), QString::null, this ); | 663 | QPixmap pic; |
664 | pic.convertFromImage( Resource::loadImage( "folder" ).smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) ); | ||
665 | QPushButton *btn = new QPushButton( pic, QString::null, this ); | ||
658 | btn->setMaximumWidth( btn->height() ); | 666 | btn->setMaximumWidth( btn->height() ); |
659 | QWhatsThis::add( btn, tr( "Tap here to select the desired location." ) ); | 667 | QWhatsThis::add( btn, tr( "Tap here to select the desired location." ) ); |