diff --git a/icons/viewer.ico b/icons/viewer.ico new file mode 100644 index 0000000000..4473e07f07 Binary files /dev/null and b/icons/viewer.ico differ diff --git a/src/libprs500/gui2/dialogs/lrf_single.ui b/src/libprs500/gui2/dialogs/lrf_single.ui index 0a46ca0c3b..6e45311423 100644 --- a/src/libprs500/gui2/dialogs/lrf_single.ui +++ b/src/libprs500/gui2/dialogs/lrf_single.ui @@ -5,8 +5,8 @@ 0 0 - 850 - 671 + 789 + 570 @@ -15,11 +15,11 @@ :/images/convert.svg - - + + - + 0 0 @@ -27,15 +27,21 @@ Category - - + + - - 0 + + 3 0 + + + 154 + 16777215 + + 75 @@ -48,29 +54,29 @@ false + + QAbstractItemView::NoDragDrop + + + false + QAbstractItemView::SelectRows - 64 - 64 + 48 + 48 - - Qt::ElideLeft - - QListView::Snap + QListView::Static - - QListView::TopToBottom - - - false - - - 40 + + + 150 + 119 + QListView::IconMode @@ -78,6 +84,9 @@ true + + 0 + Metadata @@ -115,745 +124,747 @@ - - - - Options - - - - - - 0 - - + + + + + + + + + 10 + 0 + + + + Options + - - - &Title: + + + 0 - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - - gui_title - - - - - - - Change the title of this book - - - - - - - &Author(s): - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - - gui_author - - - - - - - - 1 - 0 - - - - Change the author(s) of this book. Multiple authors should be separated by a comma - - - - - - - So&rt: - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - - gui_author_sort - - - - - - - - 0 - 0 - - - - Change the author(s) of this book. Multiple authors should be separated by a comma - - - - - - - &Publisher: - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - - gui_publisher - - - - - - - Change the publisher of this book - - - - - - - Ta&gs: - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - - tags - - - - - - - Tags categorize the book. This is particularly useful while searching. <br><br>They can be any words or phrases, separated by commas. - - - - - - - &Series: - - - Qt::PlainText - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - - series - - - - - - - - 2 - 0 - - - - List of known series. You can add new series. - - - List of known series. You can add new series. - - - true - - - QComboBox::InsertAlphabetically - - - QComboBox::AdjustToContents - - - - - - - Series index. - - - Series index. - - - Book - - - 1 - - - 10000 - - - - - - - Comments - - - - - - - - - - - - Book Cover - - - - - - - - Qt::Horizontal - - - - 81 - 181 - - - - - - - - - 0 - 0 - - - - - 250 - 180 - - - - - - - :/images/book.svg - - - true - - - - - - - Qt::Horizontal - - - - 71 - 181 - - - - - - - - - - 6 - - - 0 - - - 0 - - - 0 - - - 0 - - - - - Change &cover image: - - - cover_path - - - - - - - 6 - - - 0 - - - 0 - - - 0 - - - 0 - - - - - true - - + + + + + + Book Cover + + + + + + + + + 0 + 0 + + + + + 250 + 180 + + + + + + + :/images/book.svg + + + true + + + Qt::AlignCenter + + + + - - - - Browse for an image to use as the cover of this book. + + + + 6 - - ... + + 0 - - :/images/document_open.svg + + 0 + + + 0 + + + 0 + + + + + Change &cover image: + + + cover_path + + + + + + + 6 + + + 0 + + + 0 + + + 0 + + + 0 + + + + + true + + + + + + + Browse for an image to use as the cover of this book. + + + ... + + + :/images/document_open.svg + + + + + + + + + + + + + + + + &Title: + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + gui_title + + + + + + + Change the title of this book + + + + + + + &Author(s): + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + gui_author + + + + + + + + 1 + 0 + + + + Change the author(s) of this book. Multiple authors should be separated by a comma + + + + + + + Author So&rt: + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + gui_author_sort + + + + + + + + 0 + 0 + + + + Change the author(s) of this book. Multiple authors should be separated by a comma + + + + + + + &Publisher: + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + gui_publisher + + + + + + + Change the publisher of this book + + + + + + + Ta&gs: + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + tags + + + + + + + Tags categorize the book. This is particularly useful while searching. <br><br>They can be any words or phrases, separated by commas. + + + + + + + &Series: + + + Qt::PlainText + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + series + + + + + + + + 10 + 0 + + + + List of known series. You can add new series. + + + List of known series. You can add new series. + + + true + + + QComboBox::InsertAlphabetically + + + QComboBox::AdjustToContents + + + + + + + Series index. + + + Series index. + + + Book + + + 1 + + + 10000 + + + + + + + + + Comments + + + + + + + 16777215 + 60 + - - - - + + + + + + + + + + &Font delta: + + + gui_font_delta + + + + + + + QAbstractSpinBox::PlusMinus + + + pts + + + 1 + + + -5.000000000000000 + + + 5.000000000000000 + + + 0.100000000000000 + + + + + + + &Word spacing: + + + Qt::PlainText + + + gui_wordspace + + + + + + + QAbstractSpinBox::PlusMinus + + + pts + + + 1 + + + 0.000000000000000 + + + 10.000000000000000 + + + 0.100000000000000 + + + 2.500000000000000 + + + + + + + &Preprocess: + + + preprocess + + + + + + + + + + + 0 + 0 + + + + Header + + + + + + &Show header + + + + + + + &Header format: + + + gui_headerformat + + + + + + + + + + + + + Disable auto &rotation of images + + + + + + + Insert &blank lines between paragraphs + + + + + + + Ignore &tables + + + + + + + Qt::Vertical + + + + 20 + 41 + + + + + + + + + + + + &Profile: + + + gui_profile + + + + + + + -1 + + + 1 + + + + + + + &Left Margin: + + + gui_left_margin + + + + + + + px + + + 100 + + + 20 + + + + + + + &Right Margin: + + + gui_right_margin + + + + + + + px + + + 100 + + + 20 + + + + + + + &Top Margin: + + + gui_top_margin + + + + + + + px + + + 100 + + + 10 + + + + + + + &Bottom Margin: + + + gui_bottom_margin + + + + + + + px + + + 100 + + + 0 + + + + + + + + + + + Title based detection + + + + + + &Disable chapter detection + + + + + + + &Regular expression: + + + gui_chapter_regex + + + + + + + + + + + + + Tag based detection + + + + + + &Page break before tag: + + + gui_page_break_before_tag + + + + + + + + + + &Force page break before tag: + + + gui_force_page_break_before_tag + + + + + + + + + + Force page break before &attribute: + + + gui_force_page_break_before_attr + + + + + + + + + + + + - + + + + + Help on item + - - - - &Font delta: - - - gui_font_delta - - - - - - - QAbstractSpinBox::PlusMinus - - - pts - - - 1 - - - -5.000000000000000 - - - 5.000000000000000 - - - 0.100000000000000 - - - - - - - &Word spacing: - - - Qt::PlainText - - - gui_wordspace - - - - - - - QAbstractSpinBox::PlusMinus - - - pts - - - 1 - - - 0.000000000000000 - - - 10.000000000000000 - - - 0.100000000000000 - - - 2.500000000000000 - - - - - - - &Preprocess: - - - preprocess - - - - - - - - + + - + 0 0 - - Header - - - - - - &Show header - - - - - - - &Header format: - - - gui_headerformat - - - - - - - - - - - - - Disable auto &rotation of images - - - - - - - Insert &blank lines between paragraphs - - - - - - - Ignore &tables - - - - - - - Qt::Vertical - - + - 20 - 41 + 0 + 60 - - - - - - - - - - &Profile: + + + 16777215 + 150 + - - gui_profile - - - - - - - -1 - - - 1 - - - - - - - &Left Margin: - - - gui_left_margin - - - - - - - px - - - 100 - - - 20 - - - - - - - &Right Margin: - - - gui_right_margin - - - - - - - px - - - 100 - - - 20 - - - - - - - &Top Margin: - - - gui_top_margin - - - - - - - px - - - 100 - - - 10 - - - - - - - &Bottom Margin: - - - gui_bottom_margin - - - - - - - px - - - 100 - - - 0 - - - - - - - - - - - Title based detection - - - - - - &Disable chapter detection - - - - - - - &Regular expression: - - - gui_chapter_regex - - - - - - - - - - - - - Tag based detection - - - - - - &Page break before tag: - - - gui_page_break_before_tag - - - - - - - - - - &Force page break before tag: - - - gui_force_page_break_before_tag - - - - - - - - - - Force page break before &attribute: - - - gui_force_page_break_before_attr - - - - - - - - - - - - - - - - - - - - - Help on item - - - - - - - 0 - 0 - - - - - 0 - 150 - - - - - 16777215 - 170 - - - - <html><head><meta name="qrichtext" content="1" /><style type="text/css"> + + <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p></body></html> - - - - - - - - - - Qt::Horizontal - - - QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|QDialogButtonBox::Ok - - - false - - + + + + + + + + + + + + Qt::Horizontal + + + QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|QDialogButtonBox::Ok + + + false + + + +