Gsoc 2013 proposal (plasma-devel@kde.org)

2013-04-13 Thread Heena Mahour (Google Drive)

I've shared an item with you:

Gsoc 2013 proposal
https://docs.google.com/document/d/1hU9NXeTzHhsnV3VsuJjFvy42coX4n--Oxr7yhpEKvjY/edit?usp=sharing&invite=CKqd5KIN

It's not an attachment – it's stored online. To open this item, just click  
the link above.


___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: Using a system-default File Dialog in QML

2013-04-13 Thread Michał 'rysiek' Woźniak
Hi again,

I managed to load and show the dialog, now am having problems handling 
the signals. What is the correct way of handling them? I tried:

fd = new SaveFileDialog()
fd.onAccepted = function(fd) {
  console.log('exportTaskConfig(): file dialog accepted')
  console.log('+- file selected: ' + fd.file)
}

...then...
fd.accepted = function(fd) {
  console.log('exportTaskConfig(): file dialog accepted')
  console.log('+- file selected: ' + fd.file)
}

...then...
fd.onAccepted: {
  console.log('exportTaskConfig(): file dialog accepted')
  console.log('+- file selected: ' + fd.file)
}

The first two did not seem to work; the last one is apparently 
syntactically incorrect.

-- 
Pozdrawiam
Michał "rysiek" Woźniak

Fundacja Wolnego i Otwartego Oprogramowania


signature.asc
Description: This is a digitally signed message part.
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: Using a system-default File Dialog in QML

2013-04-13 Thread Michał 'rysiek' Woźniak
Dnia sobota, 13 kwietnia 2013 o 19:07:59 Michał 'rysiek' Woźniak 
napisał(a):
> Dnia sobota, 13 kwietnia 2013 o 18:52:09 Shaun Reich napisał(a):
> > through javascript. be sure to have your .desktop extension
> > enabled:
> > 
> > http://techbase.kde.org/Development/Tutorials/Plasma/JavaScript/A
> > PI -FileDialog
> 
> Great, thanks!
> 
> Dnia sobota, 13 kwietnia 2013 o 18:51:37 Djuro Drljaca napisał(a):
> > as far as I know this is not possible "directly" ... but you can
> > probably create a c++ component that does this and then import it
> > to QML.
> 
> I am not a C++ developer, I haven't had the pleasure of playing
> with pure *years*. This is not really an option...

*with pure C

Not sure how that got cut...

-- 
Pozdrawiam
Michał "rysiek" Woźniak

Fundacja Wolnego i Otwartego Oprogramowania


signature.asc
Description: This is a digitally signed message part.
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: Using a system-default File Dialog in QML

2013-04-13 Thread Michał 'rysiek' Woźniak
Dnia sobota, 13 kwietnia 2013 o 18:52:09 Shaun Reich napisał(a):
> through javascript. be sure to have your .desktop extension
> enabled:
> 
> http://techbase.kde.org/Development/Tutorials/Plasma/JavaScript/API
> -FileDialog

Great, thanks!

Dnia sobota, 13 kwietnia 2013 o 18:51:37 Djuro Drljaca napisał(a):
> as far as I know this is not possible "directly" ... but you can
> probably create a c++ component that does this and then import it
> to QML.

I am not a C++ developer, I haven't had the pleasure of playing with 
pure *years*. This is not really an option...

-- 
Pozdrawiam
Michał "rysiek" Woźniak

Fundacja Wolnego i Otwartego Oprogramowania


signature.asc
Description: This is a digitally signed message part.
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: Using a system-default File Dialog in QML

2013-04-13 Thread Shaun Reich
through javascript. be sure to have your .desktop extension enabled:

http://techbase.kde.org/Development/Tutorials/Plasma/JavaScript/API-FileDialog


On Sat, Apr 13, 2013 at 12:45 PM, Michał 'rysiek' Woźniak
wrote:

> Hi there,
>
> I can't find a way to use a standard, system-default file dialog in
> QML. Is there a way? All I was able to find were ways to implement one
> in QML, which seems an overkill and a bad idea from the usability
> perspective (users are accustomed to their system-default file
> dialogs).
>
> --
> Pozdrawiam
> Michał "rysiek" Woźniak
>
> Fundacja Wolnego i Otwartego Oprogramowania
>
> ___
> Plasma-devel mailing list
> Plasma-devel@kde.org
> https://mail.kde.org/mailman/listinfo/plasma-devel
>
>


-- 
Shaun Reich,
KDE Software Developer (kde.org)
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: Using a system-default File Dialog in QML

2013-04-13 Thread Djuro Drljaca
Hello,

as far as I know this is not possible "directly" ... but you can probably
create a c++ component that does this and then import it to QML.

Regards,
Djuro Drljaca


On Sat, Apr 13, 2013 at 6:45 PM, Michał 'rysiek' Woźniak wrote:

> Hi there,
>
> I can't find a way to use a standard, system-default file dialog in
> QML. Is there a way? All I was able to find were ways to implement one
> in QML, which seems an overkill and a bad idea from the usability
> perspective (users are accustomed to their system-default file
> dialogs).
>
> --
> Pozdrawiam
> Michał "rysiek" Woźniak
>
> Fundacja Wolnego i Otwartego Oprogramowania
>
> ___
> Plasma-devel mailing list
> Plasma-devel@kde.org
> https://mail.kde.org/mailman/listinfo/plasma-devel
>
>
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Using a system-default File Dialog in QML

2013-04-13 Thread Michał 'rysiek' Woźniak
Hi there,

I can't find a way to use a standard, system-default file dialog in 
QML. Is there a way? All I was able to find were ways to implement one 
in QML, which seems an overkill and a bad idea from the usability 
perspective (users are accustomed to their system-default file 
dialogs).

-- 
Pozdrawiam
Michał "rysiek" Woźniak

Fundacja Wolnego i Otwartego Oprogramowania


signature.asc
Description: This is a digitally signed message part.
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: Review Request 109995: Tint selected icons in Folder View by highlight color (as Dolphin 2.0)

2013-04-13 Thread Eike Hein

---
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/109995/
---

(Updated April 13, 2013, 3:14 p.m.)


Review request for Plasma.


Changes
---

Added link to KFileItemDelegate review request.


Description (updated)
---

As of Dolphin 2.0, Dolphin tints the icons of selected file items by the 
palette's highlight color. This patch adapts the Folder View icon view 
rendering code to mirror this Dolphin behavior for consistency.

A similar review request has been filed against KFileItemDelegate: 
http://git.reviewboard.kde.org/r/109997/

I would like to apply this patch to both the KDE/4.10 and master branches.


Diffs
-

  plasma/applets/folderview/iconview.cpp 14c136e 

Diff: http://git.reviewboard.kde.org/r/109995/diff/


Testing
---


File Attachments


Before
  http://git.reviewboard.kde.org/media/uploaded/files/2013/04/13/before.png
After
  http://git.reviewboard.kde.org/media/uploaded/files/2013/04/13/after.png


Thanks,

Eike Hein

___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: Review Request 109995: Tint selected icons in Folder View by highlight color (as Dolphin 2.0)

2013-04-13 Thread Eike Hein

---
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/109995/
---

(Updated April 13, 2013, 3:04 p.m.)


Review request for Plasma.


Changes
---

Added before and after screenshots.


Description
---

As of Dolphin 2.0, Dolphin tints the icons of selected file items by the 
palette's highlight color. This patch adapts the Folder View icon view 
rendering code to mirror this Dolphin behavior for consistency.

A similar review request is being prepared for KFileItemDelegate.

I would like to apply this patch to both the KDE/4.10 and master branches.


Diffs
-

  plasma/applets/folderview/iconview.cpp 14c136e 

Diff: http://git.reviewboard.kde.org/r/109995/diff/


Testing
---


File Attachments (updated)


Before
  http://git.reviewboard.kde.org/media/uploaded/files/2013/04/13/before.png
After
  http://git.reviewboard.kde.org/media/uploaded/files/2013/04/13/after.png


Thanks,

Eike Hein

___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Review Request 109995: Tint selected icons in Folder View by highlight color (as Dolphin 2.0)

2013-04-13 Thread Eike Hein

---
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/109995/
---

Review request for Plasma.


Description
---

As of Dolphin 2.0, Dolphin tints the icons of selected file items by the 
palette's highlight color. This patch adapts the Folder View icon view 
rendering code to mirror this Dolphin behavior for consistency.

A similar review request is being prepared for KFileItemDelegate.

I would like to apply this patch to both the KDE/4.10 and master branches.


Diffs
-

  plasma/applets/folderview/iconview.cpp 14c136e 

Diff: http://git.reviewboard.kde.org/r/109995/diff/


Testing
---


Thanks,

Eike Hein

___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Review Request 109993: Sort Folder View preview popup by default if main view is unsorted

2013-04-13 Thread Eike Hein

---
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/109993/
---

Review request for Plasma.


Description
---

This patch changes the Folder View preview popup behavior to apply sorting by 
default if the main view is unsorted. Previously, the preview popup would 
always adopt the sorting settings of the main view, including doing no sorting 
at all. The default sorting now applied instead mirrors the default sorting 
used by Folder View. If the main view is sorted in some way, however, the popup 
still follows its settings as before.

Rationale: The main view enters an unsorted mode when the user manually 
rearranges icons. Manual rearranging is not supported by preview popups and 
preview popups save no state, so unsorted mode is not useful in preview popups. 
Preview popups are more useful if they are sorted by default, since there is no 
user-set arrangement this would override. Sorted by default beats random by 
default.

I would like to apply this patch to both the KDE/4.10 and master branches.


Diffs
-

  plasma/applets/folderview/popupview.cpp c6e881b 

Diff: http://git.reviewboard.kde.org/r/109993/diff/


Testing
---


Thanks,

Eike Hein

___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: Which settings should go in the settings dialog of a Plasmoid?

2013-04-13 Thread David Edmundson
>
> i prefer this method as then one does not need to think "which configuration 
> do
> i need?" because all the config is in the same place.
>
> i've noticed a few times that the separate entry in the clock trips up some
> people: they don't know whether to select that to set the time shown in the
> clock, or if choosing that entry would set the system time.
>

Given I'm sort of referenced in the original email, I feel I should
comment. I'm personally against mixing settings which only affect a
plasmoid and settings which affect the whole workspace/computer.

I think the clock example is going to be even more confusing if we
have both your system time zone and settings for which time zone are
shown in the plasmoid both together in the same config window.
Splitting provides a sense of scope to the changes.

>> So, which way do you guys prefer? When we've chosen one, I'd suggest writing
>> an HIG about this as the next step (which would then be applied by KTP).
>
> +1
>

++
If there's a consistency across Plasma we'll obviously go with that
regardless of my comment above.

David Edmundson
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel