Elided filepaths do not have tooltips
Posted: Mon Jan 26, 2015 7:07 pm
I often have filepaths that are fairly deep and become elided ("[Drive]:\[Path]\[Path]...\[Path]\filename.ext"). Unfortunately, this means that I can't see the full path to the file. In most software, a tooltip will popup displaying the full path and filename. This should be a relatively easy add when populating the menu list:
Code: Select all
QString filepath = /*something*/;
QAction menuAct = /*something*/;
menuAct->setText(filepath);
menuAct->setToolTip(filepath);