Commit Graph
36 Commits
Author SHA1 Message Date
Theron Tock 05e9a1e215 Made keyword add/remove buttons the same size.
Fixes #2547.
2011-06-30 11:35:40 -07:00
Theron Tock d7ee7ebabb Adding new icons for dynamic groups.
Fixes #2544 partially.
2011-06-29 15:03:58 -07:00
Theron Tock cad71437f3 Make sure user folders are added properly. Also deal with case of an
object that has a folder attribute that doesn't exist in the parent's
subfolders list (shouldn't ever happen, but in case it does it no longer
crashes).  Also make sure that subfolders don't have commas in them.

Fixes #2539.
2011-06-29 14:50:07 -07:00
Theron Tock 2ee4869fac Catch exception inside preprocessor loop so that loop continues after
error (for unit tests).  Also make sure to set ".loaded" variable before
calling loadFromSource so that if an exception happens we won't try to
load it again later.

Fixes #2542.
2011-06-29 14:28:33 -07:00
Theron Tock 57de77b341 On mac we can get a drop event even if dragMoveEvent() says the drop is
invalid.  So we validate the drop the same we validate in dragMove to
make sure we don't crash on an invalid drop.

Fixes #2540.
2011-06-29 12:58:55 -07:00
Theron Tock 6a80bb8018 Removed dependency on fwtransfer that no longer exists. 2011-06-29 11:09:45 -07:00
Theron Tock 872fd64cb6 Various places in the code had logic for what directory to display in
QFileDialog.  There is now a single function to call,
FWBSettings::getOpenFileDir() that will compute what directory to start
in.

Cleaned out some code using QFileDialog that is never used (execDialog
and file button in CommentEditor).

Fixes #2517
2011-06-27 16:51:21 -07:00
Theron Tock 69364a4ee9 Display little folder icon next to "add subfolder". I don't see these
icons on linux so hopefully this comes out looking right.  :-)

Fixes #2528.
2011-06-27 14:48:03 -07:00
Theron Tock a82219e002 Recent changes. 2011-06-27 14:34:14 -07:00
Theron Tock 64a8a7a9e2 Don't allow user to create duplicate subfolders. 2011-06-27 14:22:52 -07:00
Theron Tock 780ae6b0af Don't open editor for system folder after adding/deleting user folder.
Fixes #2530
2011-06-27 13:32:40 -07:00
Theron Tock 58f7142e4a Make it clear that cmp and shallowDuplicate are virtual.
Fixes #2535
2011-06-27 13:21:10 -07:00
Theron Tock 4621f42319 Fix crash I introduced with undo/redo of user folders.
Fixes #2529
2011-06-27 12:22:35 -07:00
Theron Tock cac508c0e5 Fix for #2522. 2011-06-23 17:02:51 -07:00
Theron Tock 240d4b5642 Merge branch 'development' of ssh://ncgit/var/git/fwbuilder into development 2011-06-23 16:41:50 -07:00
Theron Tock 8c19f9f873 Make user-defined folders deletable even when they have something inside
of them.  Also make all user-defined folder operations support
undo/redo.
2011-06-23 16:40:05 -07:00
Theron Tock 4fe02aa328 Removed 'clear' button next to filter combobox.
Changed filter combobox into a lineedit that has an embedded 'clear' button.
2011-06-16 18:28:10 -07:00
Theron Tock d57e13002b Fixed a pet peeve of mine: clicking "Do not show this again" on
first-time dialog no longer immediately closes the dialog (very
unexpected behavior to me).
2011-06-16 16:46:52 -07:00
Theron Tock 6dedc26452 Make sure we reload the filter criteria if the set of keywords changes.
Fixes #2504.
2011-06-16 15:59:14 -07:00
Theron Tock ec794ef430 Make keyword matching case insensitive, like it is for names.
Fixes #2503.
2011-06-16 15:49:36 -07:00
Theron Tock 54f6bae48f Added support for user-defined folders. It's just a ui/display thing.
The FWObject has a property "folder" that controls which sub-folder to
display in.  The placement of the object in the tree doesn't change even
when placed into a user-defined folder.  Turned on drag/drop in the
object tree so that objects can be moved into these new folders
(however, disabled dragging of system folders).
2011-06-16 14:49:06 -07:00
Theron Tock aacc4016cd Removed help button from UI. Fixes #2495. 2011-06-13 14:29:31 -07:00
Theron Tock 73042fb3c7 Added missing files (and modified .gitignore so it won't happen again). 2011-06-10 14:18:38 -07:00
Theron Tock 12ad3fefcf Merge branch 'development' of ssh://ncgit/var/git/fwbuilder into development 2011-06-10 00:58:33 -07:00
Theron Tock dac6b04d4d Manually merged keyword management/filtering code from fortress.
All dialogs modified to include custom keyword/comment widget.

Also added first cut at 'dynamic group' implementation.
2011-06-10 00:56:33 -07:00
Theron Tock b6f2d7d921 Merge branch 'development' of ssh://ncgit/var/git/fwbuilder into development
Conflicts:
	src/libfwbuilder/src/fwbuilder/fwbuilder.pro
2011-05-25 15:05:56 -07:00
Theron Tock 52c0bce5d2 Remove ^Ms from file 2011-05-25 15:01:22 -07:00
Theron Tock 36866a6002 Merge branch 'development' of ssh://ncgit/var/git/fwbuilder into development 2011-05-11 14:05:53 -07:00
Theron Tock 216dd1a2fb Make sure DEPENDPATH has same stuff as INCLUDEPATH, otherwise when files
change in other directories the dependent files don't get recompiled.

Fixed up INCLUDEPATH in various places.

Removed -pthread as an INCLUDEPATH (leads to bogus -I-pthread).
2011-05-11 14:05:18 -07:00
Theron Tock 4880424bf3 Fixes #2387.
Check for null object in debug message so it doesn't cause crash.
2011-05-05 17:02:15 -07:00
Theron Tock 71f5faab3d Fixes #2379.
It seems Qt gives wrong value for "visible" arg in visibilityChanged on Mac.
So we use the isVisible() function instead.
2011-05-04 16:09:56 -07:00
Theron Tock 75ea45a36b Fixes #2374.
Set the dock width to 0 if objectView is floated or hidden.
2011-05-02 15:45:46 -07:00
Theron Tock 655fc9356f Fixes #2182.
Convert use of sprintf to snprintf (hopefully in a way that also works
on windows).
2011-04-28 16:58:22 -07:00
Theron Tock 78c585de62 Fixes #2121.
Got rid of a bunch of #includes that don't seem to be necessary,
including a messy conditional one for <streambuf>
2011-04-28 15:52:18 -07:00
Theron Tock 546279ab1a Fixes #1557.
Make "Object" text left-justified in tree view.  Also put a 120 pixel
min width on tree view and make it non-collapsible so that the user
can't accidently hide the tree view entirely.
2011-04-28 11:05:11 -07:00
Theron Tock 28a7eeb014 Fixes #2360 (modifies fix for #2219). Just make sure the object
is visible, but not necessarily centered.  Otherwise with a wide
tab for "Object" (but only some of the tab is visible) the text
might not be visible at all.
2011-04-28 11:02:28 -07:00