fosslc/freeseer — Issue #150: TalkEditor - RSS/CSV widgets looks does not look aligned
Author: zxiiro
Created: 2011-10-31 00:37:15+00:00
State: open
Labels: Minor, TalkEditor

The TalkEditor in the experimental branch has a new function to load talks from a CSV file. This new feature has added a new row of widgets to the screen causing more clutter.

Some changes should be made to make the TalkEditor not only less cluttered looking but have widget items line up.

I propose a few changes.

1. The "Load from RSS" button and the 2 new buttons from CSV "Select CSV", and "Load talks from CSV" do not have a consistent size. I propose that the total size of the control buttons on a row should match the total size of buttons in all rows.

For example "Load talks from RSS" should be the same size as "Select CSV" and "Load talks from CSV" together so that the controls on the bottom line up with the control on the top.

2. Usually browse buttons are marked as "..." perhaps we should make "Select CSV" a QToolButton instead so that it's a square button that's marked as "..." but when you hover over it a tooltip appears that says "Select CSV".

3. The line widget for CSV currently does not provide a context / placeholder text giving a hint to the user what is expected to appear there.

For example the RSS Line edit uses self.rssLineEdit.setPlaceholderText("http://www.example.com/rss") to display an example URL. I think the CSV LineEdit should do the same but provide an example location, this location should match a location on windows / unix systems. For example

Unix: /path/to/file.csv
Windows: C:\path\to\file.csv

4. The talkeditor is getting more cluttered. Perhaps to save some cluttering we could add a dropdown on the RSS row that has 2 options "RSS, CSV" if RSS is selected it shows on the right of the drop down the RSS widgets. If CSV is selected the CSV options will appear on the right. This way we do not present to the user both widgets at the same time causing clutter.