Compare commits

3 Commits

Author SHA1 Message Date
6fac08414b Update with zoom 2022-12-18 21:15:18 +00:00
7bd6c4731c README Update
Remove one invalid entry from Table of Contents
2022-12-16 15:03:12 +00:00
c48b5826c4 README Update 2022-12-16 14:59:38 +00:00
4 changed files with 31 additions and 40 deletions

View File

@ -15,7 +15,6 @@
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(42, 42, 42);
font: 11pt &quot;UbuntuMono NF&quot;;
selection-background-color: rgb(105, 105, 105);
color: rgb(230, 230, 230);</string>
</property>
@ -58,7 +57,8 @@ background-color: rgb(105, 105, 105);</string>
<item>
<widget class="QLineEdit" name="search_line_edit">
<property name="styleSheet">
<string notr="true">background-color: rgb(42, 42, 42);</string>
<string notr="true">background-color: rgb(42, 42, 42);
font: 11pt &quot;UbuntuMono NF&quot;;</string>
</property>
<property name="text">
<string/>
@ -74,7 +74,8 @@ background-color: rgb(105, 105, 105);</string>
<item>
<widget class="QListWidget" name="tracks_list_widget">
<property name="styleSheet">
<string notr="true">background-color: rgb(42, 42, 42);</string>
<string notr="true">background-color: rgb(42, 42, 42);
font: 11pt &quot;UbuntuMono NF&quot;;</string>
</property>
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
@ -90,6 +91,9 @@ background-color: rgb(105, 105, 105);</string>
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
<property name="lineWrapMode">
<enum>QTextEdit::NoWrap</enum>
</property>
<property name="readOnly">
<bool>true</bool>
</property>

View File

@ -20,9 +20,6 @@
<ol>
<li>
<a href="#about-the-project">About The Project</a>
<ul>
<li><a href="#built-with">Built With</a></li>
</ul>
</li>
<li>
<a href="#getting-started">Getting Started</a>
@ -32,49 +29,24 @@
</ul>
</li>
<li><a href="#usage">Usage</a></li>
<li><a href="#roadmap">Roadmap</a></li>
<li><a href="#contributing">Contributing</a></li>
<li><a href="#license">License</a></li>
<li><a href="#contact">Contact</a></li>
<li><a href="#acknowledgments">Acknowledgments</a></li>
<li><a href="#gallery">Gallery</a></li>
</ol>
</details>
<!-- ABOUT THE PROJECT -->
## About The Project
This is my personnal GUI for MediaInfo, based on [MediaInfo.NET]([GitHub - stax76/MediaInfo.NET: MediaInfo.NET is a Windows application that shows media file information](https://github.com/stax76/MediaInfo.NET))
This is my personnal GUI for MediaInfo, based on [MediaInfo.NET](https://github.com/stax76/MediaInfo.NET)
![basic](/home/cuissedemouche/Programmation/mediaInfoSama/screenshots/basic.jpg)
<p align="center"><img src="screenshots/basic.jpg" width="600"></p>
<p align="center">View of the main interface</p><br>
![category](screenshots/category.jpg)
<p align="center">You can select each track to see more details</p><br>
![s](screenshots/search.jpg)
<p align="center">You can search through all the tracks</p>
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- GETTING STARTED -->
## Getting Started
This is an example of how you may give instructions on setting up your project locally.
To get a local copy up and running follow these simple example steps.
### Prerequisites
This is an example of how to list things you need to use the software and how to install them.
- Python 3.7 or later
* Python 3.7 or later
* PySide6
* [MediaInfo](https://github.com/MediaArea/MediaInfo)
* [MediaInfo]([https://github.com/MediaArea/MediaInfo)
### Installation
@ -94,8 +66,18 @@ This is an example of how to list things you need to use the software and how to
<!-- USAGE EXAMPLES -->
## Usage
Just drag and drop a file on the window.
Just drag and drop a file on the window to show the media file informations
<p align="right">(<a href="#readme-top">back to top</a>)</p>
## Gallery
![Advanced track](screenshots/category.jpg)
![Search](screenshots/search.jpg)
<p align="right">(<a href="#readme-top">back to top</a>)</p>

View File

@ -17,6 +17,9 @@ class MainWindow(QWidget, Ui_MainWindow):
self.splitter.setStretchFactor(0, False)
self.splitter.setStretchFactor(1, True)
self.detail_text_edit.setFont("UbuntuMono NF")
self.detail_text_edit.zoomIn(2)
def setupConnections(self):
self.tracks_list_widget.itemSelectionChanged.connect(self.popuplate_content)

View File

@ -25,7 +25,6 @@ class Ui_MainWindow(object):
MainWindow.setObjectName(u"MainWindow")
MainWindow.resize(1214, 888)
MainWindow.setStyleSheet(u"background-color: rgb(42, 42, 42);\n"
"font: 11pt \"UbuntuMono NF\";\n"
"selection-background-color: rgb(105, 105, 105);\n"
"color: rgb(230, 230, 230);")
self.verticalLayout_2 = QVBoxLayout(MainWindow)
@ -47,14 +46,16 @@ class Ui_MainWindow(object):
self.verticalLayout.setContentsMargins(0, 0, 0, 0)
self.search_line_edit = QLineEdit(self.layoutWidget)
self.search_line_edit.setObjectName(u"search_line_edit")
self.search_line_edit.setStyleSheet(u"background-color: rgb(42, 42, 42);")
self.search_line_edit.setStyleSheet(u"background-color: rgb(42, 42, 42);\n"
"font: 11pt \"UbuntuMono NF\";")
self.search_line_edit.setFrame(False)
self.verticalLayout.addWidget(self.search_line_edit)
self.tracks_list_widget = QListWidget(self.layoutWidget)
self.tracks_list_widget.setObjectName(u"tracks_list_widget")
self.tracks_list_widget.setStyleSheet(u"background-color: rgb(42, 42, 42);")
self.tracks_list_widget.setStyleSheet(u"background-color: rgb(42, 42, 42);\n"
"font: 11pt \"UbuntuMono NF\";")
self.tracks_list_widget.setFrameShape(QFrame.NoFrame)
self.verticalLayout.addWidget(self.tracks_list_widget)
@ -64,6 +65,7 @@ class Ui_MainWindow(object):
self.detail_text_edit.setObjectName(u"detail_text_edit")
self.detail_text_edit.setStyleSheet(u"background-color: rgb(42, 42, 42);")
self.detail_text_edit.setFrameShape(QFrame.NoFrame)
self.detail_text_edit.setLineWrapMode(QTextEdit.NoWrap)
self.detail_text_edit.setReadOnly(True)
self.splitter.addWidget(self.detail_text_edit)