Age | Commit message (Collapse) | Author |
|
Change-Id: I441085a7704eb3464e13723d8dc2ee1df833bd46
Reviewed-on: https://gerrit.libreoffice.org/10931
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
|
|
Change-Id: Ib2154a93192aa8342660b309f5307c1cb443063c
|
|
Change-Id: I5f5889b6e63e8e6763abc39690adb78d48929783
|
|
Change-Id: I0a1303f5864516efbf69e7a0227f17e43aea4af7
|
|
Replaced the hardcoded strings with their CUI_RES equivalents.
Change-Id: I1f4e0451839cd9fe10aa9d1c5ae82af9fa13dc4e
|
|
The result buttons are visible initially but are disabled. These get
enabled when the results are available.
A little code clean up.
Change-Id: I6217d59220d871909bd001a6c7f3636b05cdf911
|
|
Change-Id: Ia54e94c84e71fb794e7dec67f89306a5dd465f68
|
|
Change-Id: I67ca901270874794ec55d5b7db2cd18e6d3a997d
|
|
Added a data member m_bExecute which defaults to true but is set to
false when StopExecution is called. During execution, the member's value
is checked at various positions, if it is false, the execution is stopped
by returning from the execute method.
Following issues have been resolved:
* Multiple searches can be performed. The previous search is halted.
* Cancel button can be pressed in between any search or application of
the persona.
* A theme can be selected and applied by clicking on OK while the search
is being done.
Change-Id: Ic76c224ca0d317a6e1a44b3e8933a3ba50b371cb
|
|
The label is not shown if there are no persona extensions installed.
Change-Id: I758bb7ff7f22d56bfb7fe212908f9f5f1f3e7979
|
|
* In the Personalization Tab Page, the button sizes are not affected
by the presence of the preview buttons. THey remain their original
size.
* Added some padding and spacing to avoid cluttering of the widgets.
Change-Id: Iea919b9fbfce4a7bfc82f73ccb49f94aa10ec804
|
|
Change-Id: I5ecd9e3b4a9b878cf5aeb2ccce2e51b45ce9a70a
|
|
The UI now consists of a TreeView that lists all the personas that were
installed through extensions. When the user selects any name from the
list, the preview is shown in a button besides the list.
If there are no extensions installed, the list stays hidden.
Change-Id: I030d99549fd5b15d1104224116257ad62cdd1891
|
|
Change-Id: I12baaf22bfad73e228d3ed55dcf365f8eba9cf0a
|
|
If the user selects 'Plain look..' and clicks OK, the previous persona
information is removed from the registry so that if the user selects either
of the other option and clicks OK, the previous theme is not applied.
Change-Id: I5f6a707e5f2724d2a3c39965d155cf47c898d392
|
|
Change-Id: Ic662f59c084eacc7e99762c3e94fbcc191629557
|
|
The PersonasEntry template in the registry now stores the setting as
splitted values rather than ';' separated terms. The corresponding ';'
separated setting is prepared and stored.
Change-Id: I154d519c475a48763a75b5c35ad20f170c1d7996
|
|
The user can install an oxt extension and choose his/her theme from
the Personalization page.
* Created a template in Common.xcs registry to hold the values for the
PersonasList set.
* Added 3 buttons to personalization_tab.ui to incorporate the latest 3
personas installed through extensions.
* Currently, only 3 installed personas are shown alongwith the default
available personas.
Change-Id: I30a40ae48d17f4ed8caef33854ef88afcbec5a54
|
|
Change-Id: I8d0b34e0c34c349baaa7c9a56fd1e6cfe3ad6934
|
|
The user can now enter his/her own search term or can use the commonly
used search terms to browse for themes.
Change-Id: Ife4ad6b820784a6321f5b916a0069a915c114c7e
|
|
Previously, all the search result images were displayed in one go,
but now the images are shown as they are downloaded.
Change-Id: I95990f36c242a0c90bd2b2fd65fd76953f46bcc2
|
|
* The themes are stored in the share folder under the personas directory
in the gallery. The information is stored in a personas_list.txt which
contains the info in the form headerFile;footerFile;textColor;AccentColor
for the default themes.
* Changed the personalization_tab.ui to include _three_ buttons to show
the default images.
* Changed the vcl/source/app/settings.cxx to read the persona information
properly in the case of default personas.
* Some variable name changes.
Change-Id: Ib5f2167729a5fb7eb8061925679560accb934a44
|
|
The name of the theme is displayed in the progress label whenever
the user clicks on one of the results.
Change-Id: I4810c9e5faec1b1a5156716b9a62b1256951425c
|
|
* make the buttons scaling
* [Search] next to the input line
* mnemonic widget setting
Change-Id: Ia175ba33077bd87fc9cf2b87ed5aeda2b9fc7848
|
|
Change-Id: Ifefc528b425ed9ae7f1cdba47282a4f0875bd728
|
|
Changed number of search results from 1 (development code) to
9 (production code).
Change-Id: I9229f1db1df21bde3df60fd9d80e02307286b305
|
|
The dialog did not close on clicking OK if nothing was selected or if
nothing was searched. It does now.
Change-Id: I92f777bca8f306fea8da3ebd18ca41c34443a733
|
|
The XML root node contains total_results attribute. If there are no
results matching the search term, then the user is notified of it.
Change-Id: I4b2ae5efe4af700dbc7a554a22a558f94c56e3bc
|
|
Change-Id: If9e7a76bea49fa681e3fc7b3586b04fbbcbe279d
|
|
The theme is downloaded now when the user clicks OK on
SelectPersonaDialog instead of SvxPersonalizationTabPage. The task
is done in a separate thread.
Change-Id: I93173cce2ae9030ee8e271bd53b40e713c560731
|
|
Small ugly buttons were visible before searching. Their default
visibility is set to false.
Change-Id: I54baf50e4ffd7749391fbc0a48a07d7a1ffd5433
|
|
The vector that stores the persona settings is cleared every time a
new search is performed. This results in the correct theme being
selected for downloading and applying.
Change-Id: I8c0413a117c5a7ed660cd785c292c2fad4abd486
|
|
If another search was performed with the same instance of the dialog,
then the progress label was not visible. It is visible now.
Change-Id: Ic9526248d4f79585f59f24197aac832a0bcaaeb9
|
|
Changed the SearchAndPersonaThread to include an instance of
SvxPersonalizationTabPage along with an instance of
SelectPersonaDialog. The constructor sets one of the instance and
the other one as null. In the execute() method, whichever instance
is null, the other one's process is done in the thread.
Change-Id: Iabfbdba63ce532ab794d3697977b6fab3fdaa832
|
|
The header and footer files of the selected theme are downloaded and
saved in the Theme's own folder and applied.
Change-Id: Ie974c9bedc01a20c70cb342196fb60550cb39a0f
|
|
1. Added IMPL_LINKs for the result buttons.
2. Created a vector to store the temporary persona settings in the
format: name;headerURL;footerURL;textColor;accentColor.
3. When a button is clicked, the corresponding setting is copied to
m_aPersonaSetting.
4. The persona setting is parsed in CopyPersonaToGallery and the
header and footer images are downloaded.
Change-Id: Ib83016ad5bdfa83963843146ef6a4674fcd73868
|
|
Changed a little bit of documentation and some variable names.
Change-Id: I292bf63b41c2b7d0a5ee7f03eb8ca49bf42b64ee
|
|
Change-Id: I02fdbbfd4c9516597df395163e28f1d616aa390d
|
|
Changed some variable names too.
Change-Id: I166d996389c84d00782cba42169c991f8f0f923e
|
|
Change-Id: If85d4baacbffb6b7e6bf8feceb9c58697ee158d8
|
|
1. Changed the UI to include a 3x3 grid of images
2. The preview images are downloaded in the thread
3. The images are downloaded in their respective folders
4. A progress label is shown
Change-Id: Id87e72343d28e03b37e0c422e5ebfe1a9a37c1b5
|
|
The search results data is retrieved and parsed in a separate
thread so that the UI doesn't hang awkwardly.
Change-Id: I51437edd4cfbd45f5fb7e487ad2baf5dba6618a4
|
|
Change-Id: Ic6ffcfb394e36d4d9ce9825b26095fe2a0f34fdd
|
|
Change-Id: If1b0d447eba7c7afdc28aa4246556d14e2fcc98e
|
|
For now, we have to parse the HTML and display the images as the
result XML does not contain the header and footer URLs.
Change-Id: Ie95a75e218bc3da12802c971ea744fb38951e574
|
|
The entered text is searched on Mozilla's test server and the result is parsed.
Change-Id: I2be660b0f7f60d2bdb2c54cbc958084b87ad1e05
|
|
Change-Id: Ic1454344756c48090ebe821799d10dd6ace0264c
|
|
Change-Id: I91546defcc514649f9ef388838af2d40d82c7b67
|
|
Change-Id: Ic1dae7aac2f4367b4196ba3128c0aea9be1fbbda
|
|
Change-Id: Ibe90d041f15fd007026676ea626c672a9805b263
Reviewed-on: https://gerrit.libreoffice.org/10656
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|