[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdesdk/cervisia
From: Christian Loose <christian.loose () hamburg ! de>
Date: 2003-02-28 21:51:20
[Download RAW message or body]
CVS commit by cloose:
Fix BR #54382: Display warning message in remove dialog
to make clear that the action will also remove the local
copy of the selected files.
M +6 -0 ChangeLog 1.68
M +19 -0 addremovedlg.cpp 1.3
--- kdesdk/cervisia/addremovedlg.cpp #1.2:1.3
@@ -19,4 +19,6 @@
#include <qlayout.h>
#include <qlistbox.h>
+#include <kapplication.h>
+#include <kiconloader.h>
#include <klocale.h>
@@ -46,4 +48,21 @@ AddRemoveDialog::AddRemoveDialog(ActionT
layout->addWidget(listbox, 5);
+ QBoxLayout *warningLayout = new QHBoxLayout(mainWidget);
+
+ QLabel *warningIcon = new QLabel(mainWidget);
+ KIconLoader *loader = kapp->iconLoader();
+ warningIcon->setPixmap(loader->loadIcon("messagebox_warning", KIcon::NoGroup,
+ KIcon::SizeMedium, KIcon::DefaultState,
+ 0, true));
+ warningLayout->addWidget(warningIcon);
+
+ QLabel *warningText = new QLabel(i18n("This will also remove the files from "
+ "your local working copy!"), mainWidget);
+ warningLayout->addWidget(warningText);
+
+ layout->addSpacing(5);
+ layout->addLayout(warningLayout);
+ layout->addSpacing(5);
+
if( action == Remove )
setHelp("removingfiles");
--- kdesdk/cervisia/ChangeLog #1.67:1.68
@@ -1,2 +1,8 @@
+2003-02-28 Christian Loose <christian.loose@hamburg.de>
+
+ * Fix BR #54382: Display warning message in remove dialog
+ to make clear that the action will also remove the local
+ copy of the selected files.
+
2003-02-24 Christian Loose <christian.loose@hamburg.de>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic