[SCM] ktp-send-file packaging branch, master, updated. debian/15.12.1-2-216-g8f07cdf
Maximiliano Curia
maxy at moszumanska.debian.org
Sat May 28 00:14:15 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-send-file.git;a=commitdiff;h=e5db8d0
The following commit has been merged in the master branch:
commit e5db8d02fe21a13afff80acd2db98400f52ba3cd
Author: Martin Klapetek <martin.klapetek at gmail.com>
Date: Mon Oct 31 16:37:29 2011 +0100
Some visual polish, also enabling the layout to expand on dialog resize
---
mainwindow.cpp | 3 +--
mainwindow.ui | 25 +++++++++++++++++++++++--
2 files changed, 24 insertions(+), 4 deletions(-)
diff --git a/mainwindow.cpp b/mainwindow.cpp
index 2be96e1..64b41e1 100644
--- a/mainwindow.cpp
+++ b/mainwindow.cpp
@@ -97,7 +97,7 @@ void ContactGridDelegate::paint(QPainter *painter, const QStyleOptionViewItem &o
QSize ContactGridDelegate::sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const
{
int textHeight = option.fontMetrics.height()*2;
- return QSize(80,80+textHeight+3);
+ return QSize(84, 80 + textHeight + 3);
}
@@ -115,7 +115,6 @@ MainWindow::MainWindow(const KUrl &url, QWidget *parent) :
ui->filePreview->showPreview(url);
ui->fileNameLabel->setText(url.fileName());
-
Tp::AccountFactoryPtr accountFactory = Tp::AccountFactory::create(QDBusConnection::sessionBus(),
Tp::Features() << Tp::Account::FeatureCore
<< Tp::Account::FeatureAvatar
diff --git a/mainwindow.ui b/mainwindow.ui
index 2069aa6..d99ce3b 100644
--- a/mainwindow.ui
+++ b/mainwindow.ui
@@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
- <width>684</width>
- <height>409</height>
+ <width>626</width>
+ <height>414</height>
</rect>
</property>
<property name="minimumSize">
@@ -83,9 +83,30 @@
</item>
<item>
<widget class="QListView" name="listView">
+ <property name="minimumSize">
+ <size>
+ <width>80</width>
+ <height>0</height>
+ </size>
+ </property>
+ <property name="baseSize">
+ <size>
+ <width>260</width>
+ <height>0</height>
+ </size>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>256</width>
+ <height>192</height>
+ </size>
+ </property>
<property name="movement">
<enum>QListView::Static</enum>
</property>
+ <property name="resizeMode">
+ <enum>QListView::Adjust</enum>
+ </property>
<property name="spacing">
<number>5</number>
</property>
--
ktp-send-file packaging
More information about the pkg-kde-commits
mailing list