mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 06:06:10 -04:00
Added patch from braindead
- Added empty entry to stylesheet-choice for "no stylesheet" and moved method "loadStyleSheet" from MainWindow to Rshare git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5133 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
8bd1b7aa4a
commit
c99fa5f342
5 changed files with 42 additions and 76 deletions
|
@ -75,8 +75,10 @@ public:
|
|||
static bool setLanguage(QString languageCode = QString());
|
||||
/** Sets the current GUI style. */
|
||||
static bool setStyle(QString styleKey = QString());
|
||||
/** Sets the current GUI stylesheet. */
|
||||
/** Sets the current GUI stylesheet. */
|
||||
static bool setSheet(QString sheet = QString());
|
||||
/** Loads stylesheet from external file **/
|
||||
static void loadStyleSheet(const QString &sheetName);
|
||||
|
||||
/**
|
||||
* Update Language, Style and StyleSheet.
|
||||
|
@ -96,7 +98,6 @@ public:
|
|||
/** Returns Rshare's application version. */
|
||||
static QString version() { return RSHARE_VERSION; }
|
||||
|
||||
|
||||
/** Returns the location Rshare uses for its data files. */
|
||||
static QString dataDirectory();
|
||||
/** Returns the default location of Rshare's data directory. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue