2021-03-20 10:30:49 +00:00
|
|
|
@GUI::Widget {
|
|
|
|
layout: @GUI::VerticalBoxLayout {
|
Userland+LibGUI: Add shorthand versions of the Margins constructor
This allows for typing [8] instead of [8, 8, 8, 8] to specify the same
margin on all edges, for example. The constructors follow CSS' style of
specifying margins. The added constructors are:
- Margins(int all): Sets the same margin on all edges.
- Margins(int vertical, int horizontal): Sets the first argument to top
and bottom margins, and the second argument to left and right margins.
- Margins(int top, int vertical, int bottom): Sets the first argument to
the top margin, the second argument to the left and right margins,
and the third argument to the bottom margin.
2021-08-17 00:11:38 +00:00
|
|
|
margins: [20]
|
2021-03-20 10:30:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@GUI::HorizontalSplitter {
|
|
|
|
@GUI::Widget {
|
|
|
|
name: "csv_options"
|
2022-02-12 17:17:01 +00:00
|
|
|
layout: @GUI::VerticalBoxLayout {}
|
2021-03-20 10:30:49 +00:00
|
|
|
|
|
|
|
@GUI::Widget {
|
2022-02-12 17:17:01 +00:00
|
|
|
layout: @GUI::HorizontalBoxLayout {}
|
2021-03-20 10:30:49 +00:00
|
|
|
|
|
|
|
@GUI::GroupBox {
|
|
|
|
title: "Delimiter"
|
|
|
|
layout: @GUI::VerticalBoxLayout {
|
2021-09-15 15:56:01 +00:00
|
|
|
margins: [10, 8, 8]
|
2021-03-20 10:30:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@GUI::RadioButton {
|
|
|
|
name: "delimiter_comma_radio"
|
|
|
|
text: "Comma"
|
|
|
|
autosize: true
|
|
|
|
}
|
|
|
|
|
|
|
|
@GUI::RadioButton {
|
|
|
|
name: "delimiter_semicolon_radio"
|
|
|
|
text: "Semicolon"
|
|
|
|
autosize: true
|
|
|
|
}
|
|
|
|
|
|
|
|
@GUI::RadioButton {
|
|
|
|
name: "delimiter_tab_radio"
|
|
|
|
text: "Tab"
|
|
|
|
autosize: true
|
|
|
|
}
|
|
|
|
|
|
|
|
@GUI::RadioButton {
|
|
|
|
name: "delimiter_space_radio"
|
|
|
|
text: "Space"
|
|
|
|
autosize: true
|
|
|
|
}
|
|
|
|
|
|
|
|
@GUI::Widget {
|
|
|
|
fixed_height: 25
|
2022-02-12 17:17:01 +00:00
|
|
|
layout: @GUI::HorizontalBoxLayout {}
|
2021-03-20 10:30:49 +00:00
|
|
|
|
|
|
|
@GUI::RadioButton {
|
|
|
|
name: "delimiter_other_radio"
|
|
|
|
text: "Other: "
|
|
|
|
autosize: true
|
|
|
|
}
|
|
|
|
|
|
|
|
@GUI::TextBox {
|
|
|
|
name: "delimiter_other_text_box"
|
|
|
|
text: ""
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@GUI::GroupBox {
|
|
|
|
title: "Quote"
|
|
|
|
layout: @GUI::VerticalBoxLayout {
|
2021-09-15 15:56:01 +00:00
|
|
|
margins: [10, 8, 8]
|
2021-03-20 10:30:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@GUI::RadioButton {
|
|
|
|
name: "quote_single_radio"
|
|
|
|
text: "Single Quotes"
|
|
|
|
autosize: true
|
|
|
|
}
|
|
|
|
|
|
|
|
@GUI::RadioButton {
|
|
|
|
name: "quote_double_radio"
|
|
|
|
text: "Double Quotes"
|
|
|
|
autosize: true
|
|
|
|
}
|
|
|
|
|
|
|
|
@GUI::Widget {
|
|
|
|
fixed_height: 25
|
2022-02-12 17:17:01 +00:00
|
|
|
layout: @GUI::HorizontalBoxLayout {}
|
2021-03-20 10:30:49 +00:00
|
|
|
|
|
|
|
@GUI::RadioButton {
|
|
|
|
name: "quote_other_radio"
|
|
|
|
text: "Other: "
|
|
|
|
autosize: true
|
|
|
|
}
|
|
|
|
|
|
|
|
@GUI::TextBox {
|
|
|
|
name: "quote_other_text_box"
|
|
|
|
text: ""
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-09-27 11:05:58 +00:00
|
|
|
@GUI::Layout::Spacer {}
|
2021-03-20 10:30:49 +00:00
|
|
|
|
|
|
|
@GUI::Widget {
|
|
|
|
fixed_height: 25
|
2022-02-12 17:17:01 +00:00
|
|
|
layout: @GUI::HorizontalBoxLayout {}
|
2021-03-20 10:30:49 +00:00
|
|
|
|
|
|
|
@GUI::Label {
|
|
|
|
text: "Escape by "
|
|
|
|
autosize: true
|
|
|
|
}
|
|
|
|
|
|
|
|
@GUI::ComboBox {
|
|
|
|
name: "quote_escape_combo_box"
|
|
|
|
model_only: true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-09-27 11:05:58 +00:00
|
|
|
@GUI::Layout::Spacer {}
|
2021-03-20 10:30:49 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@GUI::Widget {
|
|
|
|
fixed_height: 25
|
2022-02-12 17:17:01 +00:00
|
|
|
layout: @GUI::HorizontalBoxLayout {}
|
2021-03-20 10:30:49 +00:00
|
|
|
|
|
|
|
@GUI::CheckBox {
|
|
|
|
name: "export_header_check_box"
|
|
|
|
text: "Export with headers"
|
|
|
|
}
|
|
|
|
|
|
|
|
@GUI::CheckBox {
|
|
|
|
name: "quote_all_fields_check_box"
|
|
|
|
text: "Quote all fields"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@GUI::GroupBox {
|
|
|
|
title: "Data Preview"
|
|
|
|
fixed_width: 150
|
|
|
|
layout: @GUI::VerticalBoxLayout {
|
2021-09-15 15:56:01 +00:00
|
|
|
margins: [10, 8, 8]
|
2021-03-20 10:30:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@GUI::TextEditor {
|
|
|
|
name: "data_preview_text_editor"
|
|
|
|
mode: "ReadOnly"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|