mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
28 lines
642 B
C++
28 lines
642 B
C++
#pragma once
|
|
|
|
#include "debug/log.hpp"
|
|
|
|
#include <QString>
|
|
#include <QWidget>
|
|
#include <boost/preprocessor.hpp>
|
|
|
|
#include <string>
|
|
|
|
namespace chatterino {
|
|
|
|
enum class HighlightState {
|
|
None,
|
|
Highlighted,
|
|
NewMessage,
|
|
};
|
|
|
|
inline QString qS(const std::string &string)
|
|
{
|
|
return QString::fromStdString(string);
|
|
}
|
|
|
|
const Qt::KeyboardModifiers showSplitOverlayModifiers = Qt::ControlModifier | Qt::AltModifier;
|
|
const Qt::KeyboardModifiers showAddSplitRegions = Qt::ControlModifier | Qt::AltModifier;
|
|
const Qt::KeyboardModifiers showResizeHandlesModifiers = Qt::ControlModifier;
|
|
|
|
} // namespace chatterino
|