[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/kexi
From:       Lucijan Busch <lucijan () gmx ! at>
Date:       2003-02-08 10:56:59
[Download RAW message or body]

CVS commit by lucijan: 

* history now sets it's used height & width => scrollbars are shown where needed
* some lines in context help (the way to a working one :)


  M +1 -1      Makefile.am   1.65
  M +1 -0      core/kexi_aboutdata.h   1.4
  M +2 -1      core/kexicontexthelp.cpp   1.2
  M +2 -2      core/kexidialogbase.cpp   1.24
  M +9 -0      plugins/kexiquerydesignersqlhistory.cpp   1.2
  M +0 -1      plugins/kexiquerydesignersqlhistory.h   1.2


--- koffice/kexi/Makefile.am  #1.64:1.65
@@ -21,5 +21,5 @@
 
 
-SUBDIRS = kexiDB formeditor core tableview widget . plugins pics data interfaces
+SUBDIRS = kexiDB formeditor core tableview widget . plugins pics data
 
 KDE_CXXFLAGS = $(USE_EXCEPTIONS)

--- koffice/kexi/core/kexi_aboutdata.h  #1.3:1.4
@@ -36,4 +36,5 @@ KAboutData *newKexiAboutData()
         aboutData->addAuthor("Peter \
                Simonsson",I18N_NOOP("Developer"),"psn@linux.se");
         aboutData->addAuthor("Joseph Wenninger", I18N_NOOP("Formdesigner, UIModes & \
much more"), "jowenn@kde.org"); +        aboutData->addAuthor("Seth \
                Kurzenberg",I18N_NOOP("CQL++, SQL assistence"),  "seth@cql.com");
         aboutData->addAuthor("Daniel Molkentin",I18N_NOOP("Design, Improvements"),  \
                "molkentin@kde.org");
         aboutData->addAuthor("Laurent Montel", I18N_NOOP("Code cleanings"), \
"montell@club-internet.fr");

--- koffice/kexi/core/kexicontexthelp.cpp  #1.1:1.2
@@ -34,5 +34,6 @@ KexiContextHelp::KexiContextHelp(KexiVie
 }
 
-void KexiContextHelp::setContextHelp( const QString& title, const QString& text, \
const QPixmap* icon = 0 ) { +void KexiContextHelp::setContextHelp( const QString& \
title, const QString& text, const QPixmap* icon = 0 ) +{
         m_widget->setContextHelp(title,text,icon);
 }

--- koffice/kexi/core/kexidialogbase.cpp  #1.23:1.24
@@ -70,7 +70,7 @@ void
 KexiDialogBase::setContextHelp(const QString &title, const QString &message)
 {
+        m_contextTitle = title;
+        m_contextMessage = message;
         m_view->help()->setContextHelp(title, message);
-
-
 }
 

--- koffice/kexi/plugins/kexiquerydesignersqlhistory.cpp  #1.1:1.2
@@ -62,4 +62,13 @@ KexiQueryDesignerSQLHistory::addEntry(Hi
 {
         m_history.append(e);
+
+        int y = 0;
+        for(HistoryEntry *it = m_history.first(); it; it = m_history.next())
+        {
+                y += it->geometry(y, visibleWidth(), fontMetrics()).height() + 5;
+        }
+
+        resizeContents(visibleWidth() - 1, y);
+        ensureVisible(0, y);
 }
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic