diff --git a/src/libprs500/gui2/dialogs/lrf_single.ui b/src/libprs500/gui2/dialogs/lrf_single.ui index caf08cee8c..4f6510d3de 100644 --- a/src/libprs500/gui2/dialogs/lrf_single.ui +++ b/src/libprs500/gui2/dialogs/lrf_single.ui @@ -149,8 +149,8 @@ 0 - - + + Book Cover @@ -159,19 +159,7 @@ - - - - 0 - 0 - - - - - 250 - 180 - - + @@ -266,201 +254,217 @@ - - - - - - &Title: - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - - gui_title - - + + + + + + + + &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 + + + + - - - - 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 + + + 16777215 + 110 + - - - - - - &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 + + + + + - - - - Comments - - - - - - - 16777215 - 60 - - - - - - - @@ -816,6 +820,19 @@ + + + + Qt::Vertical + + + + 20 + 40 + + + + @@ -875,6 +892,13 @@ p, li { white-space: pre-wrap; } + + + ImageView + QLabel +
widgets.h
+
+
diff --git a/src/libprs500/gui2/dialogs/metadata_single.ui b/src/libprs500/gui2/dialogs/metadata_single.ui index 346dcfb40b..e696b7ad73 100644 --- a/src/libprs500/gui2/dialogs/metadata_single.ui +++ b/src/libprs500/gui2/dialogs/metadata_single.ui @@ -396,12 +396,6 @@ 0 - - - 250 - 180 - - diff --git a/src/libprs500/gui2/make.py b/src/libprs500/gui2/make.py index 35a189937f..acdd6d6fee 100644 --- a/src/libprs500/gui2/make.py +++ b/src/libprs500/gui2/make.py @@ -45,6 +45,7 @@ def build_forms(forms): dat = buf.getvalue() dat = dat.replace('import images_rc', 'from libprs500.gui2 import images_rc') dat = dat.replace('from library import', 'from libprs500.gui2.library import') + dat = dat.replace('from widgets import', 'from libprs500.gui2.widgets import') dat = re.compile(r'QtGui.QApplication.translate\(.+?,\s+"(.+?)(?