6 #ifndef SWIFT_GUI_SETTINGS_NAVIGATOR_H
7 #define SWIFT_GUI_SETTINGS_NAVIGATOR_H
20 namespace swift::gui::settings
29 IndexMargins = swift::misc::CPropertyIndexRef::GlobalIndexCNavigatorSettings,
44 void setMargins(
const QMargins &margins);
47 QMargins getMargins()
const;
59 void setColumns(
int columns) { this->m_columns = columns; }
62 QByteArray getGeometry()
const;
65 void setGeometry(
const QByteArray &ba);
68 QString convertToQString(
bool i18n =
false)
const;
71 QString convertToQString(
const QString &separator,
bool i18n =
false)
const;
80 QString m_margins {
"0:0:0:0" };
82 bool m_frameless =
false;
97 static const char *
key() {
return "guinavigator"; }
102 static const QString name(
"Navigator");
Settings for navigator bar.
void setColumns(int columns)
Set columns.
bool isFramless() const
Frameless?
ColumnIndex
Properties by index.
void setFrameless(bool frameless)
Frameless.
int getColumns() const
Number pf columns.
~CNavigatorSettings()
Destructor.
Generic ordered container with value semantics.
Non-owning reference to a CPropertyIndex with a subset of its features.
Mix of the most commonly used mixin classes.
Trait for settings for navigator.
static const QString & humanReadable()
Optional human readable name.
static const char * key()
Key string of the value. Reimplemented in derived class.
Base class for traits to be used as template argument to swift::misc::CSetting.
#define SWIFT_GUI_EXPORT
Export a class or function from the library.
#define SWIFT_DECLARE_VALUEOBJECT_MIXINS(Namespace, Class)
Explicit template declaration of mixins for a CValueObject subclass to be placed near the top of the ...