[prev in list] [next in list] [prev in thread] [next in thread]
List: calligra-devel
Subject: Re: Calligra Stages Coding
From: Jean-Nicolas Artaud <jeannicolasartaud () gmail ! com>
Date: 2011-02-10 9:13:28
Message-ID: AANLkTinYPeNx43-qi-=Vjm_orXy9QVJYKXb5jRv+cVWP () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
2011/2/10 Paul Méndez <paulestebanms@gmail.com>
> Hello, I read your blog about Calligra Stage Coding. I am reviewing Stage
> Code, and I expect to start with some bug fixing. While I was trying Stages,
> I noticed that Show Status Bar option didn't save the last state. I use some
> code of words to fix it. Maybe you could review the code, and show me where
> I can find some bug fixing task or junior jobs to start working.
>
Hey Paul, that's great news dude ;)
Welcome on board !
You will have fun with us. Something interesting you can do is to join the
Calligra devel mailling lists here :
https://mail.kde.org/mailman/listinfo/calligra-devel
Right now, I am sending your mail to the mailing list, because it is not my
part, and every one should know and be able to review your work. Thank you
for this !
There are no junior bugs declared, but Thorsten (the Stage maintainer) and I
think that you should work on the slides sorter bugs:
boud's quote: "if I have selected a slide in the slide sorter and go to
normal view, I want to view that slide. And double-clicking a slide should
go to that slide for normal view as well."
I have a fix for that, but it will make you discover the slide sorter and
the document view better I think.
New implementations needed (I haven't worked on it for now):
* multi selection and move of the slides
* be able to easily choose the number of column
* be able to choose the size of the slides items (maybe zoom in/out) to be
able to have an overview of the whole presentation or just a part
Do you agree to work on that ? If not, I can try to find you something else,
but I really think it is a good start !
>
> Regards
> Paul
>
Best regards
--
Jean-Nicolas
[Attachment #5 (text/html)]
<br><br><div class="gmail_quote">2011/2/10 Paul Méndez <span dir="ltr"><<a \
href="mailto:paulestebanms@gmail.com">paulestebanms@gmail.com</a>></span><br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex;"> Hello, I read your blog about Calligra Stage Coding. I am \
reviewing Stage Code, and I expect to start with some bug fixing. While I was trying \
Stages, I noticed that Show Status Bar option didn't save the last state. I use \
some code of words to fix it. Maybe you could review the code, and show me where I \
can find some bug fixing task or junior jobs to start working.<br> \
</blockquote><div><br></div><div>Hey Paul, that's great news dude \
;)</div><div>Welcome on board !</div><div><br></div><div>You will have fun with us. \
Something interesting you can do is to join the Calligra devel mailling lists here \
:<a href="https://mail.kde.org/mailman/listinfo/calligra-devel">https://mail.kde.org/mailman/listinfo/calligra-devel</a></div>
<div>Right now, I am sending your mail to the mailing list, because it is not my \
part, and every one should know and be able to review your work. Thank you for this \
!</div><div><br></div><div>There are no junior bugs declared, but Thorsten (the Stage \
maintainer) and I think that you should work on the slides sorter bugs:</div> \
<div><br></div><div>boud's quote: "if I have selected a slide in the slide \
sorter and go to normal view, I want to view that slide. And double-clicking a slide \
should go to that slide for normal view as well."</div> <div>I have a fix for \
that, but it will make you discover the slide sorter and the document view better I \
think.</div><div><br></div><div>New implementations needed (I haven't worked on \
it for now):</div><div> * multi selection and move of the slides</div> <div> * be \
able to easily choose the number of column</div><div> * be able to choose the size of \
the slides items (maybe zoom in/out) to be able to have an overview of the whole \
presentation or just a part</div><div><br></div> <div>Do you agree to work on that ? \
If not, I can try to find you something else, but I really think it is a good start \
!</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>Regards<br><font color="#888888">Paul<br>
</font></blockquote></div><br>Best regards<br clear="all"><br>-- \
<br><div>Jean-Nicolas</div><br>
--00151750eee69db355049be9fed8--
["statusBar.patch" (text/x-patch)]
diff --git a/kpresenter/part/KPrView.cpp b/kpresenter/part/KPrView.cpp
index 0596970..0f239ae 100644
--- a/kpresenter/part/KPrView.cpp
+++ b/kpresenter/part/KPrView.cpp
@@ -276,6 +276,19 @@ this );
m_actionBlackPresentation->setEnabled(false);
}
+void KPrView::showEvent(QShowEvent *e)
+{
+ KoView::showEvent(e);
+ QTimer::singleShot(0, this, SLOT(updateStatusBarAction()));
+}
+
+void KPrView::updateStatusBarAction()
+{
+ KToggleAction *action = (KToggleAction*) actionCollection()->action("showStatusBar");
+ if (action && statusBar())
+ action->setChecked(! statusBar()->isHidden());
+}
+
void KPrView::startPresentation()
{
m_actionDrawOnPresentation->setEnabled(true);
diff --git a/kpresenter/part/KPrView.h b/kpresenter/part/KPrView.h
index a59bf08..010a829 100644
--- a/kpresenter/part/KPrView.h
+++ b/kpresenter/part/KPrView.h
@@ -85,6 +85,8 @@ public slots:
protected:
void initGUI();
void initActions();
+ /// reimplemented method from superclass
+ virtual void showEvent(QShowEvent *event);
protected slots:
void createAnimation();
@@ -100,6 +102,7 @@ protected slots:
void highlightPresentation();
void blackPresentation();
void showStatusBar(bool toggled);
+ void updateStatusBarAction();
private:
KActionMenu *m_actionStartPresentation;
_______________________________________________
calligra-devel mailing list
calligra-devel@kde.org
https://mail.kde.org/mailman/listinfo/calligra-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic