Add console font size setting and a preview\

Also moves the console settings from the minecraft page.
This commit is contained in:
Petr Mrázek
2014-11-11 00:50:17 +01:00
parent 5711b1be95
commit 41bd2a6634
7 changed files with 201 additions and 65 deletions

View File

@ -21,6 +21,7 @@
#include "logic/java/JavaChecker.h"
#include "gui/pages/BasePage.h"
class QTextCharFormat;
class SettingsObject;
namespace Ui
@ -78,7 +79,12 @@ slots:
*/
void refreshUpdateChannelDesc();
void updateChannelSelectionChanged(int index);
/*!
* Updates the font preview
*/
void refreshFontPreview();
void updateChannelSelectionChanged(int index);
private:
Ui::MultiMCPage *ui;
@ -87,4 +93,7 @@ private:
* Stores the currently selected update channel.
*/
QString m_currentUpdateChannel;
// default format for the font preview...
QTextCharFormat *defaultFormat;
};