Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: why there are special characters ?
Post: RE: why there are special characters ?
(May-02-2022, 07:05 PM)Larz60+ Wrote: Reverted
do you consider yourself as a good person since you like depriving other rights? why do you deprive my right of deleting my own post? hey go ahead ,... |
|
53535 |
GUI |
8 |
2,211 |
May-02-2022, 10:34 PM |
|
|
Thread: why there are special characters ?
Post: RE: why there are special characters ?
(May-02-2022, 09:46 AM)Gribouillis Wrote: (May-02-2022, 09:20 AM)53535 Wrote: sorry. text-edit boxI hope someone understand this explanation.
in the Qt-designer, there is a textedit option |
|
53535 |
GUI |
8 |
2,211 |
May-02-2022, 09:53 AM |
|
|
Thread: why there are special characters ?
Post: RE: why there are special characters ?
(May-02-2022, 09:14 AM)Axel_Erfurt Wrote: How do you display html text in a text editor ?
sorry. text-edit box |
|
53535 |
GUI |
8 |
2,211 |
May-02-2022, 09:20 AM |
|
|
Thread: why there are special characters ?
Post: why there are special characters ?
when i try to display html text in a text editor , it only display partially, a strange character \n appeared in the middle . how to resolve it ? |
|
53535 |
GUI |
8 |
2,211 |
May-02-2022, 08:05 AM |
|
|
Thread: how can i do this
Post: how can i do this
is it possible to switch automatically to the next tab when i clik on any item in the first tab? here is the code
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_MainWindow(object):
de... |
|
53535 |
GUI |
1 |
1,242 |
Apr-30-2022, 03:17 AM |
|
|
Thread: how to add the Qcompleter into a ui-converted script?
Post: RE: how to add the Qcompleter into a ui-converted ...
(Apr-28-2022, 08:43 AM)Axel_Erfurt Wrote: PyQt5 Examples
Completer Example
thank man, i will check them out |
|
53535 |
GUI |
8 |
2,109 |
Apr-28-2022, 11:55 AM |
|
|
Thread: how to add the Qcompleter into a ui-converted script?
Post: RE: how to add the Qcompleter into a ui-converted ...
i posted two times because i assume i posted in a wrong place, and then i looked for a sub-forum. all i see is a gui section . so i posted again, you ask me to split the frame work , that is a very h... |
|
53535 |
GUI |
8 |
2,109 |
Apr-28-2022, 11:54 AM |
|
|
Thread: how to add the Qcompleter into a ui-converted script?
Post: RE: how to add the Qcompleter into a ui-converted ...
the forums that i can see are these
General Coding Help
Data Science
Homework
GUI
Game Development
Networking
Web Scraping & Web Development |
|
53535 |
GUI |
8 |
2,109 |
Apr-28-2022, 07:27 AM |
|
|
Thread: how to add the Qcompleter into a ui-converted script?
Post: RE: how to add the Qcompleter into a ui-converted ...
(Apr-28-2022, 06:55 AM)53535 Wrote: how to add the Qcompleter into a ui-converted script?
from PyQt5 import QtCore, QtGui, QtWidgets
from PyQt5.QtWidgets import QMainWindow, QApplication,QFileDialog... |
|
53535 |
GUI |
8 |
2,109 |
Apr-28-2022, 07:21 AM |
|
|
Thread: how to add the Qcompleter into a ui-converted script?
Post: how to add a Qcompleter into a gui-converted scrip...
from PyQt5 import QtCore, QtGui, QtWidgets
from PyQt5.QtWidgets import QMainWindow, QApplication,QFileDialog,QCompleter,QLineEdit
import sys
class Ui_MainWindow(object):
def setupUi(self, MainWin... |
|
53535 |
GUI |
8 |
2,109 |
Apr-28-2022, 06:58 AM |
|
|
Thread: how to add the Qcompleter into a ui-converted script?
Post: how to add the Qcompleter into a ui-converted scri...
how to add the Qcompleter into a ui-converted script?
from PyQt5 import QtCore, QtGui, QtWidgets
from PyQt5.QtWidgets import QMainWindow, QApplication,QFileDialog,QCompleter,QLineEdit
import sys
clas... |
|
53535 |
GUI |
8 |
2,109 |
Apr-28-2022, 06:55 AM |
|
|
Thread: how to add the Qcompleter into a ui-converted script?
Post: how to add the Qcompleter into a ui-converted scri...
from PyQt5 import QtCore, QtGui, QtWidgets
from PyQt5.QtWidgets import QMainWindow, QApplication,QFileDialog,QCompleter,QLineEdit
import sys
class Ui_MainWindow(object):
def setupUi(self, MainWi... |
|
53535 |
GUI |
8 |
2,109 |
Apr-28-2022, 06:53 AM |
|
|
Thread: what is wrong with my code?
Post: RE: what is wrong with my code?
(Apr-27-2022, 08:53 PM)Axel_Erfurt Wrote: (Apr-27-2022, 12:31 AM)53535 Wrote: i made a ui , and converted it into code and add two lines
Why creating an ui? The QtDesigner generates code that you ... |
|
53535 |
GUI |
11 |
3,520 |
Apr-28-2022, 01:52 AM |
|
|
Thread: something is wrong with my code
Post: RE: something is wrong with my code
(Apr-27-2022, 09:42 AM)ibreeden Wrote: It is a pity the console output does not give more information.
But what happens if you change:
self.fname3 = '"' + fname2 + '"'... to:
self.fname3 = fname2
t... |
|
53535 |
GUI |
9 |
2,301 |
Apr-27-2022, 10:06 AM |
|
|
Thread: something is wrong with my code
Post: RE: something is wrong with my code
(Apr-27-2022, 07:52 AM)ibreeden Wrote: (Apr-27-2022, 05:55 AM)53535 Wrote: self.fname3 = '"' + fname2 + '"'Why are you adding the quotes?
When you provide the name of the database file in the prog... |
|
53535 |
GUI |
9 |
2,301 |
Apr-27-2022, 09:07 AM |
|
|
Thread: something is wrong with my code
Post: RE: something is wrong with my code
(Apr-27-2022, 05:50 AM)ndc85430 Wrote: What is the problem exactly? What is happening? Saying something "doesn't work" isn't helpful. What does "doesn't work" actually mean for this problem? Tell us... |
|
53535 |
GUI |
9 |
2,301 |
Apr-27-2022, 05:55 AM |
|
|
Thread: something is wrong with my code
Post: RE: something is wrong with my code
(Apr-27-2022, 05:07 AM)deanhystad Wrote: Provide a better description of the problem. Is there an error codes or trace? When does it crash?
accutally it doesnt crash, it is just that the return v... |
|
53535 |
GUI |
9 |
2,301 |
Apr-27-2022, 05:42 AM |
|
|
Thread: something is wrong with my code
Post: something is wrong with my code
i made a ui , and converted it into code and add two lines , it worked untill i want to use a variable , see the code below :
from PyQt5 import QtCore, QtGui, QtWidgets
from PyQt5.QtWidgets import QMa... |
|
53535 |
GUI |
9 |
2,301 |
Apr-27-2022, 04:44 AM |
|
|
Thread: what is wrong with my code?
Post: RE: what is wrong with my code?
(Apr-27-2022, 03:14 AM)deanhystad Wrote: Ui_MainWindow is a window in name only. It is not a subclass of QWidget or QMainWindow.
MainWindow is can be the parent for your file dialog. You could ... |
|
53535 |
GUI |
11 |
3,520 |
Apr-27-2022, 03:58 AM |
|
|
Thread: what is wrong with my code?
Post: RE: what is wrong with my code?
(Apr-26-2022, 05:12 PM)deanhystad Wrote: It looks like "get_file_name()" is a method of a QWidget or QMainWindow subclass, not a standalone function. I think it was meant to be used like this:
clas... |
|
53535 |
GUI |
11 |
3,520 |
Apr-27-2022, 12:37 AM |