Search found 257 matches

by seasoned_geek
Thu Mar 03 2022 1:44 pm
Forum: Issues
Topic: QFileDialogOptions Documentation bug
Replies: 1
Views: 4574

QFileDialogOptions Documentation bug

In the Diamond editor code one has // force windows 7 and 8 to honor initial path options = QFileDialog::ForceInitialDir_Win7; In the documentation https://www.copperspice.com/docs/cs_api/class_qfiledialog.html#a7a4555ae5a8887203dfbe3c061b44f77 There is no mention of this option. It compiles just fi...
by seasoned_geek
Wed Mar 02 2022 5:00 pm
Forum: Issues
Topic: QDialogButtonBox documentation bug
Replies: 1
Views: 4967

QDialogButtonBox documentation bug

https://www.copperspice.com/docs/cs_api/class_qdialogbuttonbox.html Says this is a Public method. QDialogButtonBox (StandardButtons buttons, Qt::Orientation orientation=Qt::Horizontal, QWidget *parent=nullptr) It should only require buttons and return a horizontal non-parented QDialogButtonBox. When...
by seasoned_geek
Tue Mar 01 2022 6:59 pm
Forum: Issues
Topic: QBoxLayout documentation bug
Replies: 1
Views: 4318

QBoxLayout documentation bug

https://www.copperspice.com/docs/cs_api/class_qboxlayout.html#a3659a646d45ba10a55b83c4368a599b1 ===== void QBoxLayout::addSpacing ( int size ) Adds a non-stretchable space with the given size to the end of the current QBoxLayout. This method adds additional space beyond the default margin and spacin...
by seasoned_geek
Tue Feb 22 2022 4:41 pm
Forum: Developers
Topic: QSqlQuery::prepare() sqlite will not work with strings
Replies: 3
Views: 3358

Re: QSqlQuery::prepare() sqlite will not work with strings

While it is being fixed, please be certain strings like this: '!home!roland!tnas!a.txt.b00000' can successfully be prepared. One is quite hosed when trying to use something like '%2' and QStringParser::formatArg(). SQLite does support using double quotes, but it violates the SQL "standard."...
by seasoned_geek
Tue Feb 22 2022 10:44 am
Forum: Issues
Topic: QSplitter indexOf() documentation bug
Replies: 1
Views: 4550

QSplitter indexOf() documentation bug

All, https://www.copperspice.com/docs/cs_api/class_qsplitter.html#af5098f12ce71992b9f31c175a3492ff2 Returns the index in the splitter's layout of the specified widget. This also works for handles. Handles are numbered starting from 0. There are as many handles as there are child widgets, but the han...
by seasoned_geek
Tue Feb 08 2022 10:50 am
Forum: Developers
Topic: QSqlQuery::prepare() sqlite will not work with strings
Replies: 3
Views: 3358

QSqlQuery::prepare() sqlite will not work with strings

I haven't ferreted out a stand alone example, but QSqlQuery query( db ); query.exec( cmd ); // yes, you should check for error cmd = "create table THEME_COLORS (" "THEME_NAME TEXT NOT NULL," "STYLE_NO INT DEFAULT 0," "FONT_NAME TEXT DEFAULT ''," "POINT_SI...
by seasoned_geek
Mon Feb 07 2022 10:41 pm
Forum: Developers
Topic: Detach QTabWidget tab
Replies: 2
Views: 3151

Re: Detach QTabWidget tab

I didn't burn any time going down that path because it won't work properly. The dock widget concept is that you undock something, drag it somewhere, and it exists in its undocked state. Detachable tab gets dropped to a desktop, the desktop looks for an application, launches new application instance....
by seasoned_geek
Mon Jan 31 2022 7:21 pm
Forum: Developers
Topic: QSettings documentation bug
Replies: 0
Views: 4709

QSettings documentation bug

Constructs a QSettings object to access the settings stored in the file called fileName, with parent parent. If the file does not already exist it is created. If format is QSettings::NativeFormat the meaning of fileName depends on the platform. On Unix, fileName is the name of an INI file. On OS X,...
by seasoned_geek
Sun Jan 30 2022 9:47 pm
Forum: Developers
Topic: Detach QTabWidget tab
Replies: 2
Views: 3151

Detach QTabWidget tab

All, I don't know if this is "on the list" or if I'm just blind looking through the documentation. I would like to be able to detach a tab in a tab widget, not just slide it around inside of the window. If you install and try Featherpad you can see what I mean. Open N text files. Drag one ...
by seasoned_geek
Sat Nov 20 2021 2:45 pm
Forum: Developers
Topic: QRegularExpressionmatch documentation bug
Replies: 4
Views: 3899

Re: QRegularExpressionmatch documentation bug

https://www.copperspice.com/docs/cs_api/class_qregularexpressionmatch.html#aac85caf16f5fa718565f09d336d33bf2

S QRegularExpressionMatch< S >::captured ( int index = 0 ) const