Elaztek Developer Hub
Blamite Game Engine - Keystone  00326.06.27.21.0407.blamite
A library that enables the use of Qt in Blamite's editing tools.
qt_style_editor Class Reference

A style editing window. More...

#include <qt_style_editor.h>

+ Inheritance diagram for qt_style_editor:

Public Member Functions

 qt_style_editor (QWidget *parent=Q_NULLPTR)
 
 ~qt_style_editor ()
 
void SetStylesheetContents (QString stylesheet)
 Sets the current stylesheet contents. More...
 

Detailed Description

A style editing window.

This is used to test and create stylesheets in real-time.

Todo:

Ensure clipboard contents are kept after application exit.

Maybe make stylesheet text field easier to look at.

Implement save functionality.

Constructor & Destructor Documentation

◆ qt_style_editor()

qt_style_editor::qt_style_editor ( QWidget *  parent = Q_NULLPTR)

◆ ~qt_style_editor()

qt_style_editor::~qt_style_editor ( )

Member Function Documentation

◆ SetStylesheetContents()

void qt_style_editor::SetStylesheetContents ( QString  stylesheet)

Sets the current stylesheet contents.

Used to edit the currently active theme.

Parameters
stylesheet- The stylesheet text to use.

The documentation for this class was generated from the following files: